Building problem Arduino 1.6.*
Hi,
I have been trying to build the "Indo_digital" sample on the Industruino IND.I/O on OSX El capitan but I get the following error log:
Build options changed, rebuilding all
Using library Indio in folder: /Applications/Arduino.app/Contents/Java/libraries/Indio (legacy)
Using library Wire in folder: /Applications/Arduino.app/Contents/Java/hardware/Industruino/avr/libraries/Wire
{runtime.tools.avr-gcc.path}/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=at90usb1286 -DF_CPU=16000000L -DARDUINO=10600 -DARDUINO_AVR_IND1286 -DARDUINO_ARCH_AVR -DUSB_VID=0x16D0 -DUSB_PID=0x0856 -DUSB_MANUFACTURER="Industruino 1286" -DUSB_PRODUCT="Industruino" -I/Applications/Arduino.app/Contents/Java/hardware/Industruino/avr/cores/Industruino -I/Applications/Arduino.app/Contents/Java/hardware/Industruino/avr/variants/ind1286 -I/Applications/Arduino.app/Contents/Java/libraries/Indio -I/Applications/Arduino.app/Contents/Java/hardware/Industruino/avr/libraries/Wire /var/folders/x2/q46qpt8d7m77cvjy0zj3bdtw0000gq/T/build4331491750493516506.tmp/Indio_Digital.cpp -o /var/folders/x2/q46qpt8d7m77cvjy0zj3bdtw0000gq/T/build4331491750493516506.tmp/Indio_Digital.cpp.o
Cannot run program "{runtime.tools.avr-gcc.path}/bin/avr-g++": error=2, No such file or directory
Any idea what the problem is? I have installed the library and board definition files.
I tried this on a windows machine and it works but then when I upload the code to the board nothing happens on the I/Os! I check digital pin 7,8 with the multimeter but they don't show any voltage output.
I could fix the first problem by replacing "compiler.path={runtime.tools.avr-gcc.path}/bin/" in the platform.txt file with "compiler.path={runtime.ide.path}/hardware/tools/avr/bin/"
Hope this help someone else.
I still have the second problem with the Digital outputs.
Your answer
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
Keep Informed
About This Forum
This community is for professionals and enthusiasts of our products and services.
Read GuidelinesQuestion tools
Stats
Asked: 11/24/15, 12:42 PM |
Seen: 3863 times |
Last updated: 11/24/15, 4:32 PM |
Hi Amir, can you please try to compile the same sketch on Arduino 1.0* IDE and see if the I/O issue persists? (be aware that you will have to add "#include " in your sketch when using Arduino IDE 1.0* version of the Indio library).