Unable to compile latest caffe

59 views
Skip to first unread message

shourabh rawat

unread,
May 4, 2016, 2:15:22 AM5/4/16
to Caffe Users
Hi All,

Getting the following error during make

CXX/LD -o .build_release/tools/upgrade_solver_proto_text.bin
.build_release/tools/upgrade_solver_proto_text.o: In function `main':
upgrade_solver_proto_text.cpp:(.text.startup+0x19b): undefined reference to `caffe::SolverNeedsTypeUpgrade(caffe::SolverParameter const&)'
upgrade_solver_proto_text.cpp:(.text.startup+0x1aa): undefined reference to `caffe::UpgradeSolverAsNeeded(std::string const&, caffe::SolverParameter*)'
collect2: error: ld returned 1 exit status
make: *** [.build_release/tools/upgrade_solver_proto_text.bin] Error 1

Not sure what is causing this error. I have successfully built caffe versions in the past.
I am on Ubuntu 14.04

Anybody experienced this error before ? 

shourabh rawat

unread,
May 12, 2016, 5:51:21 PM5/12/16
to Caffe Users
It seems the issue could be solved by building using cmake instead.
Reply all
Reply to author
Forward
0 new messages