简体   繁体   中英

OpenNERO windows: Could not find the following Boost libraries: boost_python

I am trying to run OpenNERO on my Windows 10. I had installed all the dependencies mentioned on their wiki for building it. My Python version is 2.7.15 (have tried with Python 2.7, and latest 3.7.1 as well), boost version is 1.58 (have tried 1.66 and 1.53 as well).

I went to my boost folder location: "C:\\Program Files\\boost\\boost_1_67_0", and opened the command prompt as an administrator in that location, and then followed the instructions to build boost. I ran the bootstrap.bat file in the cmd, output shown below: 在此处输入图片说明

Then I ran the .\\b2 --build-type=complete -j2 command which ran for a couple of hours and the short output is shown in this pastebin .

Following this I went to Cmake and tried to build the project which gave me following errors:

Could NOT find Boost

Boost version: 1.67.0

Boost include path: C:/Program Files/boost/boost_1_67_0

Could not find the following Boost libraries:

  boost_python 

Some (but not all) of the required Boost libraries were found. You may need to install these additional Boost libraries. Alternatively, set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost.

CMake Error at source/CMakeLists.txt:33 (MESSAGE):

Boost libraries were not found, please install from http://www.boost.org/

I have all the boost-python files in my stage/libs folder as shown below then why is it giving me this error?

在此处输入图片说明 My environment variables are also correctly set-up as shown below: 在此处输入图片说明

Changed the line 26 in this cmake file from FIND_PACKAGE (Boost COMPONENTS python filesystem serialization system date_time) to FIND_PACKAGE (Boost COMPONENTS python27 filesystem serialization system date_time) so that it looks for python27 instead of python. Also used the 64bit generator in cmake gui instead of the 32 bit one.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM