Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building with OpenCV4 #128

Open
RaviBeagle opened this issue Jul 15, 2022 · 1 comment
Open

Building with OpenCV4 #128

RaviBeagle opened this issue Jul 15, 2022 · 1 comment

Comments

@RaviBeagle
Copy link

RaviBeagle commented Jul 15, 2022

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

@cwg968
Copy link

cwg968 commented Sep 14, 2022

maybe i think ubuntu18 is key of the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants