Compiling Tile on Windows

From: Joi Osoy (joiosoy_at_yahoo.com)
Date: 04/29/04


Date: 29 Apr 2004 12:10:40 -0700

Hi,

I am not able to successfully build and use Tile on windows with
tclkit :(
- I build tile ok, [style theme names] returns winxp ok
- I can [package require tile] ok
- When I try to use tile::button, the application crashes hard and I
get the popup window "The application encountered a problem and needs
to close"

This is what I do :
a) Get latest tarballs from tclkit website, including tcl and tk. Get
tile from CVS
b) Build tcl, tk and tclkit using mingw

In a different machine
c) Build tcl, tk from the same tarballs, using visual studio .NET
nmake -f makefile.vc
d) Build tile using nmake
nmake -f makefile.vc TCLDIR=..\..\tcl TKDIR=..\..\tk
INSTALLDIR="C:\Program Files\Tcl"

When I try to use the resulting tile04.dll with the ming-built tclkit
it crashes as mentioned. Using it with ming-built tclsh84.exe, it
works

The distributed tile04.zip works with standard tclkit but crashes with
my
tclkit.

Any idea of what may I be doing wrong ?
Pat, what compiler and exact steps do you use to generate tile04.zip ?

I am guessing it may have to do with using two different compilers
(though by your earlier reply I guess it should not be a problem). To
be able to use same compiler I would like to know :

Has anybody successfully compiled a tclkit using Microsoft compiler?
Has anybody successfully compiled tile package with xpnative support
using mingw?

I really can use your help to this working. I would like to start
testing /contributing to the tile project

Thanks!


Quantcast