Skip to content

Boost 1.48 needed despite already install boost 1.60.0 #2

Description

@dendisuhubdy

CMake Error at CMakeLists.txt:332 (MESSAGE):
Could not find a boost installation in
/private/var/.home/admin/Documents/code/winst/install.

There are two methods in Wt to find boost:

  1. Find boost through cmake (recommended)

This requires cmake 2.6, and is in that case the default (unless
BOOST_COMPILER or BOOST_VERSION is defined). This method requires a
multi-threaded boost installation.

You may need to add your boost version number to Boost_ADDITIONAL_VERSIONS,
and/or set BOOST_PREFIX to the location where boost is installed.
2. Use the Wt-proprietary method to find boost.

This requires you to define three variables:

BOOST_PREFIX: set to the directory where you installed boost

BOOST_COMPILER: set to the compiler signature as you find them in library
names (e.g.: gcc42)

BOOST_VERSION: set to the boost version, again as you find them in the
library names (e.g.: 1_38)

Note 1: WT_BOOST_DISCOVERY is the variable that selects the boost discovery
method. When set to false, method 1 is used (default if cmake version is
recent enough and BOOST_COMPILER and BOOST_VERSION are not defined). When
set to true, method 2 is used.

Note 2: the code to discover boost is located in cmake/WtFindBoost.txt

Note 3: on windows, set BOOST_PREFIX to the full path, eg c:/Program
Files/boost/boost_1_38

Note 4: if you do not have boost.random, set WT_NO_BOOST_RANDOM to ONWt
requires the following C++ boost libraries: date_time, regex,
program_options, signals, random, and optionally thread

-- Configuring incomplete, errors occurred!
See also "/private/var/.home/admin/Documents/code/winst/wt-build/CMakeFiles/CMakeOutput.log".
See also "/private/var/.home/admin/Documents/code/winst/wt-build/CMakeFiles/CMakeError.log".
make: *** [wt] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions