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

Discussion in 'Python' started by Andreas, Dec 31, 2005.

  1. Andreas

    Andreas Guest

    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
    Andreas, Dec 31, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Martin Bless
    Replies:
    8
    Views:
    704
  2. Replies:
    3
    Views:
    412
  3. v4vijayakumar

    Free Microsoft Visual C++ Toolkit 2003

    v4vijayakumar, May 3, 2006, in forum: C Programming
    Replies:
    26
    Views:
    4,761
    Flash Gordon
    May 9, 2006
  4. Divvy Ballacks
    Replies:
    1
    Views:
    373
    Divvy Ballacks
    Apr 4, 2006
  5. markybob
    Replies:
    0
    Views:
    314
    markybob
    Jun 28, 2007
Loading...

Share This Page