jbehley / point_labeler

My awesome point cloud labeling tool
MIT License
647 stars 161 forks source link

Extend dependencies list #73

Closed kirilllzaitsev closed 7 months ago

kirilllzaitsev commented 1 year ago

Version 2 of this PR:

Having no libgtest-dev package installed, I faced the following issue when running catkin build:

fatal error: gtest/gtest.h: No such file or directory

Solution is to run sudo apt install libgtest-dev

Version 1 of this PR:

Having no google-mock package installed, I faced the following issue when running catkin build:

CMake Error at /home/master/.conda/envs/sc/lib/python3.9/site-packages/cmake/data/share/cmake-3.26/Modules/ExternalProject.cmake:3131 (message):
  No download info given for 'GMock' and its source directory:

   /usr/src/gmock

  is not an existing non-empty directory.  Please specify one of:

   * SOURCE_DIR with an existing non-empty directory
   * DOWNLOAD_COMMAND
   * URL
   * GIT_REPOSITORY
   * SVN_REPOSITORY
   * HG_REPOSITORY
   * CVS_REPOSITORY and CVS_MODULE

Solution is to do sudo apt install google-mock.

However, installing the package google-mock manually led to issues on other build stages. The ultimate solution was to reinstall point_labeler from scratch.

jbehley commented 7 months ago

should be resolved by directly fetching the right gtest version with the new cmake-only build. Therefore, closing this pull request.