the error message is
[1%] Linking CXX shared library libTHC.dylib
Undefined symbols for architecture x86_64:
"_cusparseCreate", referenced from:
_THCState_reserveDeviceSparseHandles in THCGeneral.c.o
"_cusparseDestroy", referenced from:
_THCudaShutdown in THCGeneral.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libTHC.1.dylib] Error 1
make[1]: *** [CMakeFiles/THC.dir/all] Error 2
make: *** [all] Error 2
what could I do with it?