Hi,
I am trying to install Caffe without GPU using faster rcnn. After installing all the dependencies, when I run make -j8 && make pycaffe, I get the following error:
AR -o .build_release/lib/libcaffe.a
LD -o .build_release/lib/libcaffe.so.1.0.0-rc3
/usr/bin/ld: cannot find -lopencv_imgcodecs
collect2: error: ld returned 1 exit status
make: *** [.build_release/lib/libcaffe.so.1.0.0-rc3] Error 1
Due to earlier errors, I had made this change to my Makefile:
LIBRARIES += glog gflags protobuf boost_system boost_filesystem m hdf5_hl hdf5 opencv_imgcodecs opencv_core opencv_highgui opencv_imgproc
In the above line, I added everything after hdf5.
I also had OpenCV 3 earlier, but I uninstalled it and installed OpenCV 2.4.8. I am using ElementaryOS 0.3.2 Freya - build on Ubuntu 14.04.
Any help would be appreciated. Thanks.