opencv - cant find lopencv_core when install caffe -


cxx tools/extract_features.cpp cxx tools/compute_image_mean.cpp cxx tools/train_net.cpp cxx tools/device_query.cpp cxx tools/upgrade_solver_proto_text.cpp cxx tools/finetune_net.cpp cxx tools/upgrade_net_proto_text.cpp cxx tools/upgrade_net_proto_binary.cpp nvcc warning : 'compute_20', 'sm_20', , 'sm_21' architectures deprecated, , may removed in future release (use -wno-deprecated-gpu-targets suppress warning). cxx tools/convert_imageset.cpp nvcc warning : 'compute_20', 'sm_20', , 'sm_21' architectures deprecated, , may removed in future release (use -wno-deprecated-gpu-targets suppress warning). cxx tools/caffe.cpp cxx tools/test_net.cpp cxx examples/siamese/convert_mnist_siamese_data.cpp cxx examples/mnist/convert_mnist_data.cpp cxx examples/cpp_classification/classification.cpp cxx examples/cifar10/convert_cifar_data.cpp cxx .build_release/src/caffe/proto/caffe.pb.cc ar -o .build_release/lib/lenter code hereibcaffe.a ld -o .build_release/lib/libcaffe.so.1.0.0 /usr/bin/ld: cannot find -l -lopencv_core collect2: error: ld returned 1 exit status makefile:573: recipe target '.build_release/lib/libcaffe.so.1.0.0' failed make: *** [.build_release/lib/libcaffe.so.1.0.0] error 1 

i got error when compile caffe. have built opencv3.2.0 , libopenc_core.so in /usr/local/lib. have spent whole day on , still don't know why. need help

add directory /usr/local/lib file /etc/ld.so.conf.
after run command sudo ldconfig in order changes take effect , recompile caffe


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -