I just acquired a pebble board and got a few examples in
Aiko/examples/pebble
to work.
However, I have had less luck with
Aiko/examples/ examples, like aiko_device_potentiometer.pde
When I build it, with arduino 0022, build fails with:
In file included from
/usr/share/arduino/hardware/arduino/cores/arduino/WProgram.h:6,
from aiko_device_potentiometer.cpp:4:
/usr/lib/gcc/avr/4.3.5/../../../avr/include/math.h:426: error: expected
unqualified-id before 'double'
/usr/lib/gcc/avr/4.3.5/../../../avr/include/math.h:426: error: expected `)'
before 'double'
/usr/lib/gcc/avr/4.3.5/../../../avr/include/math.h:426: error: expected `)'
before 'double'
Oh, I narrowed it down to
#include <AikoDevices.h>
That include creates the problem.
I traced it down to
AikoDevices.h where I commented out wiring.h and things seem to work.
(hardware/arduino/cores/arduino/wiring.h seems to be used from elsewhere though
because if I empty the file, the compile fails differently).
I think I'm ok, but I thought I'd ask if anyone knows why the original
code doesn't work for me as is.
Thanks,
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/
Just curious: am I the only one with this problem?
If not, is it possible to get the fix in the upstream repo?
On 2011-02-14 05:03 , Marc MERLIN wrote:
> When I build it, with arduino 0022, build fails with:
>> Oh, I narrowed it down to #include <AikoDevices.h>
>>
>> If not, is it possible to get the fix in the upstream repo?
I'll deal with this ... along with the requests from your previous email.
--
-O- cheers = /\ /\/ /) `/ =
--O -- http://www.geekscape.org --
OOO -- an...@geekscape.org -- http://twitter.com/geekscape --