Boost logo

Boost Users :

Subject: [Boost-users] Problems linking on Mac OSX 10.8
From: Tim Burgess (tim_at_[hidden])
Date: 2013-03-14 15:40:05


Hi,

I have a project within XCode 4.6 on Mac OSX 10.8 that won't link against
the static serialisation library (the project also uses some other Boost
binaries, which link fine). My Boost build options are:

macosx-version=10.3 maxosx-vesion-min=10.6 architecture=combined
threading=multi link=static address-model=32_64

The project uses the XCode GCC compiler option, as it also uses the
wxWidgets libraries, which won't work with the default compiler.

The errors take the form:

Undefined symbols for architecture x86_64:

 
"boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_sta
rt(char const*)", referenced from:
      void
boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_over
ride<std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >
>(boost::serialization::nvp<std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> > > const&, int)in
SurfaceFrame.o

Can anybody offer any advice, please? I've read a lot of articles on
StackOverflow that seem to discuss this problem, but none have pointed to a
solution.

Best wishes.
Tim Burgess
Raised Bar Ltd.
Tel: +44 (0)1827 719822
Web: http://www.raisedbar.net

We can supply Roland and Avid products with specialist pre and post-sales
support for visually-impaired users - just drop us a line for a quote.

Don't forget to sign our on-line petition to lobby for improved access to
music education and music technology at:
http://www.raisedbar.net/petition.htm



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net