Boost logo

Boost :

Subject: Re: [boost] Serialise on Mac OSX 10.8, XCode and GCC
From: Tim Burgess (tim_at_[hidden])
Date: 2013-03-26 14:34:32


OK,

I've found the appropriate setting in XCode that yields a command line
containing -stdlib=libstdc++ but, unfortunately, I still get linkage errors
against the serialisation library.

To be precise, I deleted and rebuilt my Boost, as follows:

Cd /users/tim/developer/libraries/boost_1_53_0
./bootstrap.sh
./b2

The output from my project is as follows:

Ld
/Users/tim/Library/Developer/Xcode/DerivedData/SurfaceReader-fwryryuvfvwihng
lkuymbbjtxpac/Build/Products/Debug/SurfaceReader.app/Contents/MacOS/SurfaceR
eader normal x86_64
    cd /Users/tim/Developer/SurfaceReader
    setenv MACOSX_DEPLOYMENT_TARGET 10.8
    /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-g++-4.2 -arch
x86_64 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Develop
er/SDKs/MacOSX10.8.sdk
-L/Users/tim/Library/Developer/Xcode/DerivedData/SurfaceReader-fwryryuvfvwih
nglkuymbbjtxpac/Build/Products/Debug
-L/users/tim/developer/libraries/boost_1_53_0/stage/lib
-L/Users/tim/Developer/SurfaceReader/../Libraries/cryptopp561
-L/Users/tim/Developer/SurfaceReader/../Libraries/boost_1_53_0/stage/lib
-F/Users/tim/Library/Developer/Xcode/DerivedData/SurfaceReader-fwryryuvfvwih
nglkuymbbjtxpac/Build/Products/Debug -filelist
/Users/tim/Library/Developer/Xcode/DerivedData/SurfaceReader-fwryryuvfvwihng
lkuymbbjtxpac/Build/Intermediates/SurfaceReader.build/Debug/SurfaceReader.bu
ild/Objects-normal/x86_64/SurfaceReader.LinkFileList
-mmacosx-version-min=10.8
-L/Users/tim/developer/libraries/wxwidgets-2.9.4/build-debug/lib -framework
IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework
System -framework OpenGL
/Users/tim/developer/libraries/wxwidgets-2.9.4/build-debug/lib/libwx_osx_coc
oau_xrc-2.9.a
/Users/tim/developer/libraries/wxwidgets-2.9.4/build-debug/lib/libwx_osx_coc
oau_webview-2.9.a
/Users/tim/developer/libraries/wxwidgets-2.9.4/build-debug/lib/libwx_osx_coc
oau_qa-2.9.a
/Users/tim/developer/libraries/wxwidgets-2.9.4/build-debug/lib/libwx_baseu_n
et-2.9.a
/Users/tim/developer/libraries/wxwidgets-2.9.4/build-debug/lib/libwx_osx_coc
oau_html-2.9.a
/Users/tim/developer/libraries/wxwidgets-2.9.4/build-debug/lib/libwx_osx_coc
oau_adv-2.9.a
/Users/tim/developer/libraries/wxwidgets-2.9.4/build-debug/lib/libwx_osx_coc
oau_core-2.9.a
/Users/tim/developer/libraries/wxwidgets-2.9.4/build-debug/lib/libwx_baseu_x
ml-2.9.a
/Users/tim/developer/libraries/wxwidgets-2.9.4/build-debug/lib/libwx_baseu-2
.9.a -framework WebKit -lexpat -lwxregexu-2.9 -lwxtiff-2.9 -lwxjpeg-2.9
-lwxpng-2.9 -lz -lpthread -liconv -stdlib=libstdc++ -fobjc-arc
-fobjc-link-runtime -lboost_system -lboost_serialization -lboost_iostreams
-lboost_filesystem -lcryptopp -framework CoreMIDI -framework CoreAudio
-framework Cocoa -o
/Users/tim/Library/Developer/Xcode/DerivedData/SurfaceReader-fwryryuvfvwihng
lkuymbbjtxpac/Build/Products/Debug/SurfaceReader.app/Contents/MacOS/SurfaceR
eader

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
      void
boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_over
ride<std::basic_string<char, std::char_traits<char>, std::allocator<char> >
>(boost::serialization::nvp<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > const&, int)in SurfaceFrame.o
      void
boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_over
ride<std::vector<long, std::allocator<long> >
>(boost::serialization::nvp<std::vector<long, std::allocator<long> > >
const&, int)in SurfaceFrame.o
      void
boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_over
ride<std::map<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, MessageDefinition, std::less<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::allocator<std::pair<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const, MessageDefinition> > >
>(boost::serialization::nvp<std::map<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, MessageDefinition,
std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const, MessageDefinition> > >
> const&, int)in SurfaceFrame.o
      void
boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_over
ride<std::map<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, DisplayDefinition, std::less<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::allocator<std::pair<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const, DisplayDefinition> > >
>(boost::serialization::nvp<std::map<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, DisplayDefinition,
std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const, DisplayDefinition> > >
> const&, int)in SurfaceFrame.o
      void
boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_over
ride<std::map<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::pair<std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::map<unsigned
char, std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >, std::less<unsigned char>,
std::allocator<std::pair<unsigned char const, std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> > > > > >,
std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const,
std::pair<std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >, std::map<unsigned char,
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >, std::less<unsigned char>,
std::allocator<std::pair<unsigned char const, std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> > > > > > > > >
>(boost::serialization::nvp<std::map<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::pair<std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >, std::map<unsigned char,
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >, std::less<unsigned char>,
std::allocator<std::pair<unsigned char const, std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> > > > > >,
std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const,
std::pair<std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >, std::map<unsigned char,
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >, std::less<unsigned char>,
std::allocator<std::pair<unsigned char const, std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> > > > > > > > > > const&,
int)in SurfaceFrame.o
      void
boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_over
ride<std::pair<std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >
>(boost::serialization::nvp<std::pair<std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> >,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >
const&, int)in SurfaceFrame.o
      ...
 
"boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_ove
rride(boost::archive::version_type&, int)", referenced from:
      void
boost::archive::xml_wiarchive_impl<boost::archive::xml_wiarchive>::load_over
ride<boost::archive::version_type>(boost::archive::version_type&, int)in
SurfaceFrame.o
 
"boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_ove
rride(boost::archive::class_id_type&, int)", referenced from:
      void
boost::archive::xml_wiarchive_impl<boost::archive::xml_wiarchive>::load_over
ride<boost::archive::class_id_type>(boost::archive::class_id_type&, int)in
SurfaceFrame.o
 
"boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_ove
rride(boost::archive::tracking_type&, int)", referenced from:
      void
boost::archive::xml_wiarchive_impl<boost::archive::xml_wiarchive>::load_over
ride<boost::archive::tracking_type>(boost::archive::tracking_type&, int)in
SurfaceFrame.o
 
"boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_ove
rride(boost::archive::object_id_type&, int)", referenced from:
      void
boost::archive::xml_wiarchive_impl<boost::archive::xml_wiarchive>::load_over
ride<boost::archive::object_id_type>(boost::archive::object_id_type&, int)in
SurfaceFrame.o
 
"boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_end
(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
      void
boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_over
ride<std::basic_string<char, std::char_traits<char>, std::allocator<char> >
>(boost::serialization::nvp<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > > const&, int)in SurfaceFrame.o
      void
boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_over
ride<std::vector<long, std::allocator<long> >
>(boost::serialization::nvp<std::vector<long, std::allocator<long> > >
const&, int)in SurfaceFrame.o
      void
boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_over
ride<std::map<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, MessageDefinition, std::less<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::allocator<std::pair<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const, MessageDefinition> > >
>(boost::serialization::nvp<std::map<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, MessageDefinition,
std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const, MessageDefinition> > >
> const&, int)in SurfaceFrame.o
      void
boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_over
ride<std::map<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, DisplayDefinition, std::less<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
std::allocator<std::pair<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const, DisplayDefinition> > >
>(boost::serialization::nvp<std::map<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, DisplayDefinition,
std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const, DisplayDefinition> > >
> const&, int)in SurfaceFrame.o
      void
boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_over
ride<std::map<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::pair<std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::map<unsigned
char, std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >, std::less<unsigned char>,
std::allocator<std::pair<unsigned char const, std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> > > > > >,
std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const,
std::pair<std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >, std::map<unsigned char,
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >, std::less<unsigned char>,
std::allocator<std::pair<unsigned char const, std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> > > > > > > > >
>(boost::serialization::nvp<std::map<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::pair<std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >, std::map<unsigned char,
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >, std::less<unsigned char>,
std::allocator<std::pair<unsigned char const, std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> > > > > >,
std::less<std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const,
std::pair<std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >, std::map<unsigned char,
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >, std::less<unsigned char>,
std::allocator<std::pair<unsigned char const, std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> > > > > > > > > > const&,
int)in SurfaceFrame.o
      void
boost::archive::basic_xml_iarchive<boost::archive::xml_wiarchive>::load_over
ride<std::pair<std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > >
>(boost::serialization::nvp<std::pair<std::basic_string<wchar_t,
std::char_traits<wchar_t>, std::allocator<wchar_t> >,
std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >
const&, int)in SurfaceFrame.o
      ...
 
"boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_sta
rt(char const*)", referenced from:
      void
boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_over
ride<bool>(boost::serialization::nvp<bool> const&, int)in SurfaceFrame.o
      void
boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_over
ride<boost::serialization::collection_size_type>(boost::serialization::nvp<b
oost::serialization::collection_size_type> const&, int)in SurfaceFrame.o
      void
boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_over
ride<boost::serialization::item_version_type
const>(boost::serialization::nvp<boost::serialization::item_version_type
const> const&, int)in SurfaceFrame.o
      void
boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_over
ride<long const>(boost::serialization::nvp<long const> const&, int)in
SurfaceFrame.o
      void
boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_over
ride<unsigned char const>(boost::serialization::nvp<unsigned char const>
const&, int)in SurfaceFrame.o
      void
boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_over
ride<unsigned char>(boost::serialization::nvp<unsigned char> const&, int)in
SurfaceFrame.o
      void
boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_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
      ...
 
"boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::end_prea
mble()", referenced from:
      void
boost::archive::save_access::save_primitive<boost::archive::xml_woarchive,
bool>(boost::archive::xml_woarchive&, bool const&)in SurfaceFrame.o
      void
boost::archive::save_access::save_primitive<boost::archive::xml_woarchive,
boost::serialization::collection_size_type>(boost::archive::xml_woarchive&,
boost::serialization::collection_size_type const&)in SurfaceFrame.o
      void
boost::archive::save_access::save_primitive<boost::archive::xml_woarchive,
boost::serialization::item_version_type>(boost::archive::xml_woarchive&,
boost::serialization::item_version_type const&)in SurfaceFrame.o
      void
boost::archive::save_access::save_primitive<boost::archive::xml_woarchive,
long>(boost::archive::xml_woarchive&, long const&)in SurfaceFrame.o
      void
boost::archive::save_access::save_primitive<boost::archive::xml_woarchive,
unsigned char>(boost::archive::xml_woarchive&, unsigned char const&)in
SurfaceFrame.o
      void
boost::archive::save_access::save_primitive<boost::archive::xml_woarchive,
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> > >(boost::archive::xml_woarchive&,
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> > const&)in SurfaceFrame.o
      void
boost::archive::save_access::save_primitive<boost::archive::xml_woarchive,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
>(boost::archive::xml_woarchive&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in SurfaceFrame.o
      ...
 
"boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_ove
rride(boost::archive::version_type const&, int)", referenced from:
      boost::archive::xml_woarchive&
boost::archive::detail::interface_oarchive<boost::archive::xml_woarchive>::o
perator<< <boost::archive::version_type const>(boost::archive::version_type
const&)in SurfaceFrame.o
 
"boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_ove
rride(boost::archive::class_id_type const&, int)", referenced from:
      boost::archive::xml_woarchive&
boost::archive::detail::interface_oarchive<boost::archive::xml_woarchive>::o
perator<< <boost::archive::class_id_type
const>(boost::archive::class_id_type const&)in SurfaceFrame.o
 
"boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_ove
rride(boost::archive::tracking_type const&, int)", referenced from:
      boost::archive::xml_woarchive&
boost::archive::detail::interface_oarchive<boost::archive::xml_woarchive>::o
perator<< <boost::archive::tracking_type
const>(boost::archive::tracking_type const&)in SurfaceFrame.o
 
"boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_ove
rride(boost::archive::object_id_type const&, int)", referenced from:
      boost::archive::xml_woarchive&
boost::archive::detail::interface_oarchive<boost::archive::xml_woarchive>::o
perator<< <boost::archive::object_id_type
const>(boost::archive::object_id_type const&)in SurfaceFrame.o
 
"boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_ove
rride(boost::archive::class_name_type const&, int)", referenced from:
      boost::archive::xml_woarchive&
boost::archive::detail::interface_oarchive<boost::archive::xml_woarchive>::o
perator<< <boost::archive::class_name_type
const>(boost::archive::class_name_type const&)in SurfaceFrame.o
 
"boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_ove
rride(boost::archive::object_reference_type const&, int)", referenced from:
      boost::archive::xml_woarchive&
boost::archive::detail::interface_oarchive<boost::archive::xml_woarchive>::o
perator<< <boost::archive::object_reference_type
const>(boost::archive::object_reference_type const&)in SurfaceFrame.o
 
"boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_ove
rride(boost::archive::class_id_optional_type const&, int)", referenced from:
      boost::archive::xml_woarchive&
boost::archive::detail::interface_oarchive<boost::archive::xml_woarchive>::o
perator<< <boost::archive::class_id_optional_type
const>(boost::archive::class_id_optional_type const&)in SurfaceFrame.o
 
"boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_ove
rride(boost::archive::class_id_reference_type const&, int)", referenced
from:
      boost::archive::xml_woarchive&
boost::archive::detail::interface_oarchive<boost::archive::xml_woarchive>::o
perator<< <boost::archive::class_id_reference_type
const>(boost::archive::class_id_reference_type const&)in SurfaceFrame.o
 
"boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_end
(char const*)", referenced from:
      void
boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_over
ride<bool>(boost::serialization::nvp<bool> const&, int)in SurfaceFrame.o
      void
boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_over
ride<boost::serialization::collection_size_type>(boost::serialization::nvp<b
oost::serialization::collection_size_type> const&, int)in SurfaceFrame.o
      void
boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_over
ride<boost::serialization::item_version_type
const>(boost::serialization::nvp<boost::serialization::item_version_type
const> const&, int)in SurfaceFrame.o
      void
boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_over
ride<long const>(boost::serialization::nvp<long const> const&, int)in
SurfaceFrame.o
      void
boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_over
ride<unsigned char const>(boost::serialization::nvp<unsigned char const>
const&, int)in SurfaceFrame.o
      void
boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_over
ride<unsigned char>(boost::serialization::nvp<unsigned char> const&, int)in
SurfaceFrame.o
      void
boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::save_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
      ...
 
"boost::archive::basic_xml_oarchive<boost::archive::xml_woarchive>::~basic_x
ml_oarchive()", referenced from:
 
boost::archive::xml_woarchive_impl<boost::archive::xml_woarchive>::~xml_woar
chive_impl()in SurfaceFrame.o
 
boost::archive::xml_woarchive_impl<boost::archive::xml_woarchive>::~xml_woar
chive_impl()in SurfaceFrame.o
 
boost::archive::xml_woarchive_impl<boost::archive::xml_woarchive>::~xml_woar
chive_impl()in SurfaceFrame.o
 
"boost::archive::xml_wiarchive_impl<boost::archive::xml_wiarchive>::load_ove
rride(boost::archive::class_name_type&, int)", referenced from:
      boost::archive::xml_wiarchive&
boost::archive::detail::interface_iarchive<boost::archive::xml_wiarchive>::o
perator>><boost::archive::class_name_type>(boost::archive::class_name_type&)
in SurfaceFrame.o
 
"boost::archive::xml_wiarchive_impl<boost::archive::xml_wiarchive>::load(std
::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t>
>&)", referenced from:
      void
boost::archive::load_access::load_primitive<boost::archive::xml_wiarchive,
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> > >(boost::archive::xml_wiarchive&,
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> >&)in SurfaceFrame.o
 
"boost::archive::xml_wiarchive_impl<boost::archive::xml_wiarchive>::load(std
::basic_string<char, std::char_traits<char>, std::allocator<char> >&)",
referenced from:
      void
boost::archive::load_access::load_primitive<boost::archive::xml_wiarchive,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
>(boost::archive::xml_wiarchive&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >&)in SurfaceFrame.o
 
"boost::archive::xml_wiarchive_impl<boost::archive::xml_wiarchive>::xml_wiar
chive_impl(std::basic_istream<wchar_t, std::char_traits<wchar_t> >&,
unsigned int)", referenced from:
 
boost::archive::xml_wiarchive::xml_wiarchive(std::basic_istream<wchar_t,
std::char_traits<wchar_t> >&, unsigned int)in SurfaceFrame.o
 
"boost::archive::xml_wiarchive_impl<boost::archive::xml_wiarchive>::~xml_wia
rchive_impl()", referenced from:
 
boost::archive::xml_wiarchive::xml_wiarchive(std::basic_istream<wchar_t,
std::char_traits<wchar_t> >&, unsigned int)in SurfaceFrame.o
      boost::archive::xml_wiarchive::~xml_wiarchive()in SurfaceFrame.o
      boost::archive::xml_wiarchive::~xml_wiarchive()in SurfaceFrame.o
 
"boost::archive::xml_woarchive_impl<boost::archive::xml_woarchive>::save(std
::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >
const&)", referenced from:
      void
boost::archive::save_access::save_primitive<boost::archive::xml_woarchive,
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> > >(boost::archive::xml_woarchive&,
std::basic_string<wchar_t, std::char_traits<wchar_t>,
std::allocator<wchar_t> > const&)in SurfaceFrame.o
 
"boost::archive::xml_woarchive_impl<boost::archive::xml_woarchive>::save(std
::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)", referenced from:
      void
boost::archive::save_access::save_primitive<boost::archive::xml_woarchive,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
>(boost::archive::xml_woarchive&, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in SurfaceFrame.o
 
"boost::archive::xml_woarchive_impl<boost::archive::xml_woarchive>::xml_woar
chive_impl(std::basic_ostream<wchar_t, std::char_traits<wchar_t> >&,
unsigned int)", referenced from:
 
boost::archive::xml_woarchive::xml_woarchive(std::basic_ostream<wchar_t,
std::char_traits<wchar_t> >&, unsigned int)in SurfaceFrame.o
  "boost::archive::basic_text_oprimitive<std::basic_ostream<wchar_t,
std::char_traits<wchar_t> > >::~basic_text_oprimitive()", referenced from:
 
boost::archive::xml_woarchive_impl<boost::archive::xml_woarchive>::~xml_woar
chive_impl()in SurfaceFrame.o
 
boost::archive::xml_woarchive_impl<boost::archive::xml_woarchive>::~xml_woar
chive_impl()in SurfaceFrame.o
 
boost::archive::xml_woarchive_impl<boost::archive::xml_woarchive>::~xml_woar
chive_impl()in SurfaceFrame.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status

Best wishes.

Tim Burgess

-----Original Message-----
From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Jonathan
Wakely
Sent: 26 March 2013 17:29
To: boost_at_[hidden]
Subject: Re: [boost] Serialise on Mac OSX 10.8, XCode and GCC

On 26 March 2013 17:24, Tim Burgess wrote:
> Many thanks for the explanation. In your example of the lower-case
> version (i.e. the one I should be using) you have a space before the
> value. In the articles I've come across so far there's been no space
> - which form is correct, or is the space character seen as white space and
ignored?

"-l x" and "-lx" are equivalent.

_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk