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

The build guide document need improve, boost library required by crow #73

Closed
ghost opened this issue Jun 17, 2015 · 4 comments
Closed

Comments

@ghost
Copy link

ghost commented Jun 17, 2015

Can not make due to require boost library
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- No build type selected, default to Release
CMake Error at /usr/share/cmake-3.0/Modules/FindBoost.cmake:1199 (message):
Unable to find the requested Boost libraries.

Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
CMakeLists.txt:18 (find_package)

@ghost
Copy link
Author

ghost commented Jun 17, 2015

This framework requires at least

netroby@ti:~/workspace/oss/crow/build$ cmake ..
-- Found Tcmalloc: /usr/lib/libtcmalloc_minimal.so
-- No build type selected, default to Release
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   date_time
--   filesystem
--   system
--   thread
-- Configuring done
-- Generating done
-- Build files have been written to: /home/netroby/workspace/oss/crow/build

@acron0
Copy link
Contributor

acron0 commented Jun 17, 2015

I'm confused. What's the issue?

@ghost ghost changed the title Can not make due to require boost library The build guide document need improve, boost library required by crow Jun 17, 2015
@ghost
Copy link
Author

ghost commented Jun 17, 2015

sudo apt-get install -y libboost-filesystem-dev libboost-date-time-dev libboost-dev libboost-thread-dev

@masterl
Copy link

masterl commented Mar 3, 2016

It has actually been in the readme for quite some time:

Requirements

C++ compiler with good C++11 support (tested with g++>=4.8)
boost library
CMake for build examples
Linking with tcmalloc/jemalloc is recommended for speed.

Now supporting VS2013 with limited functionality (only run-time check for url is available.)

Or maybe you are suggesting to say especifically which libraries from Boost as to not have to install everything?

This issue was closed.
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