Skip to content

Error when trying to build openkai on TX2 #39

@Alex1101a

Description

@Alex1101a

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions