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

Issue's with Native Build and Boost #80

Open
david2905 opened this issue Aug 7, 2023 · 0 comments
Open

Issue's with Native Build and Boost #80

david2905 opened this issue Aug 7, 2023 · 0 comments

Comments

@david2905
Copy link

Hi,
I tried to build paragraph from sources.
When I follow the Install Instruction from https://github.com/Illumina/paragraph/blob/master/doc/Installation.md
I get the error

CMake Error at /usr/lib/cmake/Boost-1.72.0/BoostConfig.cmake:120 (find_package):
  Could not find a package configuration file provided by
  "boost_program_options" (requested version 1.72.0) with any of the
  following names:

    boost_program_optionsConfig.cmake
    boost_program_options-config.cmake

  Add the installation prefix of "boost_program_options" to CMAKE_PREFIX_PATH
  or set "boost_program_options_DIR" to a directory containing one of the
  above files.  If "boost_program_options" provides a separate development
  package or SDK, be sure it has been installed.
Call Stack (most recent call first):
  /usr/lib/cmake/Boost-1.72.0/BoostConfig.cmake:185 (boost_find_component)
  /usr/share/cmake-3.25/Modules/FindBoost.cmake:594 (find_package)
  paragraph-build/external/graphtools-src/CMakeLists.txt:29 (find_package)

Then I tried latest version from boost 1.82 and paragraph find the correct location

CMake Error at /scratch/local2/der_jan/lib/cmake/Boost-1.82.0/BoostConfig.cmake:141 (find_package):
  Found package configuration file:

    /scratch/local2/der_jan/lib/cmake/boost_iostreams-1.82.0/boost_iostreams-config.cmake

  but it set boost_iostreams_FOUND to FALSE so package "boost_iostreams" is
  considered to be NOT FOUND.  Reason given by package:

  No suitable build variant has been found.

  The following variants have been tried and rejected:

  * libboost_iostreams.a (shared runtime, Boost_USE_STATIC_RUNTIME=ON)

Call Stack (most recent call first):
  /scratch/local2/der_jan/lib/cmake/Boost-1.82.0/BoostConfig.cmake:262 (boost_find_component)
  /usr/share/cmake-3.25/Modules/FindBoost.cmake:594 (find_package)
  CMakeLists.txt:54 (find_package)

Next I tried boost 1.72 I get similar error

CMake Error at /scratch/local2/der_jan/lib/cmake/Boost-1.72.0/BoostConfig.cmake:120 (find_package):
  Found package configuration file:

    /scratch/local2/der_jan/lib/cmake/boost_program_options-1.72.0/boost_program_options-config.cmake

  but it set boost_program_options_FOUND to FALSE so package
  "boost_program_options" is considered to be NOT FOUND.  Reason given by
  package:

  No suitable build variant has been found.

  The following variants have been tried and rejected:

  * libboost_program_options.a (static, default is shared, set
  Boost_USE_STATIC_LIBS=ON to override)

Call Stack (most recent call first):
  /scratch/local2/der_jan/lib/cmake/Boost-1.72.0/BoostConfig.cmake:185 (boost_find_component)
  /usr/share/cmake-3.25/Modules/FindBoost.cmake:594 (find_package)
  paragraph-build/external/graphtools-src/CMakeLists.txt:29 (find_package)
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