-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Gazebo Drone 'make' command fails #3874
Comments
Sorry I’m not an expert with the GazeboDrone setup. But I did just follow the GazeboDrone readme myself on Ubuntu, building AirSim with gcc and g++ allows the GazeboDrone build to succeed:
and this works:
Usually an undefined reference to something like this So when you build AirSim make sure the build.sh outputs something like this indicating cmake is really choosing to use gcc and g++.
You may need to completely remove |
Removing the build_release folder resolved the issue. Thank you! |
Specs: Context: Problem: Error log: |
Question
What's your question?
When following the readme for running the GazeboDrone project, I receive an error following the 'make' command that 'recipe for target all' fails. Am I missing a dependency or path with the cmake?
Include context on what you are trying to achieve
I am trying to run gazeboDrone after having installed Gazebo and AirSim Blocks binary.
Context details
Ubuntu 18.04, newest version of Airsim, Blocks Binary, UE4.25.4
g++ --version (Ubuntu 8.4.0-1ubuntu1~18.04) 8.4.0
make --version, GNU Make 4.1, Built for x86_64-pc-linux-gnu
clang --version 6.0.0-1ubuntu2 (tags/RELEASE_600/final), Target: x86_64-pc-linux-gnu
I have modified the setting.json file to include External Physics Engine, and I have changed the .build.sh file to be gcc and g++, then compiled that successfully.
My full error message is quite long, but this is the beginning and end:
summer-dev@summerdev-desktop:~/repos/airsim/GazeboDrone/build$ make
/home/summer-dev/repos/airsim/external/rpclib/rpclib-2.3.0/dependencies/src/format.cc:1330: undefined reference to `std::__1::basic_ostream<char, std::__1::char_traits >::write(char const*, long)'
collect2: error: ld returned 1 exit status
CMakeFiles/GazeboDrone.dir/build.make:214: recipe for target 'GazeboDrone' failed
make[2]: *** [GazeboDrone] Error 1
CMakeFiles/Makefile2:82: recipe for target 'CMakeFiles/GazeboDrone.dir/all' failed
make[1]: *** [CMakeFiles/GazeboDrone.dir/all] Error 2
Makefile:90: recipe for target 'all' failed
make: *** [all] Error 2
``
Include details of what you already did to find answers
Rebuilt and recompiled a few times, deleting the build folder, checking the cmake version.
The text was updated successfully, but these errors were encountered: