Skip to content

Building with OpenCV4 #128

@RaviBeagle

Description

@RaviBeagle

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions