Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse showing false bugs when using CDT + QT + Opengl
Eclipse showing false bugs when using CDT + QT + Opengl [message #902614] Sat, 18 August 2012 18:58 Go to next message
Matthias Sauer is currently offline Matthias Sauer
Messages: 2
Registered: August 2012
Junior Member
Hi Guys,

Im using CDT with QT integration and do some OpenGL Stuff

First of all : Everthing Compiles, Links , and works.

Unfortunately Eclipse still tries to tell me that it cant resolve any of the openGl functions .. wich is really annoying as my complete sourcecode is full of little red waves ( kind of making them obsolete when showing a real mistake i made )

any ideas how to get rid of that problem ?

Re: Eclipse showing false bugs when using CDT + QT + Opengl [message #902722 is a reply to message #902614] Mon, 20 August 2012 02:56 Go to previous messageGo to next message
Axel Mueller is currently offline Axel Mueller
Messages: 1949
Registered: July 2009
Senior Member
I guess the Eclipse indexer does not know anything about the opengl header files.

Here are some steps to help you
http://wiki.eclipse.org/CDT/User/FAQ#Why_does_Open_Declaration_.28F3.29_not_work.3F_.28also_applies_to_other_functions_using_the_indexer.29


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Re: Eclipse showing false bugs when using CDT + QT + Opengl [message #902800 is a reply to message #902722] Mon, 20 August 2012 09:47 Go to previous message
Matthias Sauer is currently offline Matthias Sauer
Messages: 2
Registered: August 2012
Junior Member
Thank's for your help,

this totally solved it ..
When starting a QT Project, /usr/include/ wasn't in the include path , after adding it and rebuilding the indexer everything works fine
Previous Topic:Problem with building code in C
Next Topic:Building confusion using C++
Goto Forum:
  


Current Time: Mon Jul 28 14:36:20 EDT 2014

Powered by FUDForum. Page generated in 0.02680 seconds