lmb-freiburg / flownet2

FlowNet 2.0: Evolution of Optical Flow Estimation with Deep Networks

Home Page:https://lmb.informatik.uni-freiburg.de/Publications/2017/IMKDB17/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make fail

itsKaspar opened this issue · comments

hi !
I've been trying to make with

$ make -j 5 all tools pycaffe

/usr/bin/ld: warning: libopencv_core.so.3.1, needed by /usr/local/lib/libopencv_imgcodecs.so, may conflict with libopencv_core.so.2.4
/usr/bin/ld: .build_release/tools/convert_imageset_and_flow.o: undefined reference to symbol '_ZN2cv6String10deallocateEv'
//usr/local/lib/libopencv_core.so.3.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:620: recipe for target '.build_release/tools/convert_imageset_and_flow.bin' failed
make: *** [.build_release/tools/convert_imageset_and_flow.bin] Error 1
make: *** Waiting for unfinished jobs....

the make command is failing for me
I did uncomment the opencv 3 line

I am running Linux Mint 18.2
and have no problem with CUDA 8.0 or cudnn 5

error adding symbols: DSO missing from command line usually indicates that you should add that .so file to the build command, i.e. add -lopencv_core.
The referenced symbol _ZN2cv6String10deallocateEv is defined in my libopencv_core.so.3.2.0, so that sounds correct.

I'm not sure it's a good idea to mix OpenCV 2.4 and 3.1, though. You should probably try using only one of them.

I did uncomment the opencv 3 line

I don't understand this; what do you mean?

thanks !
added

-lopencv_core

& uninstalled OpenCV 2.4 bc it was conflicting and it all worked out :)