IEEERobotics / bot

Robot code for 2014.
BSD 2-Clause "Simplified" License
17 stars 10 forks source link

Need to update gcc version on all BeagleBones. #433

Open AhmedSamara opened 8 years ago

AhmedSamara commented 8 years ago

Currently when trying to install QRCodeStateEstimation on the BegaleBone, we get this error:

root@bot:~/QRCodeStateEstimation# make
[ 25%] Building CXX object src/library/CMakeFiles/QRCodeStateEstimation.dir/SOMScopeGuard.cpp.o
cc1plus: error: unrecognized command line option ‘-std=c++11’
make[2]: *** [src/library/CMakeFiles/QRCodeStateEstimation.dir/SOMScopeGuard.cpp.o] Error 1
make[1]: *** [src/library/CMakeFiles/QRCodeStateEstimation.dir/all] Error 2
make: *** [all] Error 2

Which according to this issue, seems to be connected to using an old version of gcc (not 4.8). A simple apt-get update/upgrade isn't solving the issue, so we need another way to solve this.