I Can't Compile ACM 2.0 Beta

Hi,

 

I am having some trouble getting the code to compile.

I downloaded the ACM 2.0 Beta, then dropped the libraries off in Arduino-->libraries folder. I then opened, and added: #define MAG_ORIENTATION AP_COMPASS_COMPONENTS_DOWN_PINS_FORWARD to the APM_Config.h file in the Arduino IDE. Then I tried to compile the code, and it would not compile.

 

I have the error message in the picture attached. I think that I have not listed also the neccary defines, if this is the case where can I go to see all the options that I should have to put in APM_Config.h file?

 

Thanks

ACM compile error.png

APM_Config.h

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • I did manage to get it to compile, but I had to change the sketchbook location from the Arduino folder to the folder with ACM 2.0 in it. Strangly, ArduCopterMega was in the Arduino folder already,  but it did not seem able to find it.

     

    Thanks for the help.

  • Can you compile without the change in APM config?

    If not, something is wrong were you have put the APM libs

This reply was deleted.

Activity