ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tclxml-users
tclxml-users
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;">  &gt;&gt;  Thanks for the 
info byron. Can you provide some more information as to<br> 
 &gt;&gt;  how u got 2.6 to compile and work.<br> 
 &gt;&gt;  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> 
&#9;{<br> 
&#9;&#9;extern Tcl_AppInitProc Tclxml_Init;<p> 
&#9;&#9;if (Tclxml_Init(interp) == TCL_ERROR) {<br> 
&#9;&#9;&#9;return TCL_ERROR;<br> 
&#9;&#9;}<br> 
&#9;&#9;Tcl_StaticPackage(interp, &quot;tclxml_static&quot;, Tclxml_Init, 
NULL);<br> 
&#9;}<br> 
&#9;<br> 
Here are my project files with full source. This will not just &quot;work&quot; 
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved