Community
Participate
Working Groups
Created attachment 269322 [details] screenshot with error Fresh install Eclipse and arduino c++ 3.0. Eclipse IDE for C/C++ Developers Version: Oxygen Release (4.7.0) Build id: 20170620-1800
Created attachment 269324 [details] screenshot 2 with error
To reproduce this problem is very simple: - 1 Installs the latest eclipse version. Eclipse IDE for C/C++ Developers Version: Oxygen Release (4.7.0) Build id: 20170620-1800 OS: Windows 8.1, v.6.3, x86_64 / win32 - 2 With Eclipse MarketPlace installs the "Eclipse C++ IDE for Arduino 3.0" - 3 With Arduino Download manager installs "Arduino SAMD Boards (32-bits ARM Cortex-M0+)" version 1.6.15 - 4 Create a new Project C/C++ "Arduino Project" this the same problem that SAMD Board Cortex-M3.
I see the root of the problem is that the USB product and manufacturer have spaces in their names in the boards.txt file for these boards. For example: arduino_zero_edbg.build.usb_manufacturer="Arduino LLC" I'll try and deal with that better (I generate command lines with these in them). The next release should be the Oxygen.1 release at the end of September. In the mean time, edit the boards.txt files that are a problem and remove the spaces and the quotes. I don't think that'll break anything.
Interesting also that this is only an issue on Windows where the Java ProcessBuilder does some disturbing things to the command line before launching the process. Anyway, I seem to have a fix that works for the upcoming release.
New Gerrit change created: https://git.eclipse.org/r/102813
Gerrit change https://git.eclipse.org/r/102813 was merged to [cdt_9_3]. Commit: http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=fc7b2f781c4beed99ee7dd3bb18254bfc87deba7
New Gerrit change created: https://git.eclipse.org/r/102887
Gerrit change https://git.eclipse.org/r/102887 was merged to [master]. Commit: http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=35135aa605f294b410c0efb6123ca79f8e0cacbe
Thanks Doug Schaefer, I deleted the spaces in the file Boards.txt and the problem is solved. but, Do not delete the quote otherwise the compilation does not work anymore.
I just did a clean install of Eclipse Photon. I am seeing this exact error.
Hey, this error seems to have re-occured in the newest version of cdt-arduino Eclipse version: 2019-06 (4.12.0) Arduino C++ Tools version: 9.8.1.201906192008 platform package: Arduino SAMD Boards (32-bit ARM Cortex-M0+) version 1.8.3 The 'Arduino.h' file cannot be resolved. Meaning no autocompletion as well. Seeing the report date, I hope this gets fixed within reasonable period! (or there is a solution I don't know of) Thanks in advance!
I'm seeing this problem as well Eclipse version: 2019-09 R (4.13.0) Arduino C++ Tools version: 9.9.0.201908121111 platform libraries: Arduino SAM Boards (32-bit ARM Cortex-M3) version 1.6.12 warning(orange underline) Uresolved inclusion: <Arduino.h> warning(orange underline) Uresolved inclusion: <SPI.h> then all the arduino functions are not recognized like SPI.begin and are underlined red but it still compiles. I'm new to eclipse so this maybe something that I did wrong.