[Zope3-dev] Compiling with VisualStudio .NET (aka V 7.0)
Chris Withers
chrisw@nipltd.com
Wed, 29 Jan 2003 07:32:46 +0000
Hi,
I'm hoping someone can help me out here since I'm stuck working on a
laptop in a foreign land with only dialup access, Python 2.2.0 (by the
looks of it...) and MS VS .NET ;-)
I'm trying to compile Zope 3:
Firstup, there was a use of True in setup.py. I wasn't aware Python 2.3
was required for Zope 3, so should that be there?
However, much more importantly, when I doctored that by putting 'True =
1' at the top of setup.py, I then got the following error:
D:\ChrisW\LocalCVS\Zope3>python setup.py build_ext -i
running build_ext
building 'zodb.winlock' extension
C:\Program Files\Microsoft Visual Studio.NET\Vc7\bin\cl.exe /c /nologo
/Ox /MD /
W3 /GX -IC:\Python22\include /Tcsrc/zodb/winlock.c
/Fobuild\temp.win32-2.2\Relea
se\winlock.obj
cl : Command line warning D4029 : optimization is not available in the
standard
edition compiler
winlock.c
src\zodb\winlock.c(25) : fatal error C1083: Cannot open include file:
'windows.h
': No such file or directory
error: command 'cl.exe' failed with exit status 2
Now, I remember getting a similar problem way back last year during the
UK sprint, but neither Jim nor myself can remember how we fixed it :-S
Anyone got any ideas?
cheers,
Chris