• Uncategorized

About linux : Trying-to-build-caffe-and-pycaffe-in-RCNN

Question Detail

I’m on Ubuntu(20.04.3)

After entering this code to build caffe and pycaffe “make -j8 && make pycaffe”, this error log showed up but opencv seems to be the problem. I’m trying to follow this guide (https://github.com/rbgirshick/py-faster-rcnn)

CXX src/caffe/layers/image_data_layer.cpp
CXX src/caffe/layers/deconv_layer.cpp
CXX src/caffe/layers/silence_layer.cpp
CXX src/caffe/layers/softmax_loss_layer.cpp
CXX src/caffe/layers/smooth_L1_loss_layer.cpp
CXX src/caffe/layers/hdf5_output_layer.cpp
CXX src/caffe/layers/contrastive_loss_layer.cpp
CXX src/caffe/layers/cudnn_conv_layer.cpp
src/caffe/layers/image_data_layer.cpp:2:10: fatal error: opencv2/core/core.hpp: No such file or directory
    2 | #include <opencv2/core/core.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:563: .build_release/src/caffe/layers/image_data_layer.o] Error 1
make: *** Waiting for unfinished jobs....
src/caffe/layers/hdf5_output_layer.cpp:3:10: fatal error: hdf5.h: No such file or directory
    3 | #include "hdf5.h"
      |          ^~~~~~~~
compilation terminated.
make: *** [Makefile:563: .build_release/src/caffe/layers/hdf5_output_layer.o] Error 1

Question Answer

No answer for now.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.