Skip to content

Fixed missing opencv interface in CMakeLists#2

Open
scchow wants to merge 1 commit into
KavrakiLab:masterfrom
scchow:fix-example
Open

Fixed missing opencv interface in CMakeLists#2
scchow wants to merge 1 commit into
KavrakiLab:masterfrom
scchow:fix-example

Conversation

@scchow
Copy link
Copy Markdown

@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