473,407 Members | 2,546 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

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

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

Dec 31 '05 #1
0 1325

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Fuzzyman | last post by:
I'll post this to the image-sig as well, but the audience is a bit wider here. I've just upgraded to Python 2.4. I've installed the free microsoft optimising compiler and hacked distutils to use...
6
by: Martin Bless | last post by:
The good news: Along with Python-2.4 comes really good news to Windows users. Yes, you now CAN build extension modules yourself using the SAME C++ compiler and linker Python is built with...
0
by: dayzman | last post by:
Hi, I'm running Windows and Python 2.4 (binary). I've been trying to compile this module with extensions that incorporate some C99 extensions (e.g. designated initialisers). I haven't had much...
19
by: Jonathan Wilson | last post by:
Is it possible to use vcbuild with the free MS compiler toolkit, as in can someone with just the MS toolkit and no access to a copy of Visual Studio itself use vcbuild to compile a Visual Studio...
10
by: miffy900 | last post by:
Will there be a Visual C++ Toolkit 2005? I really appreciated that there was the Visual C++ 2003 Optimising Compiler distributed for free in the 2003 Toolkit. Will Microsoft continue with this...
13
by: Lee Newson | last post by:
Hi, I have just written my first application using VB.NET. The app works fine when i am running it within .NET for debugging purposes, however when i try to run the app from the .exe file that...
3
by: alexandre_irrthum | last post by:
Hi there, I am trying to install a Python library with a C extension (the Polygon library) and I am having a bad time. My Python version is Python 2.4.3 - Enthought Edition 1.0.0 (#69, Aug 2...
4
by: vedrandekovic | last post by:
Hi, I have already install Microsoft visual studio .NET 2003 and MinGw, when I try to build a extension: python my_extension_setup.py build ( or install ) , I get an error: LINK : fatal...
6
by: Christian Heimes | last post by:
inhahe schrieb: I assume you are trying to compile Python 2.5 with VS 9.0. It's not supported. Some extensions don't compile under VS 9.0 Christian
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.