This is an eclipse issue. What you need to do is to build with
"VERBOSE=1" inside eclipse. That will cause the full compile commands
to be emitted which will allow Eclipse to parse those commands for "-
I" arguments. Eclipse will then add those paths to it's include list.
Also, if this happens to be on OS X and you are trying to use
Frameworks there are still some difficulties that eclipse has with
frameworks and finding the include files.
There is a newsgroup/email list for CDT that you can post to. There
are also some logging facilities for the indexer that you can use to
try and figure out why the indexer is not finding your files correctly.
---
Mike Jackson www.bluequartz.net
On May 11, 2009, at 4:27 AM, Tim Cramer wrote:
Hi all,
Eric Noulard wrote:
2009/5/4 Miguel A. Figueroa-Villanueva <migu...@ieee.org>:
I did just gave a "generic" Eclipse CDT advice
which does not fits the Eclipse CDT generator case
(but my "hand-made" Eclipse project with CMake which enables to
use CVS)
again sorry about the confusion.
--
Erk
Ah, no problem. I was just thinking that there might be a bug. BTW,
did you try the ECLIPSE_CDT4_GENERATE_SOURCE_PROJECT option?
Yes it wokrs just fine.
It is no the nicest solution, but it works around the problem of the
out-of-source builds with CVS sources. It is described here:
http://www.cmake.org/Wiki/Eclipse_CDT4_Generator
I also had some problems with the auto compilation function of
eclipse. After activating: "Window -> Preferences -> C/C++ ->
Indexer -> Index all files" it works almost fine. But for some
reason the Ctrl+space shortcut does not find all methods of an
object. Especially inherited methods are not in the list. Is this a
eclipse specific problem or one of the generated project files?
Advice: All includes in my source code are marked with an question
mark!
Im using eclipse SDK 3.4.1 with CDT 5.0.1.
Cheers,
Tim
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake