[filesystem] error compiling win win7/mingw
Hi Guys,
I'm trying to compile boost.filesystem on a win7 with mingw.
MinGW is installed by default.
I've already compile bjam, b2 and successful boostrap.bat
I got this error, suggestions?
C:\boost_1_47_0>bjam toolset=gcc --with-filesystem stage
Component configuration:
- chrono : not building
- date_time : not building
- exception : not building
- filesystem : building
- graph : not building
- graph_parallel : not building
- iostreams : not building
- math : not building
- mpi : not building
- program_options : not building
- python : not building
- random : not building
- regex : not building
- serialization : not building
- signals : not building
- system : not building
- test : not building
- thread : not building
- wave : not building
...patience...
...found 525 targets...
...updating 8 targets...
gcc.compile.c++
bin.v2\libs\filesystem\build\gcc-mingw-4.5.2\debug\link-static\threading-multi\v3\src\operations.o
In file included from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1:0,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1,
from libs\filesystem\v3\src\operations.cpp:117:
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/utime.h:1:23:
error: #include nested too deeply
libs\filesystem\v3\src\operations.cpp:655:26: warning:
'<unnamed>::create_symbolic_link_api' defined but not used
"g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -mthreads
-DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_STATIC_LINK=1 -I"." -c -o
"bin.v2\libs\filesystem\build\gcc-mingw-4.5.2\debug\link-static\threading-multi\v3\src\operations.o"
"libs\filesystem\v3\src\operations.cpp"
...failed gcc.compile.c++
bin.v2\libs\filesystem\build\gcc-mingw-4.5.2\debug\link-static\threading-multi\v3\src\operations.o...
...skipped
participants (1)
-
Gustavo Villada