We have a C++ project which uses OpenVINO 2020.1 (In a docker image). I am trying to upgrade the project to use 2020.4 now and make fails at the linking stage complaining the following:
/usr/bin/ld: CMakeFiles/furhat-camcore.dir/src/intel/detectors.cpp.o: undefined reference to symbol '_ZTIN15InferenceEngine10MemoryBlobE'
//opt/intel/openvino/deployment_tools/inference_engine/lib/intel64/libinference_engine_legacy.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/furhat-camcore.dir/build.make:673: recipe for target 'furhat-camcore' failed
make: *** [furhat-camcore] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/furhat-camcore.dir/all' failed
make: *** [CMakeFiles/furhat-camcore.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
I have all the libraries listed in my LD_LIBRARY_PATH and have ran the setupvars.sh script in the current terminal (and it is also run in the docker image creation process through the Dockerfile). My LD_LIBRARY_PATH output:
The same exact project with no changes to the CMakeLists.txt builds with my other Docker image which contains 2020.1.
I have attached my CMakeLists.txt below.
Any help appreciated
Thanks and cheers,
I would suggest you build a new Docker image for OpenVINO 2020.4.
Relevant information is available at the following page:
Thanks for your response.
I built a new docker container based on openvino/ubuntu18_dev:2020.4 (https://hub.docker.com/r/openvino/ubuntu18_dev) and no luck. I still have the same exact linker error as I had previously. I have attached my Dockerfile, if you wanna take a look.
Thank you for sharing your findings with our community.
Intel will no longer monitor this thread since this issue has been resolved. If you need any additional information from Intel, please submit a new question.