Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Arduino C++ IDE for Eclipse Windows, application build fails(Build of application fails)
Arduino C++ IDE for Eclipse Windows, application build fails [message #1711624] Sun, 18 October 2015 14:20 Go to next message
Herman Reintke is currently offline Herman ReintkeFriend
Messages: 2
Registered: October 2015
Junior Member
Running Windows 8.1.

Installed Eclipse 4.5.1.(32 bit version)
Installed Arduino C++ IDE from marketplace
Installed boards : Arduino Nano, NodemcuV2
Installation proceeds and ends without error.

After creating a simple program and trying to run.

Selecting Nano I get
Building atest
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
nano.mk:61: recipe for target 'nano/project/atest.cpp.o' failedmake: *** [nano/project/atest.cpp.o] Error 258

C:/Users/Herman/.arduinocdt/tools/arduino/avrdude/6.0.1-arduino5/bin/avrdude -CC:/Users/Herman/.arduinocdt/tools/arduino/avrdude/6.0.1-arduino5/etc/avrdude.conf -v -p{build.mcu} -carduino -PCOM5 -b{upload.speed} -D -Uflash:w:nano/atest.hex:i
avrdude: invalid baud rate specified '{upload.speed}'
Upload complete


Selecting Nodemcu I get

Building atest
/usr/bin/sh: -c: line 1: syntax error: unexpected end of file
nodemcuv2.mk:77: recipe for target 'nodemcuv2/project/build/nodemcuv2/atest.cpp.o' failedmake: *** [nodemcuv2/project/build/nodemcuv2/atest.cpp.o] Error 258

C:/Users/Herman/.arduinocdt/tools/esp8266/esptool/0.4.5/esptool -vv -cd ck -cb 115200 -cp COM5 -ca 0x00000 -cf nodemcuv2/atest.bin
esptool v0.4.5 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
	setting board to ck
	setting baudrate from 115200 to 115200
	setting port from COM1 to COM5
	setting address from 0x00000000 to 0x00000000
	espcomm_upload_file
error: stat nodemcuv2/atest.bin failed
Upload complete


I looked in the namo.mk and nodemuv2.mk and tried to make from the commandline -> Get the same error

When removing these first few lines from nano/nodemcu.mk
ifeq ($(OS),Windows_NT)
RMDIR = rmdir /s /q
mymkdir = if not exist "$1" mkdir "$1"
else
RMDIR = rm -fr
mymkdir = mkdir -p $1
endif


Compiling starts but gives different errors.
So presumable these lines at first cause the initial error.

I tried to find where the nano.mk and nodemcuv2.mk files are generated but could not find them.

Questions :
Does anyone has the Arduino C++ IDE running on Windows ?
Does anyone know where/how the makefiles are generated ?

If any of the above is already documented please link to that and I will start looking from there.









Re: Arduino C++ IDE for Eclipse Windows, application build fails [message #1711779 is a reply to message #1711624] Mon, 19 October 2015 15:10 Go to previous message
Doug Schaefer is currently offline Doug SchaeferFriend
Messages: 135
Registered: July 2009
Senior Member
I see your bug in the system. I'll take a look.
Previous Topic:Don't generate binaries
Next Topic:How to set by default the C++11 for all projects ?
Goto Forum:
  


Current Time: Fri Apr 19 02:50:22 GMT 2024

Powered by FUDForum. Page generated in 0.02809 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top