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.
When setting up the Netbean's JNIDemo for 64 bit(ONLY; 32 bit works fine), the internal generated files( "build\Debug\Cygwin_4.x-Windows\_ext\2033191462\JNIDemo.o.d" "build\Debug\Cygwin_4.x-Windows\_ext\2033191462\JNIDemo.o") Can not be created or used by the 64 bit C compiler due to the relative path: -------------------------- Generated by Netbeans(Doesn't work) during 'Clean and Build' action: x86_64-w64-mingw32-gcc -m64 -c -g -I/cygdrive/C/jdk1.7.0_21_64bit/include -I/cygdrive/C/jdk1.7.0_21_64bit/include/win32 -I/cygdrive/C/jdk1.7.0_21_64bit/include/win32/bridge -MMD -MP -MF build/Debug/Cygwin_4.x-Windows/_ext/2033191462/JNIDemo.o.d -o build/Debug/Cygwin_4.x-Windows/_ext/2033191462/JNIDemo.o /cygdrive/C/NetBeansProjects/JNIDemoCdl/JNIDemo.c x86_64-w64-mingw32-gcc: error: spawn: No such file or directory nbproject/Makefile-Debug.mk:66: recipe for target `build/Debug/Cygwin_4.x-Windows/_ext/2033191462/JNIDemo.o' failed make[2]: *** [build/Debug/Cygwin_4.x-Windows/_ext/2033191462/JNIDemo.o] Error 1 Generated manually with absolute path output files(Works!): C:\NetBeansProjects>x86_64-w64-mingw32-gcc -m64 -c -g -I/cygdrive/C/jdk1.7.0_21_64bit/include -I/cygdrive/C/jdk1.7.0_2 1_64bit/include/win32 -I/cygdrive/C/jdk1.7.0_21_64bit/include/win32/bridge -MMD -MP -MF /cygdrive/C/NetBeansProjects/JN IDemoCdl/build/Debug/Cygwin_4.x-Windows/_ext/2033191462/JNIDemo.o.d -o /cygdrive/C/NetBeansProjects/JNIDemoCdl/build/Deb ug/Cygwin_4.x-Windows/_ext/2033191462/JNIDemo.o /cygdrive/C/NetBeansProjects/JNIDemoCdl/JNIDemo.c After working code is executed, I execute a build in netbeans and it executes properly.
Correction: NOT: After working code is executed, I execute a build in netbeans and it executes properly. CORRECT: After working command has executed, I execute a 'build' in netbeans and it executes properly.
Please, provide: - NB info (Help->About) - version of tool collection (Tools->Options->C/C++->Build Tools->Versions) and screen shot of tool collection - full build log By the way, I hardly believe that compiler does not understand relative paths. Probably bug in compiler?