Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Cannot resolve selected text to a defined function or member
Cannot resolve selected text to a defined function or member [message #1542549] Fri, 02 January 2015 18:30 Go to next message
Martin Vavra is currently offline Martin VavraFriend
Messages: 1
Registered: January 2015
Junior Member
Hi

I am having problems while invoking the Call Hierarchy command.

When invoked, the status bar states in red: "Cannot resolve selected text to a defined function or member".

Information about the setup:
- It is a CMake based project. I tried both:
--- generating plain makefiles and importing as "Existing Code as Makefile Project"; and
--- generating as "Eclipse CDT4 - Unix Makefiles" and importing as "Existing Projects into Workspace".
- Eclipse Luna Service Release 1 (4.4.1)
- Eclipse BuildId: 20140925-1800
- CDT version: 8.5.0

The method in question is red underlined by codan stating "Member declaration not found".
I can however F3 through it to the header file (the method is overloaded and I am asked which one of them to go to).
Also I can click-through the #include directive to the corresponding header file without problems.

The code compiles fine using - Project->Build Project.

I have tried to import the project in a new/empty workspace. Didn't help.

Any idea what could be causing this? Or could you help me investigate the issue?

Thank you
Martin
Re: Cannot resolve selected text to a defined function or member [message #1698124 is a reply to message #1542549] Thu, 11 June 2015 13:09 Go to previous message
Mickey Mouse is currently offline Mickey MouseFriend
Messages: 26
Registered: July 2012
Junior Member
Hi,
were you able to resolve this issue? I have the same problem here..

Previous Topic:Need sudo for make target
Next Topic:Problem getting C++ hello world to build and run
Goto Forum:
  


Current Time: Thu Apr 25 17:24:30 GMT 2024

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

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

Back to the top