|Re: includes and unresolved symbols problem on ubuntu [message #768849 is a reply to message #759241]
||Tue, 20 December 2011 23:21
| Dan Kegel
Registered: December 2011
I just tried to reproduce this as follows:|
1) install eclipse indigo sr1 with cdt from
2) start eclipse, do New / C++ Project / Hello World Project
3) do Window / Show View / C++
4) Hello should be showing in the project explorer; open it and look at hello.cpp
5) check whether there is a bug mark next to the #include <iostream>
When I do this in a fresh workspace, it works fine.
I do have a simple C/C++ project that has the problem you describe, so try creating a fresh workspace and see if a fresh hello project in there works ok.
In the good hello project, the properties of the hello project, under C/C++ Build,
In the bad project, the properties of the hello project do not have
a C/C++ Build folder; instead, it has top level folders C/C++ General,
C/C++ Include Paths, C/C++ Make Project, and C/C++ Project Paths.
I can't quite figure out why they're different. (Hmm. It's possible
the bad project was generated with cmake.)
[Updated on: Tue, 20 December 2011 23:30]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.08803 seconds