From: Koolrans P <koo...@gm...> - 2005-03-01 00:55:16
|
Hi Byron, Thanks very much for this information. I will start working on it right away. In the meanwhile, can you do a favour. Is it possible for you to give me your compiled versions of tcldom and tclxml. I appreciate all you help and information. Thanks, Regards, Koolrans On Mon, 28 Feb 2005 15:17:20 -0800, Byron Whitlock <by...@ly...> wrote: > >> Thanks for the info byron. Can you provide some more information as to > >> how u got 2.6 to compile and work. > >> Thanks. > > There surely is an easier way, but here is how I did it: > If you only need windows, you should try this with the 3.0 only version.... > > 1) I assume you can already build a tcl executable in the VS IDE. You > should > not be compiling from a makefile. > > 2) Unzip the 2.6 libraries somewhere (tcxml/tcldom) > Under tclxml, there should be a win directory. Add the expatlib.dsw to your > project > > 3) Add tclxml.dsp and tclxmlStubs.dsp > > 4) Play around with the settings until you get tclxml to compile okay. > > 5) in the tcldom/src directory, unzip the 3.0 tcldom/src files (yes its > weird, but it worked) > create a new project called tcldom. You should be able to compile tcldompro > as a static lib. > > 6) Make sure your entry point is defined should look something like: > { > extern Tcl_AppInitProc Tclxml_Init; > > if (Tclxml_Init(interp) == TCL_ERROR) { > return TCL_ERROR; > } > Tcl_StaticPackage(interp, "tclxml_static", Tclxml_Init, NULL); > } > > Here are my project files with full source. This will not just "work" I > have hard coded paths etc in there. > Let me know if you need any more info > > > > > > > > > > > > > http://www.geocities.com/blackboy96 92002/tcldom_static/ > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 266.5.2 - Release Date: 2/28/2005 > > > |