Incorrect compiler found building extension on windows

  • Thread starter Patrick Stinson
  • Start date
P

Patrick Stinson

I built python-2.5.1 from source using Visual Studio 2005, and am also
trying to build my extension using distutils and Visual Studio 2005.
Distutils complains about python being built with VS 2003, which is
not on my system, and the only python binaries I have on my system are
the ones I built from source using VS 2005. This leads me to believe
that some other error is causing this hard-coded message to be
printed. I am running python.exe from within the build dir, and
"import site" works just fine. Running my setup.py --platform prints
"UNKNOWN" for a list of platforms.

Is it possible to build python using VS 2005 and also build extensions
using the same cl.exe? If not is there a compiler config or something
that I need to write? Thanks.
 

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,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top