MYNT-EYE-S-SDK
MYNT-EYE-S-SDK copied to clipboard
Building with OpenCV4
Hi all,
I am building the SDK with OpenCV4 on Ubuntu 20.04. I have got the build to work but due to this configuration in Options.cmake:
if(WITH_API) include(${CMAKE_CURRENT_LIST_DIR}/DetectOpenCV.cmake) if(WITH_OPENCV4) set(WITH_CAM_MODELS OFF) endif()
The option of WITH_CAM_MODELS is OFF. I am getting this linker error when building the sample due to this:
[ 4%] Linking CXX executable ../_output/bin/record
/usr/bin/ld: /usr/local/lib/libmynteye.so.2.5.0: undefined reference to mynteye::DepthProcessor::DepthProcessor(std::shared_ptr<mynteye::CameraROSMsgInfoPair>, std::shared_ptr<int>, std::shared_ptr<int>, int)' /usr/bin/ld: /usr/local/lib/libmynteye.so.2.5.0: undefined reference to mynteye::PointsProcessor::PointsProcessor(std::shared_ptrmynteye::CameraROSMsgInfoPair, int)'
collect2: error: ld returned 1 exit status
Is the only solution to use lower version of OpenCV library ? Could the SDK be updated in anyway ?
Thanks
maybe i think ubuntu18 is key of the problem