I have problem with compilling simple project that uses driver api. I’m working on retina macbook pro with nvidia 750m under os x 10.10. Compiler returns this error:
ld: library not found for -lcuda clang: error: linker command failed with exit code 1 (use -v to see invocation)
I don’t really know what is wrong, what i found on google didn’t work for me (or i did it wrong)
I don’t have any problems with compiling samples from nvidia that come with sdk or code that uses runtime api.
There is example project with i Have this problem:
Also, this code compiles & runs whithout any problems on linux machine.
Any help would be really appreciated.