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
On Die, 2012-09-18 at 18:01 +0200, Alejandro D. Somoza wrote:
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.
Reverse the Firmata replacement, so that that the original Firmata from the Arduino IDE is installed again. Then try again.
Roman
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
Hi Alejandro
I'm not an expert with compiling issues, but in my experience the Firmata software delivered with the Arduino IDE compiles fine. I suggest that you download a fairly recent version (say 1.0 or 1.0.1) of the IDE for your OS and try again (before you make any changes to the included sources). If this still fails, report back.
Sorry for my late reply.
Roman
On Mit, 2012-09-19 at 14:51 +0200, Alejandro D. Somoza wrote:
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.com wrote: 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
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list