$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] boost:thread compiling problem
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-08-21 16:01:38
AMDG
Shaolin wrote:
> Ok, I have reconfigured it and the file is now located in the boost_1_39_0
> directory. However, it still doesnt work. This is what I type in command
> line:
>
> g++ -I /usr/local/boost_1_39_0 test.cc -o example \
> ~/stage/lib/libboost_thread-gcc43-mt-1_39.a
>
Does ~/stage/lib/libboost_thread-gcc43-mt-1_39.a exist?
From what you say below I doubt it, so of course it doesn't
work.
> *stage directory*:
> /usr/local/boost_1_39_0/stage/lib/libboost_thread-gcc43-mt-1_39.a
>
Assuming that this is the actual location of the library, use
-L/usr/local/boost_1_39_0/stage/lib -lboost_thread-gcc43-mt-1_39
In Christ,
Steven Watanabe