
hi everyone, i'm new with boost, i've try some examples and they work
well but spacifically with programs that use asio libraries i've got
some error when i try to compile them, below the line i use to
compile,
ill apreciate some help
thnaks
pdro7@ubuntu:~/Desktop$ c++ -I /home/pdro7/Desktop/boost_1_40_0
asio1.cpp -o asio1 /usr/lib/libboost_system-gcc43-mt-1_35.a
/usr/lib/libboost_thread-gcc43-mt-1_35.a
/usr/lib/libboost_date_time-gcc43-mt-1_35.a
/usr/lib/libboost_regex-gcc43-mt-1_35.a
/usr/lib/libboost_serialization-gcc43-mt-1_35.a
// timer.cpp
// ~~~~~~~~~
//
// Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#include <iostream>
#include

On Monday 31 August 2009 12:59:15 pedro chaparro wrote:
hi everyone, i'm new with boost, i've try some examples and they work well but spacifically with programs that use asio libraries i've got some error when i try to compile them, below the line i use to compile,
Please post the error messages.
pdro7@ubuntu:~/Desktop$ c++ -I /home/pdro7/Desktop/boost_1_40_0 asio1.cpp -o asio1 /usr/lib/libboost_system-gcc43-mt-1_35.a /usr/lib/libboost_thread-gcc43-mt-1_35.a /usr/lib/libboost_date_time-gcc43-mt-1_35.a /usr/lib/libboost_regex-gcc43-mt-1_35.a /usr/lib/libboost_serialization-gcc43-mt-1_35.a
You seem to be trying to link to boost 1.35 libraries while including boost 1.40. Have you built boost 1.40 as specified in the "Getting started" guide? Ravi
participants (2)
-
pedro chaparro
-
Ravi