I have been trying to set up Netbeans 6.5 IDE for CUDA development and have had limited success. I was able to get the deviceQuery program to compile and run, so now I am trying the transpose program and running into trouble. I keep getting this error…
[codebox]Running “/usr/bin/make -f Makefile CONF=Debug clean” in /home/dwnj/NetBeansProjects/cudabeansSIMPLE
Clean successful. Exit value 0.
Running “/usr/bin/make -f Makefile CONF=Debug” in /home/dwnj/NetBeansProjects/cudabeansSIMPLE
make: *** No rule to make target obj/release/transpose_gold.cpp.o', needed by
…/…/bin/linux/release/transpose’. Stop.
Build failed. Exit value 2.[/codebox]
I simply copied the makefile from the projects directory into the Netbeans makefile. I thought this would tell Netbeans how to make transpose_gold.
[codebox]EXECUTABLE := transpose
Cuda source files (compiled with cudacc)
CUFILES := transpose.cu
C/C++ source files (compiled with gcc / c++)
CCFILES := \
transpose_gold.cpp \
$(NULL)[/codebox]
Also, when setting up “Build Tools”, should the “Make Command” be left as “/usr/bin/make”?
Thanks