- IDE: NetBeans 6.8
- OS: Fedora 12
I have been having this problem for a long time now. NetBeans is almost impossible to use with C/C++, maybe because it was not made for it in first place.
Anyways what happens is this: I have this setup for C/C++
But, the programs are displayed like this:
It is not able to find any header file!!
I know it is a C++ program, the same thing happens with #include <cstdio>
. As a result, it is not able to find the definition of printf
and fails.
Same thing happens with a .c
file.
Also, gcc works fine from the command line.
the problem exists still:
$ find / -name stdlib.h
/usr/include/bits/stdlib.h
/usr/include/c++/4.4.3/tr1/stdlib.h
/usr/include/stdlib.h
/usr/share/syslinux/com32/include/stdlib.h
/usr/arm-gp2x-linux/include/stdlib.h
Did someone face this problem before? What do I need to do to make this work?