Problem compiling an extension with MS Visual C++ Toolkit 2003
Andreas
andreas.wolters at gmx.de
Sat Dec 31 09:20:25 EST 2005
Extension:
---------------
pyshapelib 0.3 with Python 2.4
Problem:
-------------
D:\Python24\Lib\site-packages\shapelib\setup>pytest.py
Traceback (most recent call last):
File "D:\Python24\Lib\site-packages\shapelib\setup\pytest.py", line
1, in ?
import shapelib, dbflib, shptree
File "D:\Python24\Lib\site-packages\shapelib\setup\shapelib.py", line
2, in ?
import shapelibc
ImportError: DLL load failed: Das angegebene Modul wurde nicht
gefunden.
Windows Message: MSVCR80.dll not found.
Informations:
------------------
.NET Framework runtime and associated files are installed.
.NET Framework SDK installed.
Windows SDK installed.
Visual C++ Toolkit 2003 installed.
msvccompiler.py edited. Key on my machine is
...\MicrosoftSDK\InstalledSDKs\8F9E5EF3-A9A5-491B-A889-C58EFFECE8B3.
vcvars32.bat edited.
>python setup.py build
running build
running build_py
creating build
creating build\lib.win32-2.4
copying shapelib.py -> build\lib.win32-2.4
copying dbflib.py -> build\lib.win32-2.4
running build_ext
building 'shapelibc' extension
creating build\temp.win32-2.4
creating build\temp.win32-2.4\Release
...
cl.exe seems to be o.k.
...
... Toolkit 2003\bin\link.exe ... ... shapelibc.pyd ... shapelibc.lib
...
==>
MSVCRT.lib(crtdll.obj) : warning LNK4229:
invalid directive '/manifestdependency:type='win32'
name='Microsoft.VC80.CRT'
version='8.0.50608.0'
processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b'' encountered; ignored
<==
...
>python setup.py install
running install
running build
running build_py
running build_ext
running install_lib
copying build\lib.win32-2.4\shapelibc.pyd ->
D:\Python24\Lib\site-packages
copying build\lib.win32-2.4\shptree.pyd ->
D:\Python24\Lib\site-packages
copying build\lib.win32-2.4\dbflibc.pyd ->
D:\Python24\Lib\site-packages
Question:
--------------
Has anyone an idea ?
Thanks,
Andreas
More information about the Python-list
mailing list