Problem compiling an extension with MS Visual C++ Toolkit 2003

A

Andreas

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:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top