Quantcast
Channel: Emlid Community Forum - Latest topics
Viewing all articles
Browse latest Browse all 12783

Error while building APM on Navio+ from sources

$
0
0

@Hodei_Abrego wrote:

Hi everybody,

So, a few days ago, for no apparent reason, the sd where I had the raspbian image emlid-raspberrypi2-raspbian-rt-20150401.img, which also had Arducopter installed and working, had a malfunction, and I had to reflash it and install everything again. But when I was going to install the APM again via the sudo apt-get install apm-navio, it told me that the package could not be found, so I tried to do it via building it from sources. After a few tweaks, I could finally download the repository, but when i tried to run the make command, this pops up:
cc1plus: error: unrecognized command line option '-std=gnu++11'
compilation terminated due to -Wfatal-errors.
../mk/build_rules.mk:11: recipe for target '/tmp/ArduCopter.build/Parameters.o' failed
make: *** [/tmp/ArduCopter.build/Parameters.o] Error 1
I double checked but my g++ is on its latest version, and it still pops the same error message, so my question is:
What am I doing wrong?

PS: My board is a Raspberry Pi B+, and when I try to download the other image on the docs, the green led tells me that the kernel can not be read

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 12783

Trending Articles