I cloned the astra source code and tried to compile it. I previously downloaded and installed required deps. However, when executing cmake i get the error pasted below. Any suggestion?
Thanks
cesc@cesc-1000H:~/astra/build$ cmake …
flags -Wall -fPIC -std=c++11
CMake Error at vendor/CMakeLists.txt:1 (add_subdirectory):
The source directory
/home/cesc/astra/vendor/shinyprofiler
does not contain a CMakeLists.txt file.
– Found Astra includes in /home/cesc/astra/include
– Found Astra lib dir:
– Found Astra libraries: Astra;AstraAPI;AstraUL
– Found Astra TOML:
– Found Astra plugins:
– Found Astra plugin TOML:
Setting rpath to $ORIGIN/…/lib
– Found SFML … in /usr/include
– Found SFML … in /usr/include
– Found SFML … in /usr/include
– Found SFML … in /usr/include
– Found SFML … in /usr/include
– Found SFML … in /usr/include
CMAKE_INSTALL_PREFIX : /home/cesc/astra/build/sdk
CMAKE_SYSTEM_NAME: Linux
– Configuring incomplete, errors occurred!
See also “/home/cesc/astra/build/CMakeFiles/CMakeOutput.log”.
See also “/home/cesc/astra/build/CMakeFiles/CMakeError.log”.
How i can remove the shinyprofile from the build?
Looks like there are some deps in the source
#include <Shiny.h>
As you mentioned the git command fails due to perm errors. Where i should change the HTTP you specified in the previous email?
Thanks!
Encountering this cmake error:
CMake Error at src/plugins/openni_sensor/CMakeLists.txt:50 (include_directories):
include_directories given empty-string as include directory.
Ubuntu 14.04
Cloned the repository
Checkout developer branch
ran this command: git submodule update --init --recursive
created a build directory
from the build directory, ran command cmake …
which generated the above error. I’ve looked around and not found a fix for this issue. Trying to build the astra sdk.
include_directories ("$ENV{OPENNI2_INCLUDE}")
And this means you haven’t defined the OPENNI2_INCLUDE environment variable. For example:
Pointing to your own installation directories of course.
Thank you for the quick response. The environment variables are set and I am still getting the same error.
astra_cmake_error.png728×602 84.5 KB
HI, josh
I am facing a similar problem:
cp: cannot stat ‘/usr/local/lib/ni2.3-dev/*’: No such file or directory
Makefile:25: recipe for target ‘copy-redist’ failed
I am not sure what sourcing the OpenNIDevEnvironment did or did not but how should i define the above export path in which .bash_profile.
Please explain.
I keep getting the error:
Makefile:14: *** OPENNI2_INCLUDE is not defined. Please define it or ‘source’ the OpenNIDevEnvironment file from the installation. Stop.
I guess running $source OpenNIDevEnvironment does nothing.
What to do?
Hello Josh,
I’m using Astra SDK for Astra Pro. and using Ubuntu14.04. when trying to compile a .cpp file I’m getting this error.
fatal error: astra/astra.hpp: No such file or directory #include <astra/astra.hpp>
compilation terminated.