|
From: Mats B. <ma...@pr...> - 2005-08-03 12:45:50
|
Update: Joe English wrote: > > Mats Bengtsson wrote: > > > > I'm squezzed between the fcopy bug in post 8.4.1 tclkits on Windows > > (https://sourceforge.net/tracker/?func=detail&atid=110894&aid=719790&group_id=10894) > > and building tile to work with tclkit 8.4.1 > > (http://sourceforge.net/mailarchive/forum.php?thread_id=7358857&forum_id=42051) > > I have a strong suspicion that this just plain isn't going to work. > > You can try building Tile against 8.4.1 headers; > use 8.4.1 headers and -DNO_PRIVATE_HEADERS; > or use 8.4.1 headers, -DNO_PRIVATE_HEADERS, and take out -DUSE_TK_STUBS. > > If you can successfully build a .DLL with any of these three > approaches, and an 8.4.1 tclkit.exe can successfully [load] > the DLL, it ought to work just fine. However, I'd be very > surprised if an 8.4.1 tclkit.exe will be able to [load] them. > True. It doesn't. If I build Tcl/Tk 8.4.1 from scratch, and build tile with: nmake -f makefile.vc TCLDIR=..\..\tcl8.4.1 TKDIR=..\..\tk8.4.1 INSTALLDIR=C:\Tcl OPTS=nostubs (note relative paths to avoid spaces; nostubs doesn't add -DUSE_TK_STUBS) then I can load (and run) tile into the standard 8.4.1 wish, but if loading it into 8.4.1 tclkit-win32.exe it crashes the first time I'm creating a ttk widget. The combination of tile require 8.4.6 and the post 8.4.1 fcopy bug makes tile useless for tclkits on Windows (at least if you are using network stuff). This is very bad. It seems to me that it is necessary to build the starkit and link tile statically, but this is way above my head. Or any other suggestions. Mats PS: this is a real nightmare... > Compiling against 8.4.9 headers and loading into an 8.4.1 interp > will definitely make things crash. > > --Joe English > > jen...@fl... > > > I'm doing: > > nmake -f makefile.vc tile OPTS=nostubs > > on VC7 > > and > > nmake -f makefile.vc tile OPTS=nostubs,nouxtheme > > on VC6 > > Using an ordinary 8.4.9 installation which is probably wrong > > since the tclkit still crashes. > > Perhaps someone can give me a clue of how to proceed before > > I continue my experimentation. > |