|
Boost Users : |
Subject: Re: [Boost-users] [Floating Point Utilities] where is the "nonfinite_num_facets.hpp"
From: François Mauger (mauger_at_[hidden])
Date: 2011-04-05 18:22:51
Hi Paul,
>>>Paul A. Bristow a écrit :
>
>> -----Original Message-----
>> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
>> bounces_at_[hidden]] On Behalf Of François Mauger
>> Sent: Saturday, April 02, 2011 6:10 PM
>> To: boost-users_at_[hidden]
>> Subject: Re: [Boost-users] [Floating Point Utilities] where is the
>> "nonfinite_num_facets.hpp"
>>
>> Hi
>>
>
> I've used your example to work up some simpler and more commented examples
> OK.
>
> But I've hit a linking snag with your example
>
> ------ Build started: Project: nonfinite_serialization, Configuration: Debug
> Win32 ------
> Creating library
> J:\Cpp\fp_facet\fp_facet\Debug\nonfinite_serialization.lib and object
> J:\Cpp\fp_facet\fp_facet\Debug\nonfinite_serialization.exp
> nonfinite_num_facet_serialization.obj : error LNK2019: unresolved external
> symbol "public: __thiscall
> boost::archive::archive_exception::archive_exception(enum
> boost::archive::archive_exception::exception_code,char const *,char const
> *)" (??0archive_exception_at_archive@boost@@QAE_at_W4exception_code_at_012@PBD1_at_Z)
> referenced in function "protected: void __thiscall
> boost::archive::basic_text_oprimitive<class std::basic_ostream<char,struct
> std::char_traits<char> > >::save<class boost::archive::object_id_type>(class
> boost::archive::object_id_type const &)"
> (??$save_at_Vobject_id_type_at_archive@boost@@@?$basic_text_oprimitive_at_V?$basic_os
> tream_at_DU?$char_traits_at_D@std@@@std@@@archive_at_boost@@IAEXABVobject_id_type_at_12@
> @Z)
> J:\Cpp\fp_facet\fp_facet\Debug\nonfinite_serialization.exe : fatal error
> LNK1120: 1 unresolved externals
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
>
> I've never used serialization before, so I'm a bit baffled what I've done
> wrong here :-(
>
> LINK : fatal error LNK1104: cannot open file
> 'libboost_serialization-vc100-mt-gd-1_46_1.lib'
>
>
> so I built using bjam to provide this
>
> .libboost_serialization-vc100-mt-gd-1_46_1.lib
>
> Multi-threaded Debug DLL (/MDd) (same for static lib)
>
> Any suggestions?
>
>
ok, it makes sense that you need the libboost_serialization DLL.
Unfortunately, I'm afraid I cannot help a lot.
I'm not familiar at all with your system and the error message displayed.
Do you use a recent Boost release, a recent compiler ?
Does a sample programs that use only the nonfinite facets stuff
and no archive work ?
frc
-- François Mauger Groupe "Interactions Fondamentales et Nature du Neutrino" NEMO-3/SuperNEMO Collaboration LPC Caen-CNRS/IN2P3-UCBN-ENSICAEN Département de Physique -- Université de Caen Basse-Normandie Adresse/address: Laboratoire de Physique Corpusculaire de Caen (UMR 6534) ENSICAEN 6, Boulevard du Marechal Juin 14050 CAEN Cedex FRANCE Courriel/e-mail: mauger_at_[hidden] Tél./phone: 02 31 45 25 12 / (+33) 2 31 45 25 12 Fax: 02 31 45 25 49 / (+33) 2 31 45 25 49
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