Support #281
Cygwin Build Using gcc
| Status: | Closed | Start: | 01/29/2010 | ||
|---|---|---|---|---|---|
| Priority: | Normal | Due date: | |||
| Assigned to: | Wim Dumon | % Done: | 90% |
||
| Category: | - | ||||
| Target version: | - |
Description
I would like to build wt using gcc under Cygwin.
Cmake gives the following error:
CMake Error at /usr/share/cmake-2.6.4/Modules/FindBoost.cmake:868 (message):
Unable to find the requested Boost libraries.
Boost version: 1.41.0
Boost include path: /home/Bill/boost/boost_1_41_0/wfk_installation/include
The following Boost libraries could not be found:
boost_date_time
boost_regex
boost_program_options
boost_signals
boost_system
boost_filesystem
boost_thread
yet these libraries exist in the directory
/home/Bill/boost/boost_1_41_0/wfk_installation/lib
with the "ld" library names:
libboost_date_time.a
libboost_regex.a
etc.
Cmakes _boost_LIBRARIES_SEARCH_DIRS contains this library directory along with
some other directory names that do not exist. With linefeeds added:
_boost_LIBRARIES_SEARCH_DIRS =
/home/Bill/boost/boost_1_41_0/wfk_installation/lib;
/home/Bill/boost/boost_1_41_0/wfk_installation/stage/lib;
C:/boost/lib;
C:/boost;
/boost/boost_1_41_0/lib;
/boost;
/sw/local/lib
only the first file exists, but it has all the needed libraries.
Cmake reports the following info, which seems to be correct:
BOOST_ROOT = /home/Bill/boost/boost_1_41_0/wfk_installation
BOOST_ROOT = /home/Bill/boost/boost_1_41_0/wfk_installation
version.hpp reveals boost 1.41.0
guessed _boost_COMPILER = -gcc43
I am using
cmake version 2.6-patch 4
Can anyone suggest what is wrong?
Thanks.
History
Updated by Wim Dumon about 2 years ago
- Assigned to set to Wim Dumon
Isn't this rather a question for the cmake fora?
I have no experience with building Wt with cygwin. I believe previous attempts were unsuccessful because cygwin lacked unicode support.
Updated by Wim Dumon over 1 year ago
- Status changed from New to Resolved
- % Done changed from 0 to 90
I just ported Wt to cygwin and wrote down the installation instructions:
http://redmine.webtoolkit.eu/projects/wt/wiki/Installing_Wt_on_Cygwin_using_gcc
Recent versions of cygwin support wide strings and locales etc, and only minor modifications were required. These are not yet in git but will be shortly. They will also be included in the next release.