Re: re[2]: [Tclxml-users] Error in loading TclDom from - binary combo
by Steve Ball other posts by this author
Mar 4 2005 5:45AM messages near this date
re[2]: [Tclxml-users] Error in loading TclDom from - binary combo
|
Re: re[2]: [Tclxml-users] Error in loading TclDom from - binary combo
The README for TclXML and TclDOM v3.0 details how to build the packages
on Windows. I use VS.NET, and have included a Makefile.vc that
performs the build from a command prompt, rather than using the VS IDE.
This works with the libxml2 Windows binary distribution without
modification. Once you give the parameters correctly, specifying where
the various components are located, it's all pretty automatic.
If anyone has a better build system then please let me know! I'm only
too happy to make improvements for the 3.1 release.
Cheers,
Steve Ball
On 01/03/2005, at 10:17 AM, Byron Whitlock 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
>
---
Steve Ball | XSLT Standard Library | Training & Seminars
Zveno Pty Ltd | Web Tcl Complete | XML XSL Schemas
http://www.zveno.com/ | TclXML TclDOM | Tcl, Web Development
Steve.Ball@[...].com +---------------------------+---------------------
Ph. +61 2 6242 4099 | Mobile (0413) 594 462 | Fax +61 2 6242 4099
Attachments:
unknown1
unknown2
Thread:
Byron Whitlock
Steve Ball
Koolrans P
|