Both the Cuda SDK and the Cuda ToolKit are installed, XCode and I can build some of the samples but I keep hitting the following problem :
ld: duplicate symbol CheckRender::~CheckRender()in …/…/lib/librendercheckgl.a(rendercheck_gl.cpp.o) and …/…/lib/librendercheckgl.a(rendercheck_gl.cpp_o)
collect2: ld returned 1 exit status
make[1]: *** […/…/bin/darwin/release/imageDenoising] Error 1
make: *** [projects/imageDenoising/Makefile.ph_build] Error 2
This is in the imageDenoising sample.
I googled this and I found other people complaining about similar errors. They traced it down to the gcc version. I tried both gcc-4 and gcc-4.2 with same result.
After cleaning up my install, and starting over, everything looks good.
I think the issue comes from buggy compiler initially producing bad libraries which I didn’t clean up after fixing the compiler (by getting the latest Xcode) and then trying to rebuild everything (except obviously the static libs that were created the first time I tried to build the SDK).