jayc.lawrence@gmail.com 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.