Advertisement
Guest User

Untitled

a guest
Oct 19th, 2015
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. >> git clone https://github.com/yjxiong/caffe.git
  2. >> cd caffe
  3. >> cp Makefile.config.example Makefile.config
  4. >> vim Makefile.config
  5. uncomment CuDNN:=1
  6. >> make all
  7. PROTOC src/caffe/proto/caffe.proto
  8. CXX .build_release/src/caffe/proto/caffe.pb.cc
  9. CXX src/caffe/syncedmem.cpp
  10. ...
  11. NVCC src/caffe/util/im2col.cu
  12. NVCC src/caffe/util/math_functions.cu
  13. AR -o .build_release/lib/libcaffe.a
  14. LD -o .build_release/lib/libcaffe.so
  15. CXX tools/caffe.cpp
  16. CXX/LD -o .build_release/tools/caffe.bin
  17. .build_release/lib/libcaffe.so: undefined reference to `cv::imread(cv::String const&, int)'
  18. .build_release/lib/libcaffe.so: undefined reference to `cv::imencode(cv::String const&, cv::_InputArray const&, std::vector<unsigned char, std::allocator<unsigned char> >&, std::vector<int, std::allocator<int> > const&)'
  19. .build_release/lib/libcaffe.so: undefined reference to `cv::imdecode(cv::_InputArray const&, int)'
  20. collect2: error: ld returned 1 exit status
  21. make: *** [.build_release/tools/caffe.bin] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement