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

Fixed missing opencv interface in CMakeLists #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

scchow
Copy link

@scchow scchow commented Nov 21, 2022

Currently, building roscpp_gl_depth_sim_demos throws a linker error that fails to resolve gl_depth_sim::toCvImage16u

camera_example.cpp(.text.startup+0x129e): undefined reference to `gl_depth_sim::toCvImage16u(gl_depth_sim::DepthImage const&, cv::Mat&)'
collect2: error: ld returned 1 exit status

Tracked down the issue to a deleted line in CMakeLists.txt that references opencv_interface where the function is defined.
Re-adding opencv_inferface allows the demos to compile without error.

- Currently, building roscpp_gl_depth_sim_demos throws a linker error
  that fails to resolve `gl_depth_sim::toCvImage16u`
- Tracked down issue to a deleted line in CMakeLists that references
  `opencv_interface` where function is defined.
- Re-adding opencv_inferface allows the examples to compile
  and run again.
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

Successfully merging this pull request may close these issues.

1 participant