|
Boost Users : |
Subject: Re: [Boost-users] Linking Boost in Code::Blocks
From: Jens Weller (JensWeller_at_[hidden])
Date: 2009-02-08 18:16:24
Looks like you need to set up the path to the libraries of boost still.
And have you yet looked at offical C::B Forum on the web?
I don't think this is a boost issue. The linker/compiler is missing a library, so far at least, what your errormessages show.
regards,
Jens Weller
-------- Original-Nachricht --------
> Datum: Sun, 8 Feb 2009 07:31:30 -0800 (PST)
> Von: mothdragon <mothdragon_at_[hidden]>
> An: boost-users_at_[hidden]
> Betreff: [Boost-users] Linking Boost in Code::Blocks
>
> Okay, I've been trying to figure this out for a couple of weeks now... I'm
> using Boost 1.37 on Ubuntu Hardy Heron with Code::Blocks 8.02, Programming
> in C++....
> Now, I'm rather new to Ubuntu, and just as much so programming in
> Ubuntu...
> Well, I've been working on this project, and I've been cross-developing it
> on Windows and Linux, but I've hit a hiccup once i've started using
> Boost...
> All works great on Windows using MinGW and Code::Blocks, however I cannot
> get the same code to run in Linux. The best I can think of is that there's
> a
> problem with the linking.... I've added the include path, and the lib path
> to the search directories, and I've added the
> libboost_serialization-gcc42-mt-1_37.a to the list of libraries but for
> some
> reason it still doesn't work...
>
> I get the following error when I try to compile:
>
> obj/Debug/Griffin RPG V2.o||In function `extended_type_info_typeid_1':|
> /usr/include/boost/serialization/extended_type_info_typeid.hpp|77|undefined
> reference to `boost::serialization::extended_type_info::self_register()'|
> /usr/include/boost/serialization/extended_type_info_typeid.hpp|77|undefined
> reference to `boost::serialization::extended_type_info::self_register()'|
> /usr/include/boost/serialization/extended_type_info_typeid.hpp|77|undefined
> reference to `boost::serialization::extended_type_info::self_register()'|
> ]+0x8)||undefined reference to
> `boost::serialization::detail::extended_type_info_typeid_0::less_than(boost::serialization::extended_type_info
> const&) const'|
> ]+0x8)||undefined reference to
> `boost::serialization::detail::extended_type_info_typeid_0::less_than(boost::serialization::extended_type_info
> const&) const'|
> ]+0x8)||undefined reference to
> `boost::serialization::detail::extended_type_info_typeid_0::less_than(boost::serialization::extended_type_info
> const&) const'|
> ||=== Build finished: 6 errors, 0 warnings ===|
>
> I've looked everywhere I can think of and chatted on a few IRC's but I
> haven't been able to get anywhere with this... Because of this I've had to
> develop only on Windows (Yuck!) and not do any testing in Linux... I take
> comfort in knowing though that once I get Boost operational, my code will
> work in Linux too... ( probably better since Linux is so nice to me! )
>
> I'd appreciate any help tat can be offered!
> --
> View this message in context:
> http://www.nabble.com/Linking-Boost-in-Code%3A%3ABlocks-tp21867302p21867302.html
> Sent from the Boost - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
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