[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: swig problems on win32

From: Mats Nilsson <mats.nilsson_at_xware.se>
Date: 2002-10-30 14:06:33 CET

At 10:56 2002-10-30, cmpilato@collab.net wrote:
>I wasn't seeing what you were seeing. I didn't use setup.py, either,
>though. I was just trying to use swig by hand (well, using a .BAT
>file) and I *was* able to get the .c files generated. At that point,
>I realized I'd accomplished the easiest of several much harder steps,
>and decided to return to Linux-land for the rest of the night. :-)

Another try.

The offending lines in svn_client.i were commented out for now. At least
this enables swig to generate a .c file that I can play with.

Next problem: running the process through setup.py will invoke the compiler
without /DWIN32, thus making the body of apr.h be skipped altogether.

Rather than patching the core python files, or the apr.h header, I'm now
taking a different approach: making .dsp:s from scratch for all the
different stuff that needs to be built. This seems to work without too much
effort. I've built a static lib around swigutil_py.c and I've almost
completed the dll corresponding to svn_client.i.

The only thing I'm missing right now is the swigpy.lib to resolve some
references to _SWIG_ConvertPtr and others.

However, no such lib is included in the swig-1.3.16.zip that I downloaded :-(

I guess I'll continue my swig journey tomorrow.

Mats signing off.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 30 14:07:30 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.