boostorg / boostorg/python

boost-1.71.0 problem with python

Đang mở
#276 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
537
Fork
223
Merge trung bình
11 giờ 22 phút
Pull request đã merge (30 ngày)
2

Mô tả

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".

```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.