opencog / cogutil

Very low-level C++ programming utilities used by several components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cmake can't find boost

sanuj opened this issue · comments

I have installed libboost-dev at the default location /usr/include but still getting this error. All the libraries mentioned below are present in /usr/include/boost.

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

  Boost version: 1.54.0

  Boost include path: /usr/include

  Could not find the following static Boost libraries:

          boost_date_time
          boost_filesystem
          boost_program_options
          boost_regex
          boost_serialization
          boost_system
          boost_thread

  No Boost libraries were found.  You may need to 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:151 (FIND_PACKAGE)


CMake Error at CMakeLists.txt:160 (MESSAGE):
  Boost 1.46 or newer is needed to build OpenCog!


-- Configuring incomplete, errors occurred!
See also "/home/sanuj/Projects/opencog-full/cogutils/build/CMakeFiles/CMakeOutput.log".

in addtion to libboost-dev you need to install libboost-date-time-dev and so on.

Thanks @linas! That worked. Can I add these dependencies in the README and send a PR for that?

yes sure!

On Wed, Sep 30, 2015 at 9:26 AM, Sanuj Sharma notifications@github.com
wrote:

Thanks @linas https://github.com/linas! That worked. Can I add these
dependencies in the README and send a PR for that?


Reply to this email directly or view it on GitHub
#22 (comment).