$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-03-06 09:11:41
Javier-Elias Vasquez-Vivas wrote:
>   Hi all,
> 
> I'm new at using boost.  I was able to compile it and install it with 
> "--prefix".  The reason to use "--prefix" is not having root access...  
> I used the following bjam command to compile:
> 
> bjam --prefix=$PATH1 install
> 
> Then I got under $PATH1 the following stuff:
> 
> $PATH1/lib/<all_boost_libraries>
> $PATH1/include/boost-1_32/boost/<all_boost_libraries_headers>   
> (including regex.hpp and its sub-directory)
> 
> So I copied credit_card_example.cpp in $PATH2 and tried to compile it as 
> follows:
> 
> g++ -I$PATH1/include/boost-1_32 -L$PATH1/lib credit_card_example.cpp
> 
> Is any one aware of what I might be doing wrong, so that can indicate 
> how to do things right?
You at least need to tell GCC that you want to link to the regex 
library. By using the -l option.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq