bjorn
bjorn

Reputation: 338

Error in compiling caffe on Ubuntu 17.04

I need to use the Single Shot Multibox Detector implemented in Caffe. After cloning the repository, I've switched to the correct branch and I've installed all the dependencies required (by following the guide on caffe website). Unfortunately, when I compile at certain point I get this error:

.build_release/lib/libcaffe.so: undefined reference to "boost::re_detail_106200::cpp_regex_traits_implementation<char>::transform(char const*, char const*) const"

But boost is installed. How can I resolve?

Upvotes: 0

Views: 126

Answers (1)

rkellerm
rkellerm

Reputation: 5512

Add boost_regex to LIBRARIES variable in Makefile in case you use Makefile.config compilation, or to find_package(Boost 1.54 REQUIRED COMPONENTS system thread filesystem) line in caffe/cmake/Dependencies.cmake

Upvotes: 2

Related Questions