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

cmake can't find boost headers #26

Open
lpgasparotto opened this issue Jan 2, 2020 · 1 comment
Open

cmake can't find boost headers #26

lpgasparotto opened this issue Jan 2, 2020 · 1 comment

Comments

@lpgasparotto
Copy link

I'm trying to compile libarea but I get the following error message:
`cmake -DCMAKE_INSTALL_PREFIX=/usr ..
-- The C compiler identification is GNU 9.2.1
-- The CXX compiler identification is GNU 9.2.1
-- Check for working C compiler: /usr/lib64/ccache/cc
-- Check for working C compiler: /usr/lib64/ccache/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++
-- Check for working CXX compiler: /usr/lib64/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- setting gcc options: -Wall -Werror -Wno-deprecated -pedantic-errors
-- CMAKE_BUILD_TYPE = Release
-- Python include dir:
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find Boost (missing: python) (found version "1.69.0")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindBoost.cmake:2165 (find_package_handle_standard_args)
CMakeLists.txt:43 (find_package)

CMake Warning (dev) in /usr/share/cmake/Modules/FindBoost.cmake:
Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH
and POP. Run "cmake --help-policy CMP0011" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.

The included script

/usr/share/cmake/Modules/FindBoost.cmake

affects policy settings. CMake is implying the NO_POLICY_SCOPE option for
compatibility, so the effects are applied to the including context.
Call Stack (most recent call first):
CMakeLists.txt:43 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
`
python27, python27-devel, python37, python37-devel, boost, boost-devel, boost-python27, boost-python27-devel, boost-python37 and boost-python37-devel are installed.

I'm using Fedora 31 KDE.

@J-Dunn
Copy link

J-Dunn commented Apr 9, 2022

Yeah, same here of Fedora34.
Looks like this code is an unmaintained museum piece now.
It lives on inside FreeCAD/FreeCAD but it's unmaintained and not understood there either.

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