Boost logo

Boost Interest :

Subject: [Boost-cmake] git://gitorious.org/~zeuner/boost/zeuners-boost-cmake.git and windows build
From: Bill Hoffman (bill.hoffman_at_[hidden])
Date: 2010-10-07 09:17:46


Hi,

I am trying to build
git://gitorious.org/~zeuner/boost/zeuners-boost-cmake.git, branch 1.44.0.

I am getting some build errors:

1. Error linking boost_thread:

2> Creating library
C:\Users\hoffman\Work\Projects\boost-cmake\zeuners-boost-cmake-build\lib\Debug\boost_thread-vc90-mt-gd-1_44.lib
and object
C:\Users\hoffman\Work\Projects\boost-cmake\zeuners-boost-cmake-build\lib\Debug\boost_thread-vc90-mt-gd-1_44.exp
1>tss_dll.obj : error LNK2019: unresolved external symbol
_on_process_exit referenced in function _DllMain_at_12
1>tss_dll.obj : error LNK2019: unresolved external symbol
_on_thread_exit referenced in function _DllMain_at_12
1>tss_dll.obj : error LNK2019: unresolved external symbol
_on_thread_enter referenced in function _DllMain_at_12

2. Errors about token_functions.hpp using std::iswspace

6>greg_month.cpp
3>C:\Users\hoffman\Work\Projects\boost-cmake\zeuners-boost-cmake\boost/token_functions.hpp(218)
: error C2039: 'iswspace' : is not a member of 'std'
3>
C:\Users\hoffman\Work\Projects\boost-cmake\zeuners-boost-cmake\boost/token_functions.hpp(217)
: while compiling class template member function 'bool
boost::tokenizer_detail::traits_extension<traits>::isspace(char)'
3> with

3. some undefined stuff in text_wiarchive:

11>text_wiarchive.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) protected: __thiscall
boost::archive::detail::basic_iarchive::~basic_iarchive(void)"
(__imp_??1basic_iarchive_at_detail@archive_at_boost@@IAE_at_XZ) referenced in
function "public: __thiscall
boost::archive::detail::common_iarchive<class
boost::archive::naked_text_wiarchive>::~common_iarchive<class
boost::archive::naked_text_wiarchive>(void)"
(??1?$common_iarchive_at_Vnaked_text_wiarchive_at_archive@boost@@@detail_at_archive@boost@@QAE_at_XZ)
11>xml_wiarchive.obj : error LNK2001: unresolved external s

Are these errors in upstream boost? Or are the specific to the way
CMake is building them? Any thoughts on how to fix them?

Thanks.

-Bill

-- 
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoffman_at_[hidden]
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573

Boost-cmake list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk