473,287 Members | 1,616 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,287 software developers and data experts.

Re: How to make py2.5 distutil to use VC2005?

甜瓜 schrieb:
Howdy,
This problem have puzzled me for a long time. I usually use
python2.5 in Windows, while VC2005 is installed.
However python25.lib is compiled by VC2003. When I use disutil to
build some C extensions, it complaints that
there is no VC2003.
Well, IMO, the format of binary files generated by VC2003 and
VC2005 is compatible in most cases. What
should I do to workaround this error? I mean, disable distutil
complaints and use VC2005 to build C extensions.
I have google-ed some discussion related on this topic. It seems that
it's real possible!
Thank you in advance.
It's possible but ill-advised. The free mingw32 compiler can build
Python extensions just fine. I'm using it all the time to build Python
2.5 extensions for Windows.

In the future Python 2.6 and 3.0 are build with my VS 2008 system and
extensions can be build with the free express version, too.

Christian

Jun 27 '08 #1
0 1563

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

Similar topics

0
by: Holger Joukl | last post by:
Hi, what version of python are you using? I got the same error when invoking a customized, 2-year-old version of distutils with python 2.3.3 (instead of 1.5.2, as before). Reason is code in...
2
by: indiana | last post by:
Thanks in advance. I have a vc6 dll that is currently called by a vc6 exe and want to call it from a vc2005 dll. The vc6 exe using the following header extern "C" __declspec(dllimport) int...
2
by: adebaene | last post by:
Hello all, I just checked that the following did compile with VC2005 b2, and I think it shouldn't: template <typename T> struct A { typedef int Foo; };
2
by: ClydeL | last post by:
Compling a legacy VC6.0 program with the VC2005 compiler used mfc80 dlls. Do these get installed with the .NET runtime or do they need to be installed separately.
2
by: adebaene | last post by:
Hello group, There seems to be a bug int the interop layer in VC2005 when dealing with certain pointer types (or values?) Here is a repro case using Boost version 1.32 and C++/CLI : using...
7
by: Yuanfei | last post by:
Hi There, I just found that there is a problem in vc2005 regarding to time_t and localtime. See code snippets belows. Using this code segment, I found that when ut is 86200, the corresponding...
2
by: kittymaguire | last post by:
When I tried to use the IAxWinHostWindow interface in a MFC project I get the following An assert in CComTypeInfoHolder::GetTI(LCID lcid) at ATLASSUME(!InlineIsEqualGUID(*m_plibid, GUID_NULL)...
0
by: =?GB2312?B?zPC5zw==?= | last post by:
Howdy, This problem have puzzled me for a long time. I usually use python2.5 in Windows, while VC2005 is installed. However python25.lib is compiled by VC2003. When I use disutil to build some C...
0
by: Terry Reedy | last post by:
"??" <littlesweetmelon@gmail.comwrote in message news:cdb837ea0806050201l10a91b40xfa28d29de18fed30@mail.gmail.com... | When you use distutil to trigger compilation, a special *python script* |...
1
by: Yoavo | last post by:
Hi, I have the following code: class AA { public int Width { get; set; } } this compiles ok on VC2008 but fails in VC2005. What is the reason and how can I build it ok in VC2005 ?
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...

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.