Boost logo

Boost Users :

Subject: Re: [Boost-users] Help with Visual Studio settings for Boost Serialization
From: Abdullah ARSLAN (abdullaharslan_at_[hidden])
Date: 2010-12-04 12:12:19


Actually i am very newbie trying to learn things.
I tried to to build it with bjam. i waited 2 hours for it to finish but it
did not finish and i closed it.
Then i found libboost_serialization-vc90-mt-gd-1_44.lib file on internet and
place it in boost home\lib directory. I also added it to visual studio
configuration linker-> input -> additional dependencies
i also set the include directory and additional library directory through
the configuration panel...

I still get problem..

is not there a simple way of using boost? (only serialization feature)
do anyone have to build it?

Abdullah Arslan
Software Engineering and Management Master Program, University of Göteborg

On Sat, Dec 4, 2010 at 5:58 PM, Emre Türkay <emreturkay2_at_[hidden]> wrote:

> I am assuming you have built the boost source and generated the
> serialization .dll and .lib files.
>
> You need to specify the directory of the serialization library .lib files
> in the Visual Studio environment as the "Library Files Directory" to link
> your application against them. It is somewhere in the project
> settings->Linker page.
>
> On Dec 4, 2010, at 4:17 PM, Abdullah ARSLAN wrote:
>
> I am trying to implement very simple sample of boost serialization.
> I have a sample class, class1. It only contains a simple int variable.
> I followed the examples given here :
> http://www.boost.org/doc/libs/1_45_0/libs/serialization/doc/index.html
> <http://www.boost.org/doc/libs/1_45_0/libs/serialization/doc/index.html>
> I also think that i followed this guideline :
> http://beta.boost.org/doc/libs/1_44_0/more/getting_started/windows.html
> but i am not sure...
>
> Here is the error i get:
>
> error LNK2019: unresolved external symbol "private: void __thiscall
> class1::serialize<class boost::archive::text.....
>
> Could you help me with this error or could you guide me with installation
> and running a very simple serialization example, step by step...
> like download this, install this and etc...
>
> I am using visual studio 2008 express...
>
> Thanks in advance..
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>



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