Iām trying to install a CUDA package in Python called PyCUDA under OSX Maverics on a MacBook Pro 15ā retina, but when trying to compile the files I get the following error:
ld: warning: directory not found for option '-F /Library/Frameworks -framework CUDA'
ld: file not found: @rpath/CUDA.framework/Versions/A/CUDA for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'g++' failed with exit status 1
I think that at this stage PyCUDA is trying to compile some of it's C components.
I researched the error online and the solution proposed was to add -F/Library/Frameworks and -framework CUDA to the arguments list, but the make still fails with the error above.
I have CUDA 5.5 installed and Xcode command line tools as well. Also I am installing from the command line (not Xcode) using:
python setup.py install
Which, in turn calls clang to compile some of the components.
I think the @rpath part of the path is not processed correctly.
Any way I could resolve this error?