-
Notifications
You must be signed in to change notification settings - Fork 252
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
make error #11
Comments
Hello, Which version of ubuntu, and gazebo do you have ? |
I use ubuntu 16.04 and gazebo 9.6.0. And I build the develop environment ,according to "http://gazebosim.org/tutorials?tut=install_ubuntu" where I found in your repositories "ardupilot_gazebo/README.md/Usage"。 @khancyr Thanks for your reply! |
I don't see error on my side. Could you update everything with sudo apt update && sudo apt upgrade ? |
This my ubuntu system message: yxq@ubuntu: After git clone your "ardupilot_gazebo" code, I did "cmake": Next,I did "make",the error is : |
I have update everything with" sudo apt update" and "sudo apt upgrade", restart virtual machine. I did "cmake" and "make", the message is same as my previous reply . |
@yuxiqun Please do a boost upgrade to the latest version. Ubuntu 16.04 stock version is 1.58, which is apparently too old for ardupilot_gazebo plugin. |
@SteveJos I have upgarde ubuntu from 16.04 LTS to 18.04 LTS, gazebo is still 9.6.0, and "the make error" is solved! Thanks! |
I need to run a ROS version which is only available under 16.04 so upgrading to 18.04 is not an option. After running make -j4 I get this output: frank@ubuntu:~/ardupilot_gazebo/build$ make -j4 After a lot of digging I found this issue ethereum/solidity#4124 The problem seems to be the Boost Version, no idea how to fix it but as a workaround I modified the following file /usr/include/sdformat-6.2/sdf/Param.hh in line 300 as follows. 299 #if BOOST_VERSION < 105800 After this change I was able to run make using Ubuntu 16.04 and gazebo 9.6.0! Best or lucks I recommend returning the file to its original code after compiling and installing. |
@r0ch1n 's changes worked for me as well. Thanks :) |
I got the same error and solved by changing <uint16_t> to <uint32_t> I've got no side effect so far. |
When I according to "
git clone https://github.com/khancyr/ardupilot_gazebo
cd ardupilot_gazebo
mkdir build
cd build
cmake ..
make -j4
sudo make install",
all is right in orders but when it come to 'make -j4', the error is
Why? Thank you!
The text was updated successfully, but these errors were encountered: