Makefile.config for UBuntu 16.041+CUDA9.1

107 views
Skip to first unread message

yumin...@gmail.com

unread,
Mar 6, 2018, 3:53:02 PM3/6/18
to Caffe Users
HI there,

After modified the Makefile.config and Makefile, I did make all and recieved followinf error message:

collect2: error: ld returned 1 exit status
Makefile:566: recipe for target '.build_release/lib/libcaffe.so.1.0.0-rc3' failed
make: *** [.build_release/lib/libcaffe.so.1.0.0-rc3] Error 1

I upload my Makefile.config and Makefile in the attachment.

I don't have cuDNN, I use opencv 3.4.0.

Thank you for your time.

Best,
bear
Makefile
Makefile.config

yumin...@gmail.com

unread,
Mar 6, 2018, 3:55:10 PM3/6/18
to Caffe Users
Sorry, I lost two lines in error message:

/usr/bin/ld: cannot find -lopencv_imgcodecs
/usr/bin/ld: cannot find -lopencv_videoio

collect2: error: ld returned 1 exit status
Makefile:566: recipe for target '.build_release/lib/libcaffe.so.1.0.0-rc3' failed
make: *** [.build_release/lib/libcaffe.so.1.0.0-rc3] Error 1

在 2018年3月6日星期二 UTC+1下午9:53:02,yumin...@gmail.com写道:
Reply all
Reply to author
Forward
0 new messages