-
Notifications
You must be signed in to change notification settings - Fork 132
Windows error '-DUSB_PRODUCT=Arduino Due': No such file or directory (spaces in defines not supported on windows) #263
New issue
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
Comments
forgot to say: to make workaround working platform.txt must be fixed too. Need to remove quotes around define parameters so line Issue confirmed with nightly 2015-05-26 and arduino 1.6.1 |
on my system the command states this is in my platform.txt I checked my boards.txt Is there a volunteer with a windows machine to fix this? |
looking a bit closer the place to start investigating is https://github.com./jantje/arduino-eclipse-plugin/blob/master/it.baeyens.arduino.core/src/it/baeyens/arduino/tools/ArduinoHelpers.java#L679 |
More investigation shows this is a problem with a different command line interpreter in the arduino IDE and the eclipse plugin. |
Got error when build
arm-none-eabi-g++: error: '-DUSB_PRODUCT=Arduino Due': No such file or directory
To workaround either fix the boards.txt file by changing
arduino_due_x_dbg.build.usb_product="Arduino Due"
to
arduino_due_x_dbg.build.usb_product=""Arduino Due""
(this will break original Arduino IDE)
or fix A.BUILD.USB_PRODUCT variable in the eclipse project properties
The text was updated successfully, but these errors were encountered: