Compiling win32 under Cygwin

Juergen Ruehle j.ruehle@bmiag.de
Sun Dec 1 19:01:00 GMT 2002


Joe R writes:

 > So, I've been trying (as you know) to get XConq running in my env for -
 > oh, three weeks now.  I've yet to actually start the game and have it
 > run.  Honestly, all I want to do is play a game when I get home and not
 > struggle with yet another make process and debugging (I have enough
 > trouble at work).  Is there any way you could wrap everything - xconq,
 > the tcl/tk libs & tclinit, images & game files, etc. - into one zip
 > file?

Sorry that I didn't get to this earlier (being on an extended
holiday), since I think I'm knowing what the problem is.

Attached is the half finished INSTALL-WIN document which should
explain what went wrong with your built. In short the fact that you
had to link in the X11 libraries indicates that the compilation picked
up the wrong includes. You need the X11 includes used to compile the
Tcl/Tk librarries itself (and are not included in the binary
packages). While these have the same file and definition names (and
therefore the built succeeds) these are incompatible to the current
cygwin's X11R6 includes (therefore you get the crash in a macro
expansion trying to access an X11 screen structure while you actually
have a Tcl/Tk screen structure).

The cygwin part is basically finished, but will probably better if you
can give it a cleanup (especially since you seem to be a native
english speaker:-). It also contains the start of a VC guide, but
that should be replaced by the materil provided by Stanley Sutton
(since - other than myself - he actually seems to know something about
VC:-).

I hope it helps. At least it works for me with the two Tcl/Tk versions
mentioned in the guide. (The whole trick actually is the --x-includes
switch on the configure command line which unfortunately configure
can't deduce on its own; if it needs X11 libs than something went
wrong.)

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: INSTALL-win
URL: <http://sourceware.org/pipermail/xconq7/attachments/20021201/c5f4e20c/attachment.ksh>


More information about the Xconq7 mailing list