gkioxari / RstarCNN

R*CNN
Other
132 stars 53 forks source link

..build_release./lib/libcaffe.so: undefined.build_release reference to /lib`cv:/libcaffe.so:imread: (cvundefined ::reference toString `constcv:&,:imread int(cv).': #1

Closed graphific closed 8 years ago

graphific commented 8 years ago

If anyone has this error when building the caffe-fast-rcnn it can be fixed by adding to the Makefile.config at the line with _LIBRARIES += glog gflags protobuf leveldb snappy \ lmdb boost_system hdf5_hl hdf5 m \ opencv_core opencv_highgui opencvimgproc add "opencv_imgcodecs" so it becomes: _LIBRARIES += glog gflags protobuf leveldb snappy \ lmdb boost_system hdf5_hl hdf5 m \ opencv_core opencv_highgui opencv_imgproc opencvimgcodecs

make clean make -j8 && make pycaffe

reference: https://github.com/BVLC/caffe/issues/2348

gkioxari commented 8 years ago

Nice! Thanks :)

suryawanshiswapnil commented 3 years ago

After done this i got this issue AR -o .build_release/lib/libcaffe.a LD -o .build_release/lib/libcaffe.so.1.0.0-rc3 ld: library not found for -l -llmdb

If anyone has this error when building the caffe-fast-rcnn it can be fixed by adding to the Makefile.config at the line with _LIBRARIES += glog gflags protobuf leveldb snappy \ lmdb boost_system hdf5_hl hdf5 m \ opencv_core opencv_highgui opencvimgproc add "opencv_imgcodecs" so it becomes: _LIBRARIES += glog gflags protobuf leveldb snappy \ lmdb boost_system hdf5_hl hdf5 m \ opencv_core opencv_highgui opencv_imgproc opencvimgcodecs

make clean make -j8 && make pycaffe

reference: BVLC/caffe#2348