This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 269552 - cannot compile c++ program when using Linux version 2.6.32-642.el6.x86_64
Summary: cannot compile c++ program when using Linux version 2.6.32-642.el6.x86_64
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-13 09:51 UTC by LiamW
Modified: 2017-01-13 11:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sample project welcome. Error messages (143.06 KB, image/png)
2017-01-13 09:51 UTC, LiamW
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LiamW 2017-01-13 09:51:07 UTC
Created attachment 163393 [details]
sample project welcome. Error messages

Hello,

I can't compile my c++ Programs any more (even the sample NetBeans project "Welcome" can't be compiled): 

#include <iostream> is underlined in yellow (see attached png)
The message is: "unresolved #include <bits/c++config.h> in included /usr/include/c++/4.4.7/stddef

However, the project Welcome can be compiled on other Linux workstations that have older Linux versions 2.6.32-504... and 2.6.32-573.7.1. The project can also be compiled from command line.

Do you have any suggestions for me? Since the computers with the older linux versions will soon be upgraded, it would be good to have another solution. 

Thank you in advance,
LiamW
Comment 1 Alexander Simon 2017-01-13 10:23:24 UTC
Please investigate why you can build project in console and cant in IDE.
At least attach build log from IDE and build log from console.
Comment 2 LiamW 2017-01-13 11:23:55 UTC
After some days our Linux Support solved the problem some minutes ago. There were some headers missing in /usr/include/c++. I thought it is a NetBeans bug because I was able to compile the program from command line.

So, no bug :-)
Sorry for bothering you!