Skip to content

Can't compile with boost library in CentOS 6.6 #2

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. yum install boost-devel
2. my boost version is 1.54
3. No idea how to compile with boost error below

What is the expected output? What do you see instead?
When i changed to /usr/lib64, i get the error like this:

CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:651 (file):
  file STRINGS file "/usr/lib64/boost/version.hpp" cannot be read.
Call Stack (most recent call first):
  CMakeLists.txt:38 (find_package)


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

  Boost version: 0.0.0

  Boost include path: /usr/lib64



What version of the product are you using? On what operating system?
CentOS 6.6, the latest dynamic cpp


CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:1138 (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_unit_test_framework

pls help. thanks

Original issue reported on code.google.com by s...@bcz.com on 9 Dec 2014 at 5:59

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions