[eclipse-arduino-dev] Is it possible?

  • From: Roberto Lo Giacco <rlogiacco@xxxxxxxxx>
  • To: eclipse-arduino-dev@xxxxxxxxxxxxx
  • Date: Sat, 26 Mar 2016 03:32:37 +0100

After an update I'm now getting the following when I try to compile:

**** Incremental Build of configuration Release for project serial ****
"C:\\Software\\Eclipse CPP\\arduinoPlugin\\tools\\make\\make" all
process_begin: CreateProcess(NULL, echo "Building file: ../.ino.cpp", ...)
failed.
subdir.mk:24: recipe for target '.ino.cpp.o' failed
make (e=2): Impossibile trovare il file specificato.

make: *** [.ino.cpp.o] Error 2

Build Finished (took 605ms)

I then tried to remove the space in the folder name, but with no luck.

I'm using version *3.0.0.20160323022 *and the translation for the italian
part is "Unable to find specified file"...

Isn't the .ino.cpp file the wrapper for ino files?

I then tried to work around this by creating a .cpp project, but I got a
similar error:

**** Build of configuration Release for project test2 ****
"C:\\Software\\EclipseCPP\\arduinoPlugin\\tools\\make\\make" all
subdir.mk:18: recipe for target 'test2.cpp.o' failed
process_begin: CreateProcess(NULL, echo "Building file: ../test2.cpp", ...)
failed.
make (e=2): Impossibile trovare il file specificato.

make: *** [test2.cpp.o] Error 2

Build Finished (took 318ms)

Please note I've moved the installation folder to one without the space.

Last hint: in the subdir.mk file I've an error indicator beside the second
line of the following snippet:

test.cpp.o: ../test.cpp
@echo 'Building file: $<'
@echo 'Starting C++ compile'
"C:\Users\rlogiacco\Desktop\EclipseCPP\arduinoPlugin\tools\arduino\avr-gcc\4.8.1-arduino5/bin/avr-g++"
-c -g -Os -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections
-fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L
-DARDUINO=10606 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR
-I"C:\Users\rlogiacco\Desktop\EclipseCPP\arduinoPlugin\packages\arduino\hardware\avr\1.6.10\cores\arduino"
-I"C:\Users\rlogiacco\Desktop\EclipseCPP\arduinoPlugin\packages\arduino\hardware\avr\1.6.10\variants\standard"
-MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" -D__IN_ECLIPSE__=1 -x c++ "$<"  -o  "$@"
  -Wall
@echo 'Finished building: $<'
@echo ' '

Also note I've tried again moving the installation folder to my desktop,
just to ensure it wasn't something related to file permissions or anything
related to the path.

Other related posts: