[C++-sig] Re: VC7 internal compiler error with Boost 1 32 (python)

David Abrahams dave at boost-consulting.com
Wed Nov 24 14:32:36 CET 2004


"Vladimir Ignatov" <vignatov at colorpilot.com> writes:

> Hi!
>
> If memory serve me well, this is a problem in VC 7.0  If boost::python
> module code grows beyond some (very small) limit, this error is a result.
> You need at least VC 7.1 to work productively.  Don't know about VC 6.

Please, no wild theories: it builds just fine with both vc7 and vc6 in
release mode, as proven below.  Most likely the OP is using the IDE
and has some broken compiler option set.

See
http://www.boost.org/libs/python/doc/tutorial/doc/html/python/hello.html#id446728
and file:///C:/boost/libs/python/doc/building.html#building_ext


C:\boost\libs\python\build>myjam -sTOOLS=vc7.1 -sBUILD=release inheritance.obj
...patience...
...found 488 targets...
...updating 16 targets...
MkDir1 c:\build
MkDir1 c:\build\bin
MkDir1 c:\build\bin\boost
MkDir1 c:\build\bin\boost\libs
MkDir1 c:\build\bin\boost\libs\python
MkDir1 c:\build\bin\boost\libs\python\build
MkDir1 c:\build\bin\boost\libs\python\build\boost_python.dll
MkDir1 c:\build\bin\boost\libs\python\build\boost_python.dll\vc7.1
MkDir1 c:\build\bin\boost\libs\python\build\boost_python.dll\vc7.1\release
MkDir1 c:\build\bin\boost\libs\python\build\boost_python.dll\vc7.1\release\threading-multi
vc-C++ c:\build\bin\boost\libs\python\build\boost_python.dll\vc7.1\release\threading-multi\inheritance.obj
inheritance.cpp
MkDir1 c:\build\bin\boost\libs\python\build\libboost_python.lib
MkDir1 c:\build\bin\boost\libs\python\build\libboost_python.lib\vc7.1
MkDir1 c:\build\bin\boost\libs\python\build\libboost_python.lib\vc7.1\release
MkDir1 c:\build\bin\boost\libs\python\build\libboost_python.lib\vc7.1\release\threading-multi
vc-C++ c:\build\bin\boost\libs\python\build\libboost_python.lib\vc7.1\release\threading-multi\inheritance.obj
inheritance.cpp
...updated 16 targets...
C:\boost\libs\python\build>myjam -sTOOLS=vc7 -sBUILD=release inheritance.obj
...patience...
...found 488 targets...
...updating 8 targets...
MkDir1 c:\build\bin\boost\libs\python\build\boost_python.dll\vc7
MkDir1 c:\build\bin\boost\libs\python\build\boost_python.dll\vc7\release
MkDir1 c:\build\bin\boost\libs\python\build\boost_python.dll\vc7\release\threading-multi
vc-C++ c:\build\bin\boost\libs\python\build\boost_python.dll\vc7\release\threading-multi\inheritance.obj
inheritance.cpp
MkDir1 c:\build\bin\boost\libs\python\build\libboost_python.lib\vc7
MkDir1 c:\build\bin\boost\libs\python\build\libboost_python.lib\vc7\release
MkDir1 c:\build\bin\boost\libs\python\build\libboost_python.lib\vc7\release\threading-multi
vc-C++ c:\build\bin\boost\libs\python\build\libboost_python.lib\vc7\release\threading-multi\inheritance.obj
inheritance.cpp
...updated 8 targets...
C:\boost\libs\python\build>myjam -sTOOLS=msvc -sBUILD=release inheritance.obj
...found 488 targets...
...updating 8 targets...
MkDir1 c:\build\bin\boost\libs\python\build\boost_python.dll\msvc
MkDir1 c:\build\bin\boost\libs\python\build\boost_python.dll\msvc\release
MkDir1 c:\build\bin\boost\libs\python\build\boost_python.dll\msvc\release\threading-multi
vc-C++ c:\build\bin\boost\libs\python\build\boost_python.dll\msvc\release\threading-multi\inheritance.obj
inheritance.cpp
MkDir1 c:\build\bin\boost\libs\python\build\libboost_python.lib\msvc
MkDir1 c:\build\bin\boost\libs\python\build\libboost_python.lib\msvc\release
MkDir1 c:\build\bin\boost\libs\python\build\libboost_python.lib\msvc\release\threading-multi
vc-C++ c:\build\bin\boost\libs\python\build\libboost_python.lib\msvc\release\threading-multi\inheritance.obj
inheritance.cpp
...updated 8 targets...

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com




More information about the Cplusplus-sig mailing list