Boost logo

Boost Users :

Subject: Re: [Boost-users] Noob question - undefined reference to boost::system::get_system_category
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-05-22 13:18:21


AMDG

mx270a wrote:
> I'm a relatively new to programming on Linux, previous experience was with
> VB.net in Windows. I'm trying to make the switch to C++, but I'm having a
> difficult time. I started to follow one of the basic tutorials for Boost
> ASIO, but I can't get it to compile with the ASIO.hpp file included. The
> environment is Kubuntu 9.04 and Kdevelop 3.5.3.
>
>
> Code:
> ----------------
> #include <boost/asio.hpp>
>
> int main()
> {
> return 0;
> }
> ----------------
>
>
> Compile Messages and Errors:
> <snip>
> /usr/include/boost/system/error_code.hpp:205: undefined reference to
> `boost::system::get_system_category()'

You'll need to follow the instructions at
http://tinyurl.com/ypdqsh
and build the boost system library.

In Christ,
Steven Watanabe


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