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

Missing dependencies documentation CMAKE_CXX_COMPILER and Boost_INCLUDE_DIR and #18

Open
azzoti opened this issue Feb 8, 2022 · 3 comments

Comments

@azzoti
Copy link

azzoti commented Feb 8, 2022

Easy Solution to the problems below on "apt" based linux

sudo apt install build-essential libboost-system-dev libboost-thread-dev libboost-program-options-dev libboost-test-dev

sudo apt install libpcl-dev

Problem 1:

CMake Error at CMakeLists.txt:2 (project):
No CMAKE_CXX_COMPILER could be found.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.

Problem 2:

CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find Boost (missing: Boost_INCLUDE_DIR thread)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.16/Modules/FindBoost.cmake:2179 (find_package_handle_standard_args)
CMakeLists.txt:4 (find_package)

Solution:
sudo apt install build-essential libboost-system-dev libboost-thread-dev libboost-program-options-dev libboost-test-dev

Problem 3:

CMake Error at CMakeLists.txt:5 (find_package):
By not providing "FindPCL.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "PCL", but
CMake did not find one.

@JoeNajm
Copy link

JoeNajm commented Mar 7, 2022

Hello,
I have the same problem as your Problem 3. Did you manage to find a solution ?

@azzoti
Copy link
Author

azzoti commented Mar 7, 2022 via email

@JoeNajm
Copy link

JoeNajm commented Mar 7, 2022

Hello, thanks for your fast response. "sudo apt install libpcl-dev" solved the issue :)

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

No branches or pull requests

2 participants