Hey guys,
This is bit of an emergency. I'm struggling to install Caffe on my ubuntu machine to proceed with my Final Year project. When I use the command make all -j8 it gives me the following error. Any help?
src/caffe/util/bbox_util.cpp: In instantiation of ‘void caffe::RboxToPolygon(const Dtype*, caffe::Polygon&) [with Dtype = float; caffe::Polygon = boost::geometry::model::polygon<boost::geometry::model::d2::point_xy<float> >]’:
src/caffe/util/bbox_util.cpp:747:64: required from here
src/caffe/util/bbox_util.cpp:743:145: error: ‘str’ was not declared in this scope
std::string s = str(boost::format("POLYGON((%1% %2%, %3% %4%, %5% %6%, %7% %8%, %9% %10%))") % x1 % y1 % x2 % y2 % x3 % y3 % x4 % y4 % x1 % y1);
^
src/caffe/util/bbox_util.cpp:743:145: note: suggested alternative: ‘sbrk’
std::string s = str(boost::format("POLYGON((%1% %2%, %3% %4%, %5% %6%, %7% %8%, %9% %10%))") % x1 % y1 % x2 % y2 % x3 % y3 % x4 % y4 % x1 % y1);
thanks in advance