Boost logo

Boost Users :

Subject: Re: [Boost-users] Newbie Question - Errors if i want to compile
From: Glenn R Heard Jr (grheard_at_[hidden])
Date: 2012-03-15 09:20:41

On Thu, Mar 15, 2012 at 9:03 AM, Simone Piacco <crazypumpkin10_at_[hidden]> wrote:
> Hi everybody.
> I'm a new user of boost c++.
> I tried to install it on my Mac.
> I followed "Getting Started on Unix variant" guide which I found on
> site.
> The first part is ok, I tried to compile and execute the simple
> example and i had no problem, it runs.
> After it I tried to build and install the separately-compiled Boost
> libraries, I copied the example in my editor and I typed on terminal:
> c++ -I /Users/Simone/Documents/workspace/boost_1_49_0  main.cpp -o
> main\ ~/boost/stage/lib/libboost_regex-darwin-mt-d-1_49_0.a

It looks like a path problem to the library. If your -I include
directive is right then your boost libraries would be at
/Users/Simone/Documents/workspace/boost_1_49_0/stage/lib and not in
~/boost/stage/lib. ~ would only equate to /Users/Simone

Glenn R Heard Jr
grheard (at) gmail (.) com
draeh (at) tacticalgamer (.) com

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at