Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » 2020-03 unresolved imports, unresolved symbols(project builds successfully but shows endless errors in the editor)
2020-03 unresolved imports, unresolved symbols [message #1823341] Wed, 25 March 2020 09:39 Go to next message
juerg maier is currently offline juerg maierFriend
Messages: 8
Registered: March 2020
Junior Member
I have found many suggestions how to fix unresolved items, so far none have worked for me using the 2020-03 release,
many proposed solutions also not accessible in the new release - or in other sections of the UI?

Only my own cpp modules within my project are found,

Even a simple
#include "arduino.h"
is marked as unresolved import.

Somehow the Editor/Indexer and build process are not in sync?
Why are Editor/Indexer not following the same logic as the build process?
Re: 2020-03 unresolved imports, unresolved symbols [message #1823354 is a reply to message #1823341] Wed, 25 March 2020 12:20 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Because the build (via make) and Indexer are independent
https://www.eclipse.org/forums/index.php?t=msg&th=1102780&goto=1822866&#msg_1822866
Re: 2020-03 unresolved imports, unresolved symbols [message #1823372 is a reply to message #1823354] Wed, 25 March 2020 15:38 Go to previous messageGo to next message
juerg maier is currently offline juerg maierFriend
Messages: 8
Registered: March 2020
Junior Member
I followed the link but in Eclipse 2020-03 I do not find these settings
Re: 2020-03 unresolved imports, unresolved symbols [message #1823387 is a reply to message #1823372] Thu, 26 March 2020 01:31 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
It is indeed in 2020-03
https://help.eclipse.org/2020-03/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Freference%2Fcdt_u_prop_general_sd_entries.htm

If you can't find it then it's likely because you are using a plugin that is a modified CDT.
The Arduino plugin is one of them, IIRC.
If that's what you're using, this may help (although rather old)
https://stackoverflow.com/questions/29051576/how-do-i-add-arduino-libraries-to-eclipse-project
If it doesn't help you should make it clear (in the title) you are using the Arduino plugin.

If you are using something other than the Arduino plugin then contact the developers.
Re: 2020-03 unresolved imports, unresolved symbols [message #1823408 is a reply to message #1823387] Thu, 26 March 2020 08:37 Go to previous messageGo to next message
juerg maier is currently offline juerg maierFriend
Messages: 8
Registered: March 2020
Junior Member
Thanks again for your reply. I am using an Arduino, yes.
I do not know how to modify a title and assume it's not possible, You suggest to open a new issue for it?
I have found the last link you provided on my own a few days ago and by following the hints I was able to make my project build (it wasn't able to find the libraries before). I have also already added my findings in that thread.
This however does not solve the issues with indexer/editor (as you mentionend they have their own methods to find pathes).
Re: 2020-03 unresolved imports, unresolved symbols [message #1823418 is a reply to message #1823408] Thu, 26 March 2020 10:33 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Yes, a new issue with Arduino in the title should narrow responses.
Arduino issues really should have a separate forum but unfortunately they don't.
Previous Topic:Doxygen plugin for C++ documentation
Next Topic:Debugger problem
Goto Forum:
  


Current Time: Thu Apr 25 13:18:31 GMT 2024

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

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

Back to the top