Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Unresolved inclusion: stdlib.h in file file:/usr/include/c++/6/cstdlib(Unresolved inclusion)
Unresolved inclusion: stdlib.h in file file:/usr/include/c++/6/cstdlib [message #1779209] Wed, 03 January 2018 20:20
Open Address is currently offline Open AddressFriend
Messages: 1
Registered: January 2018
Junior Member
I am using

Eclipse IDE for C/C++ Developers
Version: Oxygen.2 Release (4.7.2)
Build id: 20171218-0600

Eclipse C/C++ Development Tools
Version: 9.4.0.201712051550

From parser log:

Include Search Path (option -I):
.....
/usr/lib/gcc/x86_64-linux-gnu/6/include
/usr/local/include
/usr/lib/gcc/x86_64-linux-gnu/6/include-fixed
/usr/include/x86_64-linux-gnu
/usr/include
/usr/include/c++/6
/usr/include/x86_64-linux-gnu/c++/6
/usr/include/c++/6/backward

However, I get the following line in parser log:

Unresolved includes (from headers in index):
file:<absolute-path-to-my-include-file> is not indexed
Unresolved inclusion: stdlib.h in file file:/usr/include/c++/6/cstdlib
Unresolved inclusion: math.h in file file:/usr/include/c++/6/cmath

This results in unresolved names declared in <absolute-path-to-my-include-file> in all files that include <absolute-path-to-my-include-file>.

Can someone please tell me how to fix this issue?

Thanks!
Previous Topic:Delegating constructor
Next Topic:<include> path lost on 64 bit upgrade, restored easily what do I add
Goto Forum:
  


Current Time: Thu Aug 16 17:51:10 GMT 2018

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

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

Back to the top