Gathiyo / arducopter

Automatically exported from code.google.com/p/arducopter
0 stars 0 forks source link

arduino 0023 compiler error on arducopter 2.7 #454

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi

i'm getting this error when compiling the arducopter FW 2.7

.. AP_Baro.cpp: In member function 'float AP_Baro::get_altitude()':
.. AP_Baro.cpp:91: error: 'log' was not declared in this scope

i dont know if this error also comes with FW 2.6

but with FW 2.5 compiling is without errors, and everthing goes fine.

i wants to edit the UserCode.pde for my own code.
and want to the newer Arducopter Firmware.
would be great if someone could help me.

i dont have the option to use windoze to try the "arduino-0100-relax-windows"

thx a lot 
mamaretti

Original issue reported on code.google.com by mamarett...@gmail.com on 28 Jul 2012 at 6:36

GoogleCodeExporter commented 8 years ago
Did you set your sketchbook to the right place, then quit  and restart Arduino?

Original comment by jasonshort on 28 Jul 2012 at 6:54

GoogleCodeExporter commented 8 years ago
hi Jason

yes i did. Same error

if i switch back to the 2.5 sketchbook (prefrences) erverthing work fine.
but not in 2.7

Original comment by mamarett...@gmail.com on 28 Jul 2012 at 7:15

GoogleCodeExporter commented 8 years ago
cant use    arduino 0023 OSX  with arducopter 2.7.1 
cause it includes ino files.

please please please help 

Original comment by mamarett...@gmail.com on 2 Aug 2012 at 8:32

GoogleCodeExporter commented 8 years ago
is working again with the original arduino 1.0.1 (withou relax-patch)
http://arduino.cc/en/Main/Software

Original comment by mamarett...@gmail.com on 3 Aug 2012 at 3:16

GoogleCodeExporter commented 8 years ago
Yes, the standard Arduino 1.0.1 works now (it includes the relax-patch) so 
upgrading to that is the right thing to do.  There's some features of the new 
arduino that we're taking advantage of so this is probably the cause of your 
problems.
I'm going to close this issue, thanks for your efforts.

Original comment by rmackay...@gmail.com on 16 Aug 2012 at 4:08