Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opencv fault #6

Open
pczebra opened this issue Jul 2, 2018 · 4 comments
Open

opencv fault #6

pczebra opened this issue Jul 2, 2018 · 4 comments

Comments

@pczebra
Copy link

pczebra commented Jul 2, 2018

when i compile ShapePFCN, after the "make -j32" command, it returns the following error

/usr/bin/ld: warning: libopencv_core.so.3.4, needed by ./caffe-ours/build/lib/libcaffe.so, may conflict with libopencv_core.so.2.4
/usr/bin/ld: build_release/./MeshProcessor.o: undefined reference to symbol '_ZN2cv6String10deallocateEv'
//usr/local/lib/libopencv_core.so.3.4: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:156: recipe for target 'build_release/mvfcn.bin' failed
make: *** [build_release/mvfcn.bin] Error 1

what should i do to solve it ?

thank you for your attention!

@viralbthakar
Copy link

Did you solve this problem?

@viralbthakar
Copy link

Incase anyone faces this error, here is the solution. This error suggest that it is not able to find OpenCV Library files. I have modifiers Makefile (Not Makefile.config) and added following path

CV_LIB_PATH := /usr/local/lib/

and the append the CV_LIB_PATH to LIBRARY_DIRS using

LIBRARY_DIRS += $(CV_LIB_PATH)

FYI
I have built Caffe using OpenCV 3.

@pczebra
Copy link
Author

pczebra commented Sep 4, 2018

yes,i have this problem been solved, thank you for your help and sorry for responsing too late.

@FathiMahdi
Copy link

hey @viralbthakar there are many "LIBRARY_DIRS" in the Makefile which one have you changed ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants