Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake can't find boost #22

Closed
sanuj opened this issue Sep 29, 2015 · 3 comments
Closed

cmake can't find boost #22

sanuj opened this issue Sep 29, 2015 · 3 comments

Comments

@sanuj
Copy link
Contributor

sanuj commented Sep 29, 2015

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".

@linas
Copy link
Member

linas commented Sep 30, 2015

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

@sanuj
Copy link
Contributor Author

sanuj commented Sep 30, 2015

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

@linas
Copy link
Member

linas commented Sep 30, 2015

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants