Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when trying to build openkai on TX2 #39

Open
Alex1101a opened this issue Jun 4, 2019 · 0 comments
Open

Error when trying to build openkai on TX2 #39

Alex1101a opened this issue Jun 4, 2019 · 0 comments

Comments

@Alex1101a
Copy link

Alex1101a commented Jun 4, 2019

hi everyone,

i'm trying to test the functions that are mentioned in this "tutorial": https://discuss.ardupilot.org/t/ardupilot-openkai-zed-for-non-gps-navigation/16308 .

i have a Nvidia Jetson TX2 with Jetpack 4.1 flashed and tried to follow the recommended installation guide here: http://docs.openkai.xyz/tegrabuild.html#optional-install-zed-driver , i know that some of the programs are outdated, but i tried my best to follow the instructions and to get the actual versions of the programs. At the last step, when i want to install OpenKai there is a error message:

nvidia@nvidia-desktop:~/Downloads/OpenKAI/build$ make all -j3 [ 2%] Building CXX object CMakeFiles/OpenKAI.dir/src/Arithmetic/PolyFit.cpp.o [ 2%] Building CXX object CMakeFiles/OpenKAI.dir/src/main.cpp.o [ 2%] Building CXX object CMakeFiles/OpenKAI.dir/src/Autopilot/ActionBase.cpp.o In file included from /home/nvidia/Downloads/OpenKAI/src/Startup/../Config/Module.h:49:0, from /home/nvidia/Downloads/OpenKAI/src/Startup/Startup.h:12, from /home/nvidia/Downloads/OpenKAI/src/main.h:11, from /home/nvidia/Downloads/OpenKAI/src/main.cpp:1: /home/nvidia/Downloads/OpenKAI/src/Startup/../Config/../SLAM/_ORB_SLAM2.h:16:10: fatal **error: System.h: No such file or directory #include <System.h>** ^~~~~~~~~~ compilation terminated. CMakeFiles/OpenKAI.dir/build.make:62: recipe for target 'CMakeFiles/OpenKAI.dir/src/main.cpp.o' failed make[2]: *** [CMakeFiles/OpenKAI.dir/src/main.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /home/nvidia/Downloads/OpenKAI/src/Arithmetic/PolyFit.cpp:99:1: fatal error: opening dependency file CMakeFiles/OpenKAI.dir/src/Arithmetic/PolyFit.cpp.d: Permission denied } ^ compilation terminated. CMakeFiles/OpenKAI.dir/build.make:134: recipe for target 'CMakeFiles/OpenKAI.dir/src/Arithmetic/PolyFit.cpp.o' failed make[2]: *** [CMakeFiles/OpenKAI.dir/src/Arithmetic/PolyFit.cpp.o] Error 1 /home/nvidia/Downloads/OpenKAI/src/Autopilot/ActionBase.cpp:96:1: fatal error: opening dependency file CMakeFiles/OpenKAI.dir/src/Autopilot/ActionBase.cpp.d: Permission denied } ^ compilation terminated. CMakeFiles/OpenKAI.dir/build.make:158: recipe for target 'CMakeFiles/OpenKAI.dir/src/Autopilot/ActionBase.cpp.o' failed make[2]: *** [CMakeFiles/OpenKAI.dir/src/Autopilot/ActionBase.cpp.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/OpenKAI.dir/all' failed make[1]: *** [CMakeFiles/OpenKAI.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

i'm a total beginner and not really sure how to solve this problem, i didn't find related problems as well... and also when i try to do ccmake ../ there is no ZED Camera mentioned as in other Tutorials related to the OpenKai settings.
Or maybe it's not even necessary to install all the programs that are mentioned in the listed tutorial?

i would be very thankful if somebody has a suggestion or could help me with this problem :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant