-
-
Notifications
You must be signed in to change notification settings - Fork 510
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 during make default #226
Comments
Hi @Deanatius , did you build on latest develop ?
This is mostly due to improper submodule update. Can you please double-check if you missed steps from building library section as summarized below:
I recommend to follow these steps and let us know. |
Yes I am building on the latest develop. I am following the steps and there are no error messages popping up during the submodule update.
I tried to build on my PC and everything works out well but the same error persists on my TX1. |
@Deanatius for "native" installation (I guess the Jetson counts as native), you need to have libtinyxml2 installed.
To see all dependencies, you can also check the Dockerfile, or check the docs (it's only mentioned in the developer branch). |
This did the trick! Sorry for my incompetence as I am a complete beginner in developing with Ubuntu and also with UAVs. |
@Deanatius no worries! Thanks for the feedback. |
Hello, I have issues when trying to install DroneCore on my Jetson TX1. After doing the previous steps, I proceeded to make default and it start normally.
However, when it reaches 'Linking CXX shared library libdronecore.so' this error occurs.
/usr/bin/ld: cannot find -ltinyxml2
collect2: error: ld returned 1 exit status
CMakeFiles/dronecore.dir/build.make:1056: recipe for target 'libdronecore.so' failed
make[3]: *** [libdronecore.so] Error 1
CMakeFiles/Makefile2:179: recipe for target 'CMakeFiles/dronecore.dir/all' failed
make[2]: *** [CMakeFiles/dronecore.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make[1]: *** [all] Error 2
Makefile:71: recipe for target 'default' failed
make: *** [default] Error 2
I am not sure what causes the error as I have followed the steps carefully. I have checked the DroneCore/libs directory and the tinyxml2 folder does exist.
The text was updated successfully, but these errors were encountered: