On Mon, Jun 08, 2009 at 08:18:40PM +0200, Stefan Dröge wrote: > Hi, I try to generate a Eclipse project with CMake. > Generating works, but the "standard" includes, like iostream, are not > properly included in the eclipse project. > I've already found this bug report, it describes exactly my problem: > http://www.vtk.org/Bug/view.php?id=7585 > After reading this I tried CMake 2.6.4 from the downloads page, and > CMake 2.7.20090607 from CVS (before that I used CMake 2.6.2 from the > ubuntu repos). But the problem still exists for me. > > I looked in the CMakeCache.txt, and the lines that should point to my > system headers are empty: > //CXX compiler system include directories > CMAKE_ECLIPSE_CXX_SYSTEM_INCLUDE_DIRS:INTERNAL= > //C compiler system include directories > CMAKE_ECLIPSE_C_SYSTEM_INCLUDE_DIRS:INTERNAL=
Did you regenerate (that is, delete and recreate) your cache after installing the new version? If not, the old broken values may be sticking around from a previous CMake run with an older, unfixed version of CMake. tyler _______________________________________________ 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