caffe icon indicating copy to clipboard operation
caffe copied to clipboard

cmake errors

Open wenwei202 opened this issue 7 years ago • 1 comments

Currently cmake is not supported. Please copy Makefile.config.example and make all at this stage.

cp Makefile.config.example Makefile.config
# Adjust Makefile.config (for example, if using Anaconda Python, or if cuDNN is desired)
make all

Trying to open this issue to merge what I did in Makefile and Makefile.config.example to cmake.

See commits by @wenwei202 on https://github.com/wenwei202/caffe/commits/scnn/Makefile https://github.com/wenwei202/caffe/commits/scnn/Makefile.config.example

wenwei202 avatar May 10 '17 23:05 wenwei202

Open the file "caffe\cmake\Cuda.cmake", add ${CUDA_cusparse_LIBRARY} into the line "list(APPEND Caffe_LINKER_LIBS ${CUDA_CUDART_LIBRARY} ${CUDA_curand_LIBRARY} ${CUDA_CUBLAS_LIBRARIES})"; and then the problem could be solved.

wenston2006 avatar Nov 15 '17 07:11 wenston2006