Hi guys, I don’t think my nvcc is set up correctly. If I try and compile an example program I get the error:
$ nvcc -c AddVectors.cu
nvcc warning : The ‘compute_10’ and ‘sm_10’ architectures are deprecated, and may be removed in a future release.
AddVectors.cu:2:10: fatal error: ‘mex.h’ file not found
1 error generated.
I typed the program in exactly as it was in my book, so I’m thinking there’s something wrong with the path the compiler is using to search for mex.h? I’m running OS X 10.9 and have Xcode 5.1 beta 5 installed.
Any help would be greatly appreciated, thanks.