Boost logo

Boost Users :

Subject: Re: [Boost-users] Linking problem - boost 1.51
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-10-07 14:26:00


Le 07/10/12 17:17, Daniel Santos a écrit :
> Hi Vicente,
>
> Here it is:
> $ g++ -o timer_5 -L/Data/Temp/Incoming/boost_1_51_0/stage/lib
> -lpthread -lboost_system -lboost_thread timer_5.cpp
> $ /tmp/ccClVUZf.o: In function `main':
> $ timer_5.cpp:(.text+0xb3): undefined reference to
> `boost::thread::~thread()'
> $ timer_5.cpp:(.text+0xe1): undefined reference to
> `boost::thread::~thread()'
> $ collect2: error: ld returned 1 exit status
>
>
I don't see any -I <boost.1.51-folder>. From where are you getting the
Boost header files?
Could you post the example?

best,
Vicente


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