re[2]: [Tclxml-users] Error in loading TclDom from - binary combo
by Byron Whitlock other posts by this author
Feb 28 2005 3:19PM messages near this date
Re: [Tclxml-users] Re: API Change?
|
Re: re[2]: [Tclxml-users] Error in loading TclDom from - binary combo
<html>
<head>
<!-- Written by GoldMine : Version 5.50.10424 -->
<title> </title>
</head>
<BODY text="#000000" link="#0000FF">
<font style="font-family:'Arial';font-size:10pt;"> >> Thanks for the
info byron. Can you provide some more information as to<br>
>> how u got 2.6 to compile and work.<br>
>> Thanks.<br>
<br>
There surely is an easier way, but here is how I did it:<br>
If you only need windows, you should try this with the 3.0 only version....<p>
1) I assume you can already build a tcl executable in the VS IDE. You
should<br>
not be compiling from a makefile.<p>
2) Unzip the 2.6 libraries somewhere (tcxml/tcldom)<br>
Under tclxml, there should be a win directory. Add the expatlib.dsw to your
project<p>
3) Add tclxml.dsp and tclxmlStubs.dsp<p>
4) Play around with the settings until you get tclxml to compile okay.<p>
5) in the tcldom/src directory, unzip the 3.0 tcldom/src files (yes its weird,
but it worked)<br>
create a new project called tcldom. You should be able to compile tcldompro as
a static lib.<p>
6) Make sure your entry point is defined should look something like: <br>
	{<br>
		extern Tcl_AppInitProc Tclxml_Init;<p>
		if (Tclxml_Init(interp) == TCL_ERROR) {<br>
			return TCL_ERROR;<br>
		}<br>
		Tcl_StaticPackage(interp, "tclxml_static", Tclxml_Init,
NULL);<br>
	}<br>
	<br>
Here are my project files with full source. This will not just "work"
I have hard coded paths etc in there.<br>
Let me know if you need any more info<br>
</font> <a href="http://www.geocities.com/blackboy9692002/tcldom_static/"><font
style="font-family:'Arial';font-size:10pt;"> http://www.geocities.com/blackboy96
92002/tcldom_static/</font> </a></body>
</html>
Attachments:
unknown1
unknown2
Thread:
Byron Whitlock
Steve Ball
Koolrans P
|