On Fri, Nov 20, 2009 at 7:50 AM, Koen Deforche <[email protected]> wrote:
> Hey Joseph,
>
> 2009/11/20 Joseph VanAndel <[email protected]>:
>> Trying to build Wt (from git, updated 2009/11/19), with Boost  1.41.0 on Mac 
>> OS 10.6.2, using XCode 3.2.1:
>>
>> Linking CXX shared library libwt.dylib
>> Undefined symbols:
>>  "__Unwind_Resume", referenced from:
>>      Wt::StdGridLayoutImpl::~StdGridLayoutImpl()in StdGridLayoutImpl.o
>>      Wt::StdGridLayoutImpl::setHint(std::basic_string<char, 
>> std::char_traits<char>, std::allocator<char> > const&, 
>> std::basic_string<char, std::char_traits<char>, std::allocator<char> > 
>> const&)in StdGridLayoutImpl.o
>>
>> Googling the error suggests that the library is being linked with gcc, 
>> rather than g++.
>> "This is a common problem on OSX with Xcode 2.2+ when linking C++ software 
>> with gcc instead of g++ (there was a similar problem in MapServer). Linking 
>> -lsdtc++ is not enough, and using g++ is needed."
>>
>> Could someone who understands CMake configuration files change how this 
>> library is linked?
>
> Can you see if it helps to change the value of CMAKE_LINKER to 'g++'
> in your CMakeCache.txt file?
> If so, I think we should take this upstream with the CMake people ?

There are indeed issues on Mac with 2.8.0, for instance
http://thread.gmane.org/gmane.comp.programming.tools.cmake.user/25402

I've not tried building on Mac with Boost 1.41.0 but with 1.40, I was
able to successfully build Wt last week.

-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to