source: trunk/doc/debug_tcltk.html @ 815

Last change on this file since 815 was 815, checked in by toby, 11 years ago

# on 2004/09/28 22:42:54, toby did:
ideas on debugging Tcl/Tk? problems -- in draft form

  • Property rcs:author set to toby
  • Property rcs:date set to 2004/09/28 22:42:54
  • Property rcs:rev set to 1.1
  • Property rcs:state set to Exp
  • Property svn:keywords set to Author Date Revision Id
File size: 2.2 KB
Line 
1<HTML>
2<HEAD>
3   <TITLE>Testing problems in Tck/Tk for EXPGUI, etc.</TITLE>
4</HEAD>
5<style>
6A:link {text-decoration:none}
7A:vlink {text-decoration:none}
8</style>
9
10<BODY BGCOLOR="#FFFFFF"
11      topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" 
12      text="#000000" link="#0033ff" vlink="#0033ff" alink="#0033ff">
13
14<?
15   include("/var/www/include/navigation.inc");
16   include("/var/www/include/utility.inc");
17?>
18<blockquote><font face="arial, helvetica, sans-serif">
19
20<TABLE BORDER BGCOLOR="#FFFF40" ALIGN=RIGHT>
21<TR><TH><A  Href="expgui.html">EXPGUI home</A> 
22</TH></TR></TABLE><BR CLEAR=ALL>
23<CENTER><H1>
24<HR noshade width="75%" size="2" align="center">
25Testing problems in Tck/Tk for EXPGUI, etc.
26<HR noshade width="75%" size="2" align="center">
27</H1></CENTER>
28<h4>Problems</H4>
29If you cannot get EXPGUI or CMPR to work,
30you may have a setup problem with Tcl/Tk or the BLT package.
31You can test if Tcl/Tk and the BLT package are installed correctly using the
32following unix commands:
33<PRE>
34     [d120234:~] toby% wish
35     % package require BLT
36     2.4
37     % pack [blt::graph .g]
38     % exit
39</PRE>
40When you type "wish" and press Enter, a new small blank window should appear.
41when you type the 2nd line, "package require BLT," there will be no change in
42the blank window, but the computer should respond "2.4". After the
43"pack [blt::graph .g]" command is entered, a set of x- and y-axes should appear
44in this window. After the Blt_ZoomStack command is typed the plot should "zoom" with the mouse.
45
46The window should disappear after "exit" is typed.
47
48Problems:
49<OL>
50<LI> If wish does not work then Tcl/Tk is not installed or is not found in the path
51
52<LI> if the package require command is not working then BLT is not loaded or is not found by Tcl/Tk
53
54<LI> if the pack command does not work, you probably mistyped it (assuming that 1 & 2 worked OK)
55
56<LI> if the Blt_ZoomStack command does not work, then BLT is not finding the support file bltGraph.tcl.
57    This is usually found by looking for a subdirectory named .../blt2.4/ in one of the directories in tcl       variable auto_path this causes file .../blt2.4/pkgIndex.tcl to be loaded which references the libBLT file and the bltGraph.tcl file.
58</OL>
59
60</HTML>
Note: See TracBrowser for help on using the repository browser.