RoblabWh / RobLearn

ROS Robotic Deep Learning
167 stars 59 forks source link

bash build.sh error #3

Closed Heegu94 closed 5 years ago

Heegu94 commented 5 years ago

When i run bash build.sh or bash build_avx.sh for the 2D simulation, the following error occurs.

CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
  Imported targets not available for Boost version 106700
Call Stack (most recent call first):
  /usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:19 (find_package)

CMake Error at /usr/share/cmake-3.5/Modules/FindBoost.cmake:1677 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.67.0

  Boost include path: /home/heegu/anaconda2/envs/keras-py3/include

  Could not find the following Boost libraries:

          boost_python-py36

  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.
Call Stack (most recent call first):
  CMakeLists.txt:19 (find_package)

-- Configuring incomplete, errors occurred!`

So i installed Boost 1,67.0 version with boost_1_67_0.tar.bz2, and compiled but the same error is repeated.

I also set the directory of BOOST_ROOT and BOOST_LIBRARYDIR in ~/.bashrc, but the same error... How could i solve this kind of issue?

roblab2011 commented 5 years ago

See issue in the readme

For ubuntu 18.04 change python 3.5 to 3.6 and (python-py35 -> python.py36) in Simulation2d/CMakeLists.txt

hjj-666 commented 3 years ago

I have the same problem, I use ubuntu16.04 and python3.6, how can I solve it?