I just installed cuda on mac. I used to work with cuda on linux and i am havng difficulties whith the OS change.
When I try to compile a program i made, using:
nvcc -o LB LB.cu -I$HOME/Developer/GPU Computing/C/common/inc -I/usr/local/cuda/include -lcuda -lcudart -L$HOME/Developer/GPU Computing/C/common/lib/darwin -lGLEW -lglut
I get the following error:
nvcc fatal : Don’t know what to do with ‘Computing/C/common/lib/darwin’
i dont know how to link the libraries, this is how i did it using linux, is there a problem that anybody can see?
i appreciate any help.