Boost+python building - Only 1 error to resolve...

For win2000,msvc (vc6) Got the error (either python22 release or 2.4current source): vc-C++ bin\boost\libs\python\build\boost_python.dll\msvc\debug\inheritance.obj inheritance.cpp C:\Lib\boost_1_31_0\boost/graph/detail/adjacency_list.hpp(1055) : error C2244: 'bidirectional_graph_ move_edge' : unable to resolve function overload C:\Lib\boost_1_31_0\boost/graph/detail/adjacency_list.hpp(1057) : error C2954: template definitions C:\Lib\boost_1_31_0\boost/mem_fn.hpp(315) : error C2039: 'dm' : is not a member of '_mfi' C:\Lib\boost_1_31_0\boost/mem_fn.hpp(315) : error C2143: syntax error : missing ';' before '<' C:\Lib\boost_1_31_0\boost/mem_fn.hpp(315) : error C2501: 'dm' : missing storage-class or type specif C:\Lib\boost_1_31_0\boost/mem_fn.hpp(315) : error C2059: syntax error : ';' C:\Lib\boost_1_31_0\boost/mem_fn.hpp(315) : error C2059: syntax error : '<' C:\Lib\boost_1_31_0\boost/mem_fn.hpp(315) : error C2653: 'T' : is not a class or namespace name C:\Lib\boost_1_31_0\boost/mem_fn.hpp(315) : error C2645: no qualified name for pointer to member (fo C:\Lib\boost_1_31_0\boost/mem_fn.hpp(320) : error C2143: syntax error : missing ';' before '}' C:\Lib\boost_1_31_0\boost/mem_fn.hpp(320) : fatal error C1506: unrecoverable block scoping error Any idea? Thanks AL Same error compiling with bjam -sBOOST_ROOT=. -sTOOLS="msvc" -sPYTHON_ROOT=C:/python22 or from boost_python.dsw

"jeuxal_com" <informlant@citenet.net> writes:
For win2000,msvc (vc6) Got the error (either python22 release or 2.4current source):
vc-C++ bin\boost\libs\python\build\boost_python.dll\msvc\debug\inheritance.obj inheritance.cpp C:\Lib\boost_1_31_0\boost/graph/detail/adjacency_list.hpp(1055) : error C2244: 'bidirectional_graph_ move_edge' : unable to resolve function overload C:\Lib\boost_1_31_0\boost/graph/detail/adjacency_list.hpp(1057) : error C2954: template definitions C:\Lib\boost_1_31_0\boost/mem_fn.hpp(315) : error C2039: 'dm' : is not a member of '_mfi' C:\Lib\boost_1_31_0\boost/mem_fn.hpp(315) : error C2143: syntax error : missing ';' before '<' C:\Lib\boost_1_31_0\boost/mem_fn.hpp(315) : error C2501: 'dm' : missing storage-class or type specif C:\Lib\boost_1_31_0\boost/mem_fn.hpp(315) : error C2059: syntax error : ';' C:\Lib\boost_1_31_0\boost/mem_fn.hpp(315) : error C2059: syntax error : '<' C:\Lib\boost_1_31_0\boost/mem_fn.hpp(315) : error C2653: 'T' : is not a class or namespace name C:\Lib\boost_1_31_0\boost/mem_fn.hpp(315) : error C2645: no qualified name for pointer to member (fo C:\Lib\boost_1_31_0\boost/mem_fn.hpp(320) : error C2143: syntax error : missing ';' before '}' C:\Lib\boost_1_31_0\boost/mem_fn.hpp(320) : fatal error C1506: unrecoverable block scoping error
Any idea? Thanks AL
If I'm not mistaken, this is a vc6/7 regression that crept in shortly before the release, for reasons we're unable to pin down. The current CVS contains fixes for the problem. I suggest getting the RC_1_31_0 branch with: cvs -d:pserver:anonymous@cvs.boost.sourceforge.net:/cvsroot/boost co -rRC_1_31_0 boost since that should be as close as possible to the latest release. -- Dave Abrahams Boost Consulting www.boost-consulting.com

Thanks, I loaded the latest boost release from CVS and it now compile the boost python librairies. The regression tests (python-C++) also works for the most parts (about 97% passed). Thanks again for the hint. AL If I'm not mistaken, this is a vc6/7 regression that crept in shortly before the release, for reasons we're unable to pin down. The current CVS contains fixes for the problem. I suggest getting the RC_1_31_0 branch with: cvs -d:pserver:anonymous@cvs.boost.sourceforge.net:/cvsroot/boost co -rRC_1_31_0 boost since that should be as close as possible to the latest release. -- Dave Abrahams Boost Consulting www.boost-consulting.com _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (2)
-
David Abrahams
-
jeuxal_com