I am new to the waf framework of compiling and building a project. Basically I am trying to load the compiler and the library for compiling the .cu
files. and I have the following line of code taken from cuda.py
file written by Thomas Nagy
self.check_cxx(header='cuda.h', lib='cudart', libpath=_libpath, includes=_includes)
my _libpath
is correctly pointing to '/usr/local/cuda/lib'
which contains the libcudart.dylib
.
but it says it cannot find cudart library.
libcudart.dylib
is a symbolic link to the /Developer/Nvidia/cuda5.0/lib/libcudart.dylib
Can anyone tell what possibly is going wrong here ?