Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT + Cmake for Cross Dev, symbols not resolved(CDT + Cmake for Cross Dev, symbols not resolved)
CDT + Cmake for Cross Dev, symbols not resolved [message #1781731] Mon, 12 February 2018 16:18 Go to next message
Nathan Holder is currently offline Nathan HolderFriend
Messages: 7
Registered: September 2017
Junior Member
Hi,
I am using Eclipse CDT Oxygen with cmake projects for a yocto generated cross toolchain.
I am trying to get all the symbols issues to be resolved in the IDE display.
All the headers are now resolved but symbols like cout, std::ofstream, etc are not resolved in the display.
The project builds and works correctly using cmake and the yocto plugin, but the features of Eclipse like symbols resolution and name completion do not work correctly because the symbols are not resolved correctly.
Not sure what needs to be added to the project properties to fix this.
Thanks in advance.
Re: CDT + Cmake for Cross Dev, symbols not resolved [message #1782000 is a reply to message #1781731] Thu, 15 February 2018 16:33 Go to previous messageGo to next message
Nathan Holder is currently offline Nathan HolderFriend
Messages: 7
Registered: September 2017
Junior Member
Thanks for the help everyone. Since it is free I am very happy not to get any help. The open source way!
Re: CDT + Cmake for Cross Dev, symbols not resolved [message #1782157 is a reply to message #1782000] Mon, 19 February 2018 16:25 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Sounds like you are using third-party software with Eclipse CDT.
This forum is really for plain vanilla CDT.
You probably should direct your questions to the developer of those.
e.g., https://www.yoctoproject.org/tools-resources/community
There are two cmake plugins that I am aware of:

cmake4eclipse
cmake-eclipse-helper

There is also an editor plugin: CMake Editor

If You are using any of them you should ask their developers.

Lacking that, there are a number of places with info on using external libraries with CDT
http://www.eclipse.org/community/eclipse_newsletter/2013/october/article4.php
https://stackoverflow.com/questions/30090071/how-to-add-libs-to-eclipse-cdt-managed-projects
and others.
NOTE: I am listing some results from a google search and am not necessarily endorsing any of them.

If you have specific questions about referencing external libraries outside of plugins
and can provide information about how you tried and failed
then we might be able to help.
As it is, your post is too vague.



[Updated on: Mon, 19 February 2018 16:34]

Report message to a moderator

Re: CDT + Cmake for Cross Dev, symbols not resolved [message #1782225 is a reply to message #1782157] Tue, 20 February 2018 16:29 Go to previous message
Nathan Holder is currently offline Nathan HolderFriend
Messages: 7
Registered: September 2017
Junior Member
Thanks for the resources David. I will look into those.
Previous Topic:Code beautify with Eclipse
Next Topic:need help with g++ linker and opencv
Goto Forum:
  


Current Time: Thu Apr 18 12:54:11 GMT 2024

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

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

Back to the top