|
Boost Users : |
From: sr kumar (srgama_at_[hidden])
Date: 2005-05-12 18:36:56
Hi,
I am attempting to compile Boost with VC2005.
All goes well, with the exception of the Boost Graph library.
The compiler errors at the bottom of the email.
flex and bison from http://gnuwin32.sourceforge.net/
The problems seem to be the unistd.h which is missing on Win32.
I played around with setting YY_NO_UNISTD_H in the Jamfile and
the header files themselves. However, I'm not an expert (and have
obviously been unsuccessful!). Would appreciate any help in figuring
how to work around the problem.
thanks,
-sr
_______________________________________
bison.bison ..\..\..\bin.v2\libs\graph\build\msvc-8.0\debug\graphviz_graph_parser.cpp
..\..\..\bin.v
2\libs\graph\build\msvc-8.0\debug\graphviz_graph_parser.hpp
..\..\..\libs\graph\src\graphviz_parser.yy: conflicts: 1 shift/reduce
bison.bison ..\..\..\bin.v2\libs\graph\build\msvc-8.0\debug\graphviz_digraph_parser.cpp
..\..\..\bin
.v2\libs\graph\build\msvc-8.0\debug\graphviz_digraph_parser.hpp
..\..\..\libs\graph\src\graphviz_parser.yy: conflicts: 1 shift/reduce
msvc.compile.c++
..\..\..\bin.v2\libs\graph\build\msvc-8.0\debug\graphviz_graph_lex.obj
graphviz_graph_lex.cpp
..\..\..\bin.v2\libs\graph\build\msvc-8.0\debug\graphviz_graph_lex.cpp(43)
: fatal error C1083: Cann
ot open include file: 'unistd.h': No such file or directory
call "C:\Program Files\Microsoft\Visual Studio 8\VC\bin\vcvars32.bat" > nul
cl /Zm800 -nologo -TP -DBOOST_ALL_NO_LIB=1 -DGRAPHVIZ_DIRECTED=0
-DYY_NO_UNISTD_H /Z7 /Od /Ob0 /E
Hsc /GR /MDd -I"..\..\..\libs\graph\src"
-I"C:\bugsnoop\trunk\src\checkmate\boost" -I"..\..\..\bin
.v2\libs\graph\build\msvc-8.0\debug" -c
-Fo"..\..\..\bin.v2\libs\graph\build\msvc-8.0\debug\graphvi
z_graph_lex.obj"
"..\..\..\bin.v2\libs\graph\build\msvc-8.0\debug\graphviz_graph_lex.cpp"
...failed msvc.compile.c++
..\..\..\bin.v2\libs\graph\build\msvc-8.0\debug\graphviz_graph_lex.obj...
lex.lex ..\..\..\bin.v2\libs\graph\build\msvc-8.0\debug\graphviz_digraph_lex.cpp
msvc.compile.c++
..\..\..\bin.v2\libs\graph\build\msvc-8.0\debug\graphviz_digraph_lex.obj
graphviz_digraph_lex.cpp
..\..\..\bin.v2\libs\graph\build\msvc-8.0\debug\graphviz_digraph_lex.cpp(43)
: fatal error C1083: Ca
nnot open include file: 'unistd.h': No such file or directory
call "C:\Program Files\Microsoft\Visual Studio 8\VC\bin\vcvars32.bat" > nul
cl /Zm800 -nologo -TP -DBOOST_ALL_NO_LIB=1 -DGRAPHVIZ_DIRECTED=1
-DYY_NO_UNISTD_H /Z7 /Od /Ob0 /E
Hsc /GR /MDd -I"..\..\..\libs\graph\src"
-I"C:\bugsnoop\trunk\src\checkmate\boost" -I"..\..\..\bin
.v2\libs\graph\build\msvc-8.0\debug" -c
-Fo"..\..\..\bin.v2\libs\graph\build\msvc-8.0\debug\graphvi
z_digraph_lex.obj"
"..\..\..\bin.v2\libs\graph\build\msvc-8.0\debug\graphviz_digraph_lex.cpp"
...failed msvc.compile.c++
..\..\..\bin.v2\libs\graph\build\msvc-8.0\debug\graphviz_digraph_lex.obj.
___________________________
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