[C++-sig] Problems on Boost:Python

rongbao at ipp.ac.cn rongbao at ipp.ac.cn
Mon Jul 8 11:22:35 EDT 2019


Dear Boost Team,
I am a beginner of Boost, and want to use Boost and Python for an open-source CAE software OOFEM installation on MS/Windows though Cmake 3.15. I use win7, Visual Studio 2017, python-3.7.3-amd64, and boost_1_70_0-msvc-14.1-64 (Prebuilt windows binaries from https://www.boost.org/users/download/). When I set my Cmake path, it needs Boost_PYTHON-PY37_LIBRARY_RELEASE and Boost_PYTHON-PY37_LIBRARY_DEBUG, but in the boost Folder there is only Boost_PYTHON-PY37_LIBRARY_DEBUG and Boost_PYTHON-PY37_LIBRARY_RELEASE. I want to know how to obtain the Boost_PYTHON-PY37_LIBRARY_RELEASE and Boost_PYTHON-PY37_LIBRARY_DEBUG. I run "Configure" without Boost_PYTHON-PY37_LIBRARY_DEBUG and Boost_PYTHON-PY37_LIBRARY_RELEASE, it shows:
 
CMake Warning at C:/Program Files/CMake/share/cmake-3.15/Modules/FindBoost.cmake:1832 (message):
  No header defined for python-py37; skipping header check
Call Stack (most recent call first):
  CMakeLists.txt:507 (find_package)
 
CMake Error at C:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find Boost (missing: python-py37) (found version "1.70.0")
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files/CMake/share/cmake-3.15/Modules/FindBoost.cmake:1990 (find_package_handle_standard_args)
  CMakeLists.txt:507 (find_package)
 
I don't know how to solve these problems. Would you kindly please tell me the mistakes?
Thank you very much for all your help.
Best regards,
Bao Rong
****************************************************
Bao Rong, Ph.D.
Hefei Institutes of Physical Science, Chinese Academy of Sciences
ADD: Institute of Plasma Physics, 350 Shushanhu Road,Hefei,Anhui,230031
Email: rongbao at ipp.ac.cn; rongbao_nust at sina.com
*****************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20190708/1857f0c2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: InsertPic_.jpg
Type: image/jpeg
Size: 21429 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20190708/1857f0c2/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Problems on Boost Python.docx
Type: application/octet-stream
Size: 138002 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20190708/1857f0c2/attachment-0001.obj>


More information about the Cplusplus-sig mailing list