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

gmock dependency is missing #1391

Closed
AndyZe opened this issue Nov 26, 2024 · 3 comments
Closed

gmock dependency is missing #1391

AndyZe opened this issue Nov 26, 2024 · 3 comments
Labels

Comments

@AndyZe
Copy link
Contributor

AndyZe commented Nov 26, 2024

I think a gmock dependency is missing. With a fresh build from a docker container, either master branch or humble branch, I get:

CMake Warning at /opt/ros/humble/share/ament_cmake_gmock/cmake/ament_cmake_gmock-extras.cmake:110 (message):
  'gmock' not found, C++ tests using 'Google Mock' can not be built.  Please
  install the 'Google Mock' headers globally in your system to enable these
  tests (e.g.  on Ubuntu/Debian install the package 'google-mock') or get the
  ament package 'gmock_vendor'
Call Stack (most recent call first):
  /opt/ros/humble/share/ament_cmake_gmock/cmake/ament_add_gmock.cmake:50 (_ament_cmake_gmock_find_gmock)
  CMakeLists.txt:54 (ament_add_gmock)

I had run this previously which should have installed any deps: rosdep install --from-paths src -y --ignore-src

@AndyZe AndyZe added the bug label Nov 26, 2024
@AndyZe
Copy link
Contributor Author

AndyZe commented Nov 26, 2024

Duplicate of #1292

@AndyZe AndyZe marked this as a duplicate of #1292 Nov 26, 2024
@AndyZe AndyZe closed this as completed Nov 26, 2024
@christophfroehlich
Copy link
Contributor

christophfroehlich commented Nov 28, 2024

Which container did you use, also an IsaacROSDev container?

@AndyZe
Copy link
Contributor Author

AndyZe commented Nov 29, 2024

Yeah, also IsaacROSDev.

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

No branches or pull requests

2 participants