Error when compiling Caffe on OSX 10.12.1

38 views
Skip to first unread message

Weijie Wang

unread,
Nov 23, 2016, 1:50:48 PM11/23/16
to Caffe Users
I followed the instruction here and the file compilation is fine. But when it gets into the linker stage, I got the following error: 
LD -o .build_release/lib/libcaffe.so.1.0.0-rc3
clang: warning: argument unused during compilation: '-pthread'
ld: library not found for -lopencv_core
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [.build_release/lib/libcaffe.so.1.0.0-rc3] Error 1
I searched online but found nothing :(
Can anyone help me out? Thank you ahead

Attached is my Makefile.config and I installed opencv3 inaddition to opencv using `brew install --HEAD opencv3`
Makefile.config
Reply all
Reply to author
Forward
0 new messages