2020-03 Arduino Editor unresolved symbols [message #1823433] |
Thu, 26 March 2020 11:25  |
Eclipse User |
|
|
|
I am moving my project from Arduino IDE to the more comfortable Eclipse environment as it is said to support Arduino hardware.
I have installed Eclipse 2020-03 using all the default settings and added my files into "exlipse_workspace/<myProjectName>"
I have successfully added my libraries and boards into eclipse with the help of the Arduino Download Manager.
I also added the libraries into my project (project properties/Libraries) and was finally able to build and upload my project for my arduino mega.
Unforturnately Editor and Indexer do not find the libraries (not even Arduino.h) so I get tons of undefined symbols and unresolved imports. Only the imports of my own project modules are correctly resolved.
Found many postings related to these issues but have not been able yet to find a solution with the Eclipse 2020-03 version.
Does anybody know where in the properties of 2020-03 I have to add the Arduino / libraries path's?
|
|
|
|
|
Re: 2020-03 Arduino Editor unresolved symbols [message #1824257 is a reply to message #1824254] |
Sat, 11 April 2020 04:24  |
Eclipse User |
|
|
|
Thanks for your advice. It also requires to specify a target directory for the imported files. I selected my project directory and many references work now, I still have unresolved markers with Serial, pinMode, LED_BUILTIN, digitalWrite, sprintf, strtok, atoi etc.
I would have prefered a search path addition for the editor/indexer instead of duplicating so many files.
Still, your solution removed many unresolved markers and that's great.
|
|
|
Powered by
FUDForum. Page generated in 0.07267 seconds