Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT complains about wrong / missing includes
CDT complains about wrong / missing includes [message #158046] Tue, 15 November 2005 14:41 Go to next message
Eclipse UserFriend
Originally posted by: sarek.nurfuerspam.de

Hi,

I just installed cdt and for testing wanted to make a project from a
small c++ program, that I already had and started it with make from
console before.

When starting from console my program compiles without any problems. But
when I import this program from the file system, CDT immediately marks
different point in the source files as incorrect.

The problems tab shows:

> Severity Description Resource In Folder Location Creation Time Id
> 1 C/C++ Indexer Problem: Preprocessor Inclusion not found: iostream in file: /home/sarek/workspaces/uni/MedBV/aufgaben.cpp on line: 3. aufgaben.cpp MedBV line 3 15. November 2005 19:04:58 321
> 1 C/C++ Indexer Problem: Preprocessor Inclusion not found: string.h in file: /home/sarek/workspaces/uni/MedBV/aufgaben.cpp on line: 4. aufgaben.cpp MedBV line 4 15. November 2005 19:04:58 323
> 1 C/C++ Indexer Problem: Preprocessor Inclusion not found: math.h in file: /home/sarek/workspaces/uni/MedBV/fenster_darstellen.h on line: 22. fenster_darstellen.h MedBV line 22 15. November 2005 19:05:05 329
> 1 C/C++ Indexer Problem: Preprocessor Inclusion not found: stdio.h in file: /home/sarek/workspaces/uni/MedBV/fenster_text.h on line: 6. fenster_text.h MedBV line 6 15. November 2005 19:05:05 328
> 1 C/C++ Indexer Problem: Preprocessor Inclusion not found: stdio.h in file: /home/sarek/workspaces/uni/MedBV/file_verwalten.h on line: 4. file_verwalten.h MedBV line 4 15. November 2005 19:05:05 327

Can anyone tell me what / and (or) where I have to change anything in
the settings? I assume it is a settings problem that is, because
compiling from console via just issuing "make" works perfectly.

In the project settings the C/C++ Indexer is set to: Full C/C++ indexer
(declarations and cross references)

Any help would be apreciated.

TIA

Christian

--
To reply to this posting directly use the following address and
remove the 'NO-SPAM' part: Riedel.Christian.NO-SPAM@gmx.net
Re: CDT complains about wrong / missing includes [message #158094 is a reply to message #158046] Wed, 16 November 2005 06:16 Go to previous message
Eclipse UserFriend
Originally posted by: sarek.nurfuerspam.de

Hi,

I just noticed something ...

Am 15.11.2005 20:41, Christian Riedel schrieb:

> When starting from console my program compiles without any problems. But
> when I import this program from the file system, CDT immediately marks
> different point in the source files as incorrect.
>
> The problems tab shows:
>
>
>>Severity Description Resource In Folder Location Creation Time Id
>>1 C/C++ Indexer Problem: Preprocessor Inclusion not found: iostream in file: /home/sarek/workspaces/uni/MedBV/aufgaben.cpp on line: 3. aufgaben.cpp MedBV line 3 15. November 2005 19:04:58 321
>>1 C/C++ Indexer Problem: Preprocessor Inclusion not found: string.h in file: /home/sarek/workspaces/uni/MedBV/aufgaben.cpp on line: 4. aufgaben.cpp MedBV line 4 15. November 2005 19:04:58 323
>>1 C/C++ Indexer Problem: Preprocessor Inclusion not found: math.h in file: /home/sarek/workspaces/uni/MedBV/fenster_darstellen.h on line: 22. fenster_darstellen.h MedBV line 22 15. November 2005 19:05:05 329
>>1 C/C++ Indexer Problem: Preprocessor Inclusion not found: stdio.h in file: /home/sarek/workspaces/uni/MedBV/fenster_text.h on line: 6. fenster_text.h MedBV line 6 15. November 2005 19:05:05 328
>>1 C/C++ Indexer Problem: Preprocessor Inclusion not found: stdio.h in file: /home/sarek/workspaces/uni/MedBV/file_verwalten.h on line: 4. file_verwalten.h MedBV line 4 15. November 2005 19:05:05 327

The strange thing is, that eclipse seems to find the qt3 libs in
/usr/share/qt3/lib so why not the "standard" libs like math.h etc?

I have not changed anything after installing, so why should one work and
the other not?


Christian

--
To reply to this posting directly use the following address and
remove the 'NO-SPAM' part: Riedel.Christian.NO-SPAM@gmx.net
Previous Topic:Confused about Standard Make and Managed Make projects and make stuff in general.
Next Topic:c/c++ indexer problem: Preprocessor inclusion not found:iostream
Goto Forum:
  


Current Time: Tue Jul 22 14:01:20 EDT 2025

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

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

Back to the top