boostorg / boostorg/python

boost-1.71.0 problem with python

未关闭
#276 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C++
星标
537
派生
223
平均合并
11 小时 22 分钟
30 天内合并 PR
2

描述

Hi.I am trying to use boost 1.71 and I have a problem while 'cmak'ing a package. Can you help me for fixing this problem?

Thank You

```
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- The CXX compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at cmake/base.cmake:198 (PROJECT):
DESCRIPTION keyword not followed by a value or was followed by a value that
expanded to nothing.
Call Stack (most recent call first):
CMakeLists.txt:38 (setup_project)

-- Performing Test R-pedantic
-- Performing Test R-pedantic - Success
-- Performing Test R-Wno-long-long
-- Performing Test R-Wno-long-long - Success
-- Performing Test R-Wall
-- Performing Test R-Wall - Success
-- Performing Test R-Wextra
-- Performing Test R-Wextra - Success
-- Performing Test R-Wcast-align
-- Performing Test R-Wcast-align - Success
-- Performing Test R-Wcast-qual
-- Performing Test R-Wcast-qual - Success
-- Performing Test R-Wformat
-- Performing Test R-Wformat - Success
-- Performing Test R-Wwrite-strings
-- Performing Test R-Wwrite-strings - Success
-- Performing Test R-Wconversion
-- Performing Test R-Wconversion - Success
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.11") found components: doxygen dot
-- Found Python: /usr/lib/x86_64-linux-gnu/libpython3.5m.so (found version "3.5") found components: Development
CMake Error at /usr/lib/cmake/Boost-1.71.0/BoostConfig.cmake:117 (find_package):
Found package configuration file:

/usr/lib/cmake/boost_python-1.71.0/boost_python-config.cmake

but it set boost_python_FOUND to FALSE so package "boost_python" 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_python27.so.1.71.0 (2.7, Boost_PYTHON_VERSION=3.5)

* libboost_python27.a (2.7, Boost_PYTHON_VERSION=3.5)

Call Stack (most recent call first):
/usr/lib/cmake/Boost-1.71.0/BoostConfig.cmake:182 (boost_find_component)
/usr/local/share/cmake-3.16/Modules/FindBoost.cmake:443 (find_package)
binding/python/CMakeLists.txt:23 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/mohammad/catkin_ws/lipm/copra/build/CMakeFiles/CMakeOutput.log".

```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。