Roman, I reversed the Firmata replacement and still have the same problem. Other examples will compile but not the ones from Firmata. I even tried to compile the original Firmata examples and It didn't work neither. What might be happening? Sorry if I'm missing something fundamental, but I'm really following Floss tutorial instructions.
On Tue, Sep 18, 2012 at 6:01 PM, Alejandro D. Somoza cacosomoza@gmail.comwrote:
Hi there! I'm trying to install pduinof following Floss tutorial ( http://en.flossmanuals.net/pure-data/sensors/starting-pduino/). I succeeded in getting arduino objects to work in Pure Data, but I'm experiencing some issues uploading the firmware to the arduino board. In the arduino app content, I replaced the Firmata folder with the one from Pduino. After ards, I try to compile and verify "SimpleAnalogFirmata" or "StandardFirmata", but all I get is this bunch of error messages like these:
In file included from StandardFirmata.cpp:18: /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:80: error: typedef 'callbackFunction' is initialized (use __typeof__ instead) /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:80: error: 'byte' was not declared in this scope /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:80: error: expected primary-expression before 'int' /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:83: error: typedef 'sysexCallbackFunction' is initialized (use __typeof__ instead) /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:83: error: 'byte' was not declared in this scope /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:83: error: 'byte' was not declared in this scope /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:83: error: 'byte' was not declared in this scope /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:83: error: 'argv' was not declared in this scope /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:100: error: 'byte' has not been declared /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:100: error: 'byte' has not been declared /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:112: error: 'byte' has not been declared /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:112: error: 'callbackFunction' has not been declared /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:113: error: 'byte' has not been declared /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:114: error: 'byte' has not been declared /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:115: error: 'byte' has not been declared /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/Firmata.h:115: error: 'sysexCallbackFunction' has not been declared [...]
What am I missing? Thanks in advance!
I'm using OSX 10.7.4, latest pduino package from http://at.or.at/hans/pd/objects.html#pduino