MYNT-EYE-S-SDK icon indicating copy to clipboard operation
MYNT-EYE-S-SDK copied to clipboard

Building with OpenCV4

Open RaviBeagle opened this issue 3 years ago • 1 comments

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

RaviBeagle avatar Jul 15 '22 05:07 RaviBeagle

maybe i think ubuntu18 is key of the problem

cwg968 avatar Sep 14 '22 10:09 cwg968