At cc arduino compiler callarduinobuilder compiler java 317

At cc arduino compiler callarduinobuilder compiler java 317

Issus programing an Arduino with Pi 3 B+ [solved]

Hi,
My first Pi project is automizing my terrarium using a Pi 3 B+ and an Arduino Uno. So far it works quiet well. However I would like to add more capabilities in terms of remotely fixing errors. If I need to fix something in the Arduino’s software I would like to order the Pi via SSH to flash a new firmware onto the Arduino. Getting that to work is giving me some trouble and I would highly appreciate some help.
What I have done so far:
1. Installing Arduino software via apt-get. In that setup the software worked fine with its GUI, but has no command-line interface.
2. I tried to install ino to get that fixed but did not get it to work. It only threw Java errors. I suspect this caused by the project being dead and not compatible anymore with current software.
3. I tried amake https://github.com/pavelmc/amake, which looked better.
4. It did not find my Arduino installation. Therefore I reinstalled Arduino the way suggested on the amake’s github page (https://www.arduino.cc/en/Guide/Linux)
Now I can use the serial console of the Arduino software both via GUI and over amake. Sadly I cannot compile sketches or upload precompiled sketches to my board; neither via GUI nor via amake. In both cases it throws:

processing.app.debug.RunnerException at cc.arduino.Compiler.callArduinoBuilder(Compiler.java:317) at cc.arduino.Compiler.loadPreferences(Compiler.java:216) at cc.arduino.Compiler.build(Compiler.java:175) at processing.app.SketchController.build(SketchController.java:664) at processing.app.Editor$BuildHandler.run(Editor.java:1647) at java.lang.Thread.run(Thread.java:748) Caused by: java.io.IOException: Cannot run program "/home/pi/ArduinoInstall/arduino-1.8.9/arduino-builder": error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at java.lang.Runtime.exec(Runtime.java:620) at java.lang.Runtime.exec(Runtime.java:485) at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:11) at cc.arduino.Compiler.callArduinoBuilder(Compiler.java:297) . 5 more Caused by: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.(UNIXProcess.java:247) at java.lang.ProcessImpl.start(ProcessImpl.java:134) at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029) . 9 more

neilgl Posts: 6196 Joined: Sun Jan 26, 2014 8:36 pm Location: Near The National Museum of Computing

Читайте также:  Двойное подчеркивание ссылки css

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exec: «/ctags»: file does not exist #186

exec: «/ctags»: file does not exist #186

conclusion: off topic Off topic for this repository topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

I am a developer for arduino ide now.I use this arduino ide and add my funcation.Now the ide can not compile and throw that,»exec: «/ctags»: file does not exist».
I hava seen other issuse the same ,but I can not resolve it.
Would anyone can help me ?

The text was updated successfully, but these errors were encountered:

Hi @Caizhenyu ,
can you post the complete specifications of your installation (Windows version, IDE version, installed cores, verbose compilation output) ? Thanks

Windows 10, Arduino 1.6.11, this all i know about installation.

Could you test latest IDE (1.6.12) or nightly version? The get the verbose output, select «Show verbose output during compilation» in IDE File/Preferences, run a compile of Blink example and post the output here

E:\arduino\arduino-builder -dump-prefs -logger=machine -hardware E:\arduino\hardware -tools E:\arduino\hardware\tools\avr -built-in-libraries E:\arduino\libraries -libraries E:\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10612 -build-path C:\Users\myname\AppData\Local\Temp\arduino_build_939366 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=E:\arduino\hardware\tools\avr -verbose C:\Users\myname\Desktop\sketch_oct17a\sketch_oct17a.ino E:\arduino\arduino-builder -compile -logger=machine -hardware E:\arduino\hardware -tools E:\arduino\hardware\tools\avr -built-in-libraries E:\arduino\libraries -libraries E:\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10612 -build-path C:\Users\myname\AppData\Local\Temp\arduino_build_939366 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=E:\arduino\hardware\tools\avr -verbose C:\Users\myname\Desktop\sketch_oct17a\sketch_oct17a.ino Using board 'uno' from platform in folder: E:\arduino\hardware\arduino\avr Using core 'arduino' from platform in folder: E:\arduino\hardware\arduino\avr Detecting libraries used. "E:\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IE:\arduino\hardware\arduino\avr\cores\arduino" "-IE:\arduino\hardware\arduino\avr\variants\standard" "C:\Users\myname\AppData\Local\Temp\arduino_build_939366\sketch\sketch_oct17a.ino.cpp" -o "nul" "E:\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IE:\arduino\hardware\arduino\avr\cores\arduino" "-IE:\arduino\hardware\arduino\avr\variants\standard" "C:\Users\myname\AppData\Local\Temp\arduino_build_939366\sketch\sketch_oct17a.ino.cpp" -o "nul" Generating function prototypes. "E:\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IE:\arduino\hardware\arduino\avr\cores\arduino" "-IE:\arduino\hardware\arduino\avr\variants\standard" "C:\Users\myname\AppData\Local\Temp\arduino_build_939366\sketch\sketch_oct17a.ino.cpp" -o "C:\Users\myname\AppData\Local\Temp\arduino_build_939366\preproc\ctags_target_for_gcc_minus_e.cpp" "/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\myname\AppData\Local\Temp\arduino_build_939366\preproc\ctags_target_for_gcc_minus_e.cpp" exec: "/ctags": file does not exist for BoardPort Arduino/Genuino Uno complile error. 

Ok, the commandline is missing -tools E:\arduino\tools-builder . Can you check if that directory exists and contains ctags ?

thank you.
i add the tools-builder and ctags ,it throw a new error. is my arduino-core missing some floder?

E:\arduino\arduino-builder -dump-prefs -logger=machine -hardware E:\arduino\hardware -tools E:\arduino\tools-builder -tools E:\arduino\hardware\tools\avr -built-in-libraries E:\arduino\libraries -libraries E:\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10612 -build-path C:\Users\myname\AppData\Local\Temp\arduino_build_562314 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=E:\arduino\hardware\tools\avr -verbose C:\Users\myname\Desktop\sketch_oct17a\sketch_oct17a.ino E:\arduino\arduino-builder -compile -logger=machine -hardware E:\arduino\hardware -tools E:\arduino\tools-builder -tools E:\arduino\hardware\tools\avr -built-in-libraries E:\arduino\libraries -libraries E:\Documents\Arduino\libraries -fqbn=arduino:avr:uno -ide-version=10612 -build-path C:\Users\myname\AppData\Local\Temp\arduino_build_562314 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=E:\arduino\hardware\tools\avr -verbose C:\Users\myname\Desktop\sketch_oct17a\sketch_oct17a.ino Using board 'uno' from platform in folder: E:\arduino\hardware\arduino\avr Using core 'arduino' from platform in folder: E:\arduino\hardware\arduino\avr Detecting libraries used. "E:\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IE:\arduino\hardware\arduino\avr\cores\arduino" "-IE:\arduino\hardware\arduino\avr\variants\standard" "C:\Users\myname\AppData\Local\Temp\arduino_build_562314\sketch\sketch_oct17a.ino.cpp" -o "nul" "E:\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IE:\arduino\hardware\arduino\avr\cores\arduino" "-IE:\arduino\hardware\arduino\avr\variants\standard" "C:\Users\myname\AppData\Local\Temp\arduino_build_562314\sketch\sketch_oct17a.ino.cpp" -o "nul" Generating function prototypes. "E:\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IE:\arduino\hardware\arduino\avr\cores\arduino" "-IE:\arduino\hardware\arduino\avr\variants\standard" "C:\Users\myname\AppData\Local\Temp\arduino_build_562314\sketch\sketch_oct17a.ino.cpp" -o "C:\Users\myname\AppData\Local\Temp\arduino_build_562314\preproc\ctags_target_for_gcc_minus_e.cpp" "E:\arduino\tools-builder\ctags\5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\myname\AppData\Local\Temp\arduino_build_562314\preproc\ctags_target_for_gcc_minus_e.cpp" compling. "E:\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IE:\arduino\hardware\arduino\avr\cores\arduino" "-IE:\arduino\hardware\arduino\avr\variants\standard" "C:\Users\myname\AppData\Local\Temp\arduino_build_562314\sketch\sketch_oct17a.ino.cpp" -o "C:\Users\myname\AppData\Local\Temp\arduino_build_562314\sketch\sketch_oct17a.ino.cpp.o" Compiling libraries. Compiling core. "E:\arduino\hardware\tools\avr/bin/avr-gcc" -c -g -x assembler-with-cpp -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IE:\arduino\hardware\arduino\avr\cores\arduino" "-IE:\arduino\hardware\arduino\avr\variants\standard" "E:\arduino\hardware\arduino\avr\cores\arduino\wiring_pulse.S" -o "C:\Users\myname\AppData\Local\Temp\arduino_build_562314\core\wiring_pulse.S.o" "E:\arduino\hardware\tools\avr/bin/avr-gcc" -c -g -Os -w -std=gnu11 -ffunction-sections -fdata-sections -MMD -flto -fno-fat-lto-objects -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IE:\arduino\hardware\arduino\avr\cores\arduino" "-IE:\arduino\hardware\arduino\avr\variants\standard" "E:\arduino\hardware\arduino\avr\cores\arduino\WInterrupts.c" -o "C:\Users\myname\AppData\Local\Temp\arduino_build_562314\core\WInterrupts.c.o" cc1.exe: error: -fno-fat-lto-objects are supported only with linker plugin. exit status 1 for BoardPort Arduino/Genuino Uno complie error. 

Источник

Оцените статью