S
Stephen Horne
I started making up a Python extension module to wrap a C++ library of
mine using Boost Python. Trouble is, the library has a number of
classes each of which has a lot of methods. I seem to have hit an
internal limit in the Visual C++ 7 compiler.
The output I get is...
"""
....found 2031 targets...
....updating 4 targets...
vc-C++
...\..\..\libs\python\my_project\bin\hello.pyd\vc7\debug\runtime-link-dyna
mic\test.obj
test.cpp
E:\boost-1.30.2\boost\detail\ob_compressed_pair.hpp(368) : fatal error
C1204: co
mpiler limit : internal structure overflow
"""
I figure I have three obvious options...
1. Switch to using Pythons C API directly.
2. Change the way I wrap the library to reduce the number of
methods (most likely with extra parameters).
3. Use a different compiler.
Can anyone offer any suggestions beyond that? - options to increase
the VC++ internal structure sizes, for instance?
mine using Boost Python. Trouble is, the library has a number of
classes each of which has a lot of methods. I seem to have hit an
internal limit in the Visual C++ 7 compiler.
The output I get is...
"""
....found 2031 targets...
....updating 4 targets...
vc-C++
...\..\..\libs\python\my_project\bin\hello.pyd\vc7\debug\runtime-link-dyna
mic\test.obj
test.cpp
E:\boost-1.30.2\boost\detail\ob_compressed_pair.hpp(368) : fatal error
C1204: co
mpiler limit : internal structure overflow
"""
I figure I have three obvious options...
1. Switch to using Pythons C API directly.
2. Change the way I wrap the library to reduce the number of
methods (most likely with extra parameters).
3. Use a different compiler.
Can anyone offer any suggestions beyond that? - options to increase
the VC++ internal structure sizes, for instance?