Hi all,
I am an absolute beginner when it comes to Linux. I just installed VirtualBox in order to run Ubuntu 14.04 and it seems to be working fine.
I then followed the steps for building SITL according to the documentation and referenced this video tutorial as well. The last step I successfully completed was inputting . ~/.bashrc
. When I try executing the next command inside the arducopter directory, sim_vehicle.py -w
, I get a long error message and I think this is the most relevant part:
[331/688] Compiling arducopter/arducopter.cpp
cc1plus: error: unrecognized command line option '-std=gnu++11'
compilation terminated due to -Wfatal-errors.
According to the YouTube tutorial I linked above, that [331/688] should continue increasing in value until complete, resulting in a successful build. Again, I am an absolute beginner in Linux and I am hoping there is a simple fix for this that I am overlooking due to inexperience. Any help is greatly appreciated.
Please let me know what other information I should provide.
Cheers.