1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
Check for working C compiler using: Visual Studio 9 2008
Check for working C compiler using: Visual Studio 9 2008 -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler using: Visual Studio 9 2008
Check for working CXX compiler using: Visual Studio 9 2008 -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Looking for include files CMAKE_HAVE_PTHREAD_H
Looking for include files CMAKE_HAVE_PTHREAD_H - not found.
Found Threads: TRUE
CMake Error at CMakeLists.txt:31 (MESSAGE):
Could not find a boost installation in .
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_DIR to the location where boost is installed.
2. Use the Wt-proprietary method to find boost.
This requires you to define three variables:
BOOST_DIR: 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: 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_DIR to the full path, eg c:/Program
Files/boost/boost_1_38
Wt requires the following C++ boost libraries: date_time, regex,
program_options, signals, and optionally thread
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.8)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
Configuring incomplete, errors occurred! |
Partager