hi, i got a mac os x and i got the same problem, i installed netbeans and configured it to compile c/c++ and did all the steps necessaries and explained, but when im supposed to be able to do a project, under c application i add a source item and it doesnt seems to find any library at all, not can even compile hello world, or even return 0 only to by main. could u guess whats wrong? i even did add the libraries at the sdk sub folders previously explained but that just eliminate the errors for the editors, nothing more.
my error says:
"/Developer/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
main.c:1:19: error: stdio.h: No such file or directory
"/Developer/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-MacOSX/ctest
mkdir -p build/Debug/GNU-MacOSX
rm -f build/Debug/GNU-MacOSX/main.o.d
gcc -c -g -MMD -MP -MF build/Debug/GNU-MacOSX/main.o.d -o build/Debug/GNU-MacOSX/main.o main.c
main.c:2:18: error: math.h: No such file or directory
main.c:4:20: error: stdlib.h: No such file or directory
main.c:5:18: error: time.h: No such file or directory
main.c:6:19: error: ctype.h: No such file or directory
main.c:7:20: error: string.h: No such file or directory
main.c: In function 'main':
main.c:26: warning: incompatible implicit declaration of built-in function 'printf'
main.c:48: warning: incompatible implicit declaration of built-in function 'scanf'
main.c:73: warning: incompatible implicit declaration of built-in function 'scanf'
main.c: In function 'verifyPin':
main.c:139: warning: incompatible implicit declaration of built-in function 'printf'
main.c:140: warning: incompatible implicit declaration of built-in function 'scanf'
main.c:163: warning: incompatible implicit declaration of built-in function 'exit'
make[2]: *** [build/Debug/GNU-MacOSX/main.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 162ms)