> I've got debugging versions of wxWindows working just fine (they include
> project files and workspaces as part of the distribution), but I just can
> not make wxPython build. The distribution includes neither project files
> nor workspaces, the instructions to build from makefiles don't work for
> me (error message:
> d:/wxWindows\src\makevc.env(8) : fatal error U1052: file 'ntwin32.mak' not
> found
> ), the build instructions have bewildered me, and I'm just generally
> frustrated.
If you are on Win95/98 then when you installed VC it probably created a batch
file that sets a bunch of environment variables. These are needed for the
command line tools to find their stuff. I can't remember the name of the
batch file (they don't use it on NT but just put the stuff in the system
environment directly) but I think it was something like VCVARS.bat. Check in
your .../VC98/bin directory.
Once you set those variables then nmake should work fine.
>
> I'd *really* like a VC workspace and some project files so that I can
> do everything from within the IDE (not that I like the IDE, but at least
> there I know which magic invocations are required to do what I want)...
> anyone have something like this handy?
>
I don't use the IDE, except for debugging. (I find that it just gets in the
way the rest of the time.) So the only project files I have are "Makefile
Projects" with just enough info to run the debugger.
BTW, wxPython's build.py expects to find the wxWindows library and DLL the
way that wxWindows' makefile makes them. I think that the workspace names
them differently. So you may either have to rename the files, tweak
build.py, or build wxWindows via the makefiles. To do so just go to
wxWindows/src/msw and run "nmake -f makefile.vc dll pch" (I actually use
"nmake -f makefile.vc CRTFLAG=/MD EXTRAFLAGS=-D__NO_VC_CRTDBG__ dll pch" but
YMMV.)
--
Robin Dunn
Software Craftsman
[hidden email]
http://AllDunn.com/robin/http://AllDunn.com/wxPython/ Check it out!
_______________________________________________
wxPython-users maillist -
[hidden email]
http://starship.python.net/mailman/listinfo/wxpython-users