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

make install failed #22

Closed
Tomoya-Sato opened this issue Apr 10, 2024 · 2 comments · Fixed by #23
Closed

make install failed #22

Tomoya-Sato opened this issue Apr 10, 2024 · 2 comments · Fixed by #23

Comments

@Tomoya-Sato
Copy link

Thank you for the great repo! I encountered a problem described below.

Description

make install fails because of missing FindTBB.cmake.

0.505 CMake Error at cmake_install.cmake:95 (file):
0.505   file INSTALL cannot find "/root/small_gicp/cmake/FindTBB.cmake": No such
0.505   file or directory.

Step to Reproduce

Add RUN make install after this line and build Docker image.

@ngtroku
Copy link

ngtroku commented Apr 10, 2024

I encountered same problem on my environment ( Ubuntu22.04 (Japanese), VMware17 ).

Error description

my_user_name@computer_name:~/small_gicp/build$ sudo make install
[100%] Built target small_gicp
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/local/include
-- Up-to-date: /usr/local/include/small_gicp
-- Up-to-date: /usr/local/include/small_gicp/benchmark
-- Up-to-date: /usr/local/include/small_gicp/benchmark/benchmark_odom.hpp
-- Up-to-date: /usr/local/include/small_gicp/benchmark/read_points.hpp
-- Up-to-date: /usr/local/include/small_gicp/benchmark/benchmark.hpp
-- Up-to-date: /usr/local/include/small_gicp/util
-- Up-to-date: /usr/local/include/small_gicp/util/normal_estimation.hpp
-- Up-to-date: /usr/local/include/small_gicp/util/vector3i_hash.hpp
-- Up-to-date: /usr/local/include/small_gicp/util/sort_omp.hpp
-- Up-to-date: /usr/local/include/small_gicp/util/downsampling_tbb.hpp
-- Up-to-date: /usr/local/include/small_gicp/util/fast_floor.hpp
-- Up-to-date: /usr/local/include/small_gicp/util/lie.hpp
-- Up-to-date: /usr/local/include/small_gicp/util/normal_estimation_omp.hpp
-- Up-to-date: /usr/local/include/small_gicp/util/downsampling_omp.hpp
-- Up-to-date: /usr/local/include/small_gicp/util/downsampling.hpp
-- Up-to-date: /usr/local/include/small_gicp/util/normal_estimation_tbb.hpp
-- Up-to-date: /usr/local/include/small_gicp/pcl
-- Up-to-date: /usr/local/include/small_gicp/pcl/pcl_point_traits.hpp
-- Up-to-date: /usr/local/include/small_gicp/pcl/pcl_point.hpp
-- Up-to-date: /usr/local/include/small_gicp/pcl/pcl_registration_impl.hpp
-- Up-to-date: /usr/local/include/small_gicp/pcl/pcl_proxy.hpp
-- Up-to-date: /usr/local/include/small_gicp/pcl/pcl_registration.hpp
-- Up-to-date: /usr/local/include/small_gicp/factors
-- Up-to-date: /usr/local/include/small_gicp/factors/icp_factor.hpp
-- Up-to-date: /usr/local/include/small_gicp/factors/plane_icp_factor.hpp
-- Up-to-date: /usr/local/include/small_gicp/factors/general_factor.hpp
-- Up-to-date: /usr/local/include/small_gicp/factors/gicp_factor.hpp
-- Up-to-date: /usr/local/include/small_gicp/registration
-- Up-to-date: /usr/local/include/small_gicp/registration/registration_helper.hpp
-- Up-to-date: /usr/local/include/small_gicp/registration/reduction_tbb.hpp
-- Up-to-date: /usr/local/include/small_gicp/registration/registration.hpp
-- Up-to-date: /usr/local/include/small_gicp/registration/termination_criteria.hpp
-- Up-to-date: /usr/local/include/small_gicp/registration/reduction_omp.hpp
-- Up-to-date: /usr/local/include/small_gicp/registration/rejector.hpp
-- Up-to-date: /usr/local/include/small_gicp/registration/registration_result.hpp
-- Up-to-date: /usr/local/include/small_gicp/registration/optimizer.hpp
-- Up-to-date: /usr/local/include/small_gicp/registration/reduction.hpp
-- Up-to-date: /usr/local/include/small_gicp/ann
-- Up-to-date: /usr/local/include/small_gicp/ann/gaussian_voxelmap.hpp
-- Up-to-date: /usr/local/include/small_gicp/ann/kdtree_tbb.hpp
-- Up-to-date: /usr/local/include/small_gicp/ann/nanoflann.hpp
-- Up-to-date: /usr/local/include/small_gicp/ann/kdtree.hpp
-- Up-to-date: /usr/local/include/small_gicp/ann/flat_container.hpp
-- Up-to-date: /usr/local/include/small_gicp/ann/nanoflann_tbb.hpp
-- Up-to-date: /usr/local/include/small_gicp/ann/traits.hpp
-- Up-to-date: /usr/local/include/small_gicp/ann/kdtree_omp.hpp
-- Up-to-date: /usr/local/include/small_gicp/ann/nanoflann_omp.hpp
-- Up-to-date: /usr/local/include/small_gicp/ann/incremental_voxelmap.hpp
-- Up-to-date: /usr/local/include/small_gicp/points
-- Up-to-date: /usr/local/include/small_gicp/points/traits.hpp
-- Up-to-date: /usr/local/include/small_gicp/points/point_cloud.hpp
-- Up-to-date: /usr/local/lib/libsmall_gicp.so
-- Up-to-date: /usr/local/lib/cmake/small_gicp/small_gicp-targets.cmake
-- Up-to-date: /usr/local/lib/cmake/small_gicp/small_gicp-targets-release.cmake
-- Up-to-date: /usr/local/lib/cmake/small_gicp/small_gicp-config.cmake
-- Up-to-date: /usr/local/lib/cmake/small_gicp/small_gicp-config-version.cmake
CMake Error at cmake_install.cmake:90 (file):
  file INSTALL cannot find "/home/my_user_name/small_gicp/cmake/FindTBB.cmake": No
  such file or directory.


make: *** [Makefile:86: install] エラー 1

@koide3
Copy link
Owner

koide3 commented Apr 11, 2024

@Tomoya-Sato @ngtroku
Thank you for reporting the issue. #23 should fix it.

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 a pull request may close this issue.

3 participants