Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2007-11-29 04:17:39


jayc.lawrence_at_[hidden] wrote:
> Hi,
>
> This post is not really 100% boost specific but I am trying to compile
> using boost libraries and I thought I'd give this newsgroup a shot. I
> want to know what have others done to avoid the circles I've gone in
> to get this simple program compiled.
>
> I compiled boost to "c:\boost\" and I have my MinGW installed in
> "c:\devel\MinGW\" however if I attempt to compile using:
>
> g++ -v -Ic:\boost\ simplels.cpp -Lc:\boost\lib\
> -lboost_filesystem-mgw34-d-1_34_1
>
> It would result in failing to include the header files and I noticed:
>
> ignoring nonexistant directory "c:/boost/"
>
> Am I going crazy here or does it appear that the compiler cannot
> access anything beyond its default include paths?

If I remember correctly Mingw can't cope with path that end in a /, so
try: -I c:\boost and hopefully that'll fix things :-)

John.


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