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

Can't find boost include files on fedora #29

Open
omerpaz95 opened this issue Feb 2, 2025 · 0 comments
Open

Can't find boost include files on fedora #29

omerpaz95 opened this issue Feb 2, 2025 · 0 comments

Comments

@omerpaz95
Copy link

I have followed the instructions on the main page.
Trying to build on Fedora39, I get the following error:

$ cmake .
-- The CUDA compiler identification is NVIDIA 12.4.131
-- The CXX compiler identification is GNU 11.2.0
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /home/fedora/miniconda3/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/fedora/miniconda3/bin/x86_64-conda-linux-gnu-c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting underlying CUDA Arch to set CMAKE_CUDA_ARCHITECTURES
-- Auto detection of gpu-archs: 80
CMake Warning (dev) at CMakeLists.txt:31 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Boost: /usr/lib64/cmake/Boost-1.81.0/BoostConfig.cmake (found version "1.81.0") found components: program_options
-- Configuring done (24.3s)
-- Generating done (0.0s)
-- Build files have been written to: /home/fedora/nvbandwidth
(base) [fedora@nvidia-gpu-benchmark nvbandwidth]$ make
[ 10%] Building CXX object CMakeFiles/nvbandwidth.dir/testcase.cpp.o
[ 20%] Building CXX object CMakeFiles/nvbandwidth.dir/testcases_ce.cpp.o
[ 30%] Building CXX object CMakeFiles/nvbandwidth.dir/testcases_sm.cpp.o
[ 40%] Building CUDA object CMakeFiles/nvbandwidth.dir/kernels.cu.o
[ 50%] Building CXX object CMakeFiles/nvbandwidth.dir/memcpy.cpp.o
[ 60%] Building CXX object CMakeFiles/nvbandwidth.dir/nvbandwidth.cpp.o
/home/fedora/nvbandwidth/nvbandwidth.cpp:18:10: fatal error: boost/program_options.hpp: No such file or directory
   18 | #include <boost/program_options.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/nvbandwidth.dir/build.make:147: CMakeFiles/nvbandwidth.dir/nvbandwidth.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/nvbandwidth.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

CMake version:

$ cmake --version
cmake version 3.30.5

CMake suite maintained and supported by Kitware (kitware.com/cmake).

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

1 participant