nanogui: a question about Tcl ,Tk ,Nxlib and Nano- X
Subject:
a question about Tcl ,Tk ,Nxlib and Nano-
X
From:
####@####.####
Date:
1 Feb 2007 16:55:27 +0000
Message-Id: <45C21B5D.000006.27194@bj126app62.126.com>
Dear all,
I tried to run TK use the lib of Nano-X, what I did was:
1) installed microwindows-0.91 (in conifg :Threadsafe=Y, SHARELIBS=N,FREETYPE2=Y)
(with success).
2)installed Nxlib 0.44 (in Makefile XRM=N) with success.
3) installed TCL 8.4.14,
./configure --enable-threads --disable-shared and make & make install with success.
4) installed Tk8.4.14
./configure --without-x --enable-threads --disable-shared
and in Makfile: added to the LIBS: -lnano-X -lnx11),with success
4)then I run the Nano-X server by "./nano-X & ./nanowm & sleep 1000"
5) run wish
6)as a test ,I tried to inputed the command to drew a button:
% button .b -text "hello" -command exit
% pack .b
then a blank rectangle appeared,but the button wasn't really mapped......
Please suggest me some pointers to the solution of the problem.
Thanks a lot and best Regards,
Tom Lu