Problem with BOOST library xcode 3 (10.5)
Problem with BOOST library xcode 3 (10.5)
- Subject: Problem with BOOST library xcode 3 (10.5)
- From: "Damian Kaleta" <email@hidden>
- Date: Tue, 10 Jun 2008 18:25:07 +0200
Hi,
I'm developing an application using Cocoa on Mac OS (10.5). Because application needs to be portable I have to use C++ for everything except GUI. I need to save objects written in C++ into binary files so I need to use object serialization, which is offered by BOOST libraries. When I include source files, and write some methods that use boost everything is OK,
#include <boost/archive/text_oarchive.hpp>
#include <boost/archive/text_iarchive.hpp>
Well, part of it is, when I write boost::archive::text_oarchive oa(ofss); , everything breaks at the compile time. These are the errors that I get:
"boost::archive::detail::basic_oarchive::end_preamble()", referenced from:
void boost::archive::save_access::save_primitive<boost::archive::text_oarchive, unsigned int>(boost::archive::text_oarchive&, unsigned int const&)in SourceFile.o
void boost::archive::save_access::save_primitive<boost::archive::text_oarchive, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(boost::archive::text_oarchive&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in SourceFile.o
"boost::archive::basic_text_oprimitive<std::basic_ostream<char, std::char_traits<char> > >::~basic_text_oprimitive()", referenced from:
......
Here I do not try to do anything fancy, I'm trying to rewrite the simplest example from: http://www.boost.org/doc/libs/1_35_0/libs/serialization/doc/index.html
Any ideas ?
Damian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden