Hi,
Is debug supported on OS X?
I am getting following linking error:
macbook:~/Documents/Download/NVIDIA_CUDA_SDK_MACOSX/projects/Mandelbrot dennis$ make dbg=1
ld: library not found for -lcutilD
collect2: ld returned 1 exit status
make: *** […/…/bin/macosx/debug/Mandelbrot] Error 1
mfatica
2
You need to build the cutil library in debug mode.
Go in the subdirectory common ( under the NVIDIA_CUDA_SDK_MACOSX directory) and type “make dbg=1”.
It will create the libcutilD.a needed.
To debug CUDA code, you will need to run in emulation mode (make emu=1 dbg=1).