boost-python-examples icon indicating copy to clipboard operation
boost-python-examples copied to clipboard

build on Ubuntu 16.04 with build.sh

Open Lotharla opened this issue 5 years ago • 0 comments

The 'build.sh' script fails on building the embedding example. Cmake output tells me: -- Could NOT find Boost: missing: python-py3 (found /usr/local/lib/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0"))

A solution was removing '-DPYTHON_VERSION_SUFFIX=-py3' in line 10 of 'build.sh'. After that the build of all the examples was successful, also the tests.

Environment:

  • OS: Ubuntu Linux
  • Version 16.04
  • Python Version 3.5
  • Boost Version 1.71
  • gcc (Ubuntu 5.5.0-12ubuntu1~16.04) 5.5.0 20171010

Lotharla avatar Jun 09 '20 17:06 Lotharla