Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » unresolved inclusion
unresolved inclusion [message #1238917] Sun, 02 February 2014 21:54 Go to next message
john merlino is currently offline john merlinoFriend
Messages: 10
Registered: February 2014
Junior Member
How come when I include header files like stdio.h, which compile just fine, eclipse shows a little question mark that says "unresolved inclusion"?
Re: unresolved inclusion [message #1239205 is a reply to message #1238917] Mon, 03 February 2014 16:39 Go to previous messageGo to next message
Yevgeny Shifrin is currently offline Yevgeny ShifrinFriend
Messages: 208
Registered: July 2009
Senior Member
http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fconcepts%2Fcdt_c_before_you_begin.htm
Re: unresolved inclusion [message #1239374 is a reply to message #1239205] Tue, 04 February 2014 03:29 Go to previous messageGo to next message
john merlino is currently offline john merlinoFriend
Messages: 10
Registered: February 2014
Junior Member
Can you provide more details?
Re: unresolved inclusion [message #1239441 is a reply to message #1239374] Tue, 04 February 2014 08:03 Go to previous messageGo to next message
Yevgeny Shifrin is currently offline Yevgeny ShifrinFriend
Messages: 208
Registered: July 2009
Senior Member
You should perform the actions described in "Before you begin" in C/C++ development guide? If you did not perform these actions, it could explain why "stdio.h" and stiff are unresolved.

Thanks,
Yevgeny
Re: unresolved inclusion [message #1398331 is a reply to message #1239441] Fri, 11 July 2014 00:10 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 6
Registered: December 2010
Junior Member
Yevgeny,

Yes, I have. I was running Ubuntu 13.04 with Eclipse/CDT 3.8.1, and it worked fine. Then, I updated to Ubuntu 13.10. Before, now, still have GCC and G++. Why is it broken now?!

Why is it that this is so damn fragile? I even put in the include dirs (which are the usual /usr/include/c++/4.Cool? I just fixed the "unresolved inclusion" error for the indexer, but even after Index/Rebuild and Index/Freshen All Files, I'm still getting "Type 'std::string' could not be resolved" messages! And the damn thing compiles and runs correctly!!!

What is it that 99% of Eclipse users are missing here?

(Yes, it is my frustration speaking here. Please, don't take anything personal here! It just seems this should be worked out by now...)
Re: unresolved inclusion [message #1398605 is a reply to message #1398331] Fri, 11 July 2014 10:01 Go to previous message
Axel Mueller is currently offline Axel MuellerFriend
Messages: 1973
Registered: July 2009
Senior Member
Quote:
Then, I updated to Ubuntu 13.10.

That is an important information.

Quote:
Before, now, still have GCC and G++.

Yes, but you have a different version and thus the header files reside in a different directory!

This should help:
https://wiki.eclipse.org/CDT/User/FAQ#I_installed_a_new_version_of_my_compiler_but_old_include_paths_of_old_compiler_are_still_there_under_.22Paths_and_Symbols.22_in_project_properties._I_cannot_get_rid_of_them.21_What_do_I_edit_to_remove_the_old_paths_by_hand.3F


Before you ask
- search this forum
- see the FAQ http://wiki.eclipse.org/CDT/User/FAQ
- google
Previous Topic:Programs not found in PATH.
Next Topic:Wish list of things to be added to Eclipse Luna 4.4.0
Goto Forum:
  


Current Time: Sat Apr 20 02:41:06 GMT 2024

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

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

Back to the top