Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2008-03-11 08:54:30


Yitzhak Sapir wrote:
> The above command lines should be:
>> g++ -I sources/3rdParty/boost -I sources/3rdParty/local-config/linux/
>> g++ -Lsources/3rdParty/releases/linux/debug -lboost_regex test.cpp
>> g++ [works] -I sources/3rdParty/boost -I
>> g++ sources/3rdParty/local-config/linux/
>> g++ -Lsources/3rdParty/releases/linux/release -lboost_regex test.cpp
>> g++ [gives above error]
>
> I guess my mail program (Outlook) reduplicates the > g++ on every new
> line when it splits up the lines. Sorry about this.
>
> g++ -I sources/3rdParty/boost -I sources/3rdParty/local-config/linux/
> -Lsources/3rdParty/releases/linux/debug -lboost_regex test.cpp
> [works]
>
> g++ -I sources/3rdParty/boost -I sources/3rdParty/local-config/linux/
> -Lsources/3rdParty/releases/linux/release -lboost_regex test.cpp
> [gives above error]

Well.... the obvious mistake is that the library name must occur *after* the
source file that uses it.

Does this help?

John.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk