Wrapping a Windows DLL with SWIG/TEA3/whatever
- From: Ralph Clark <roclark_blah@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 13:36:22 -0800
All,
I am working on a Win32 console application whose guts I would like to wrap with a Tcl interface. I have experimented with SWIG v1.3.29 and TEA v3.5 (downloaded painstakingly file-by-file through the web CVS interface---isn't there a tarball available somewhere?) but cannot get either to cooperate with Visual Studio 2003.
It was fairly easy to generate a wrapper.c file for my DLL, and even to compile it, but I can't convince VS to make a DLL out of the whole thing. It complains about unsatisfied references to the Tcl library.
On the other hand, if I modify the TEA3/win/makefile.vc to use my wrapper.c, and invoke nmake from the Win command line, it complains that compiler options /GL and /YX are incompatible. I gather that /YX has something to do with autogenerating header files, but I can't even find any documentation on what /GL means.
I am sure this is a problem many on this list deal with all the time. Can anyone drop me a clue please?
Thanks,
Ralph Clark
Raytheon
.
- Follow-Ups:
- Re: Wrapping a Windows DLL with SWIG/TEA3/whatever
- From: Kaitzschu
- Re: Wrapping a Windows DLL with SWIG/TEA3/whatever
- Prev by Date: Re: sqlite
- Next by Date: Re: XOTcl + Actiweb
- Previous by thread: Event extension to TinyTcl - or maybe Jim
- Next by thread: Re: Wrapping a Windows DLL with SWIG/TEA3/whatever
- Index(es):