Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 1996 04:31:09 -0800 (PST)
From:      Brian Litzinger <brian@MediaCity.com>
To:        freebsd-questions@freebsd.org
Subject:   troubles with tcl/tk
Message-ID:  <199601281231.EAA16783@MediaCity.com>

next in thread | raw e-mail | index | archive | help
I wrote a simple tcl/tk program called xtmplay.

When I run it I keep getting

brian@easysc>./xtmplay
application-specific initialization failed: wrong version of Tk loaded (4.0): ne
ed 3.4 or later
%

My compile/link looks like:

cc -g -I/usr/local/include -I/usr/X11R6/include -o xtmplay xtmplay.c -L/usr/loca
l/lib -ltk40 -ltcl74 -L/usr/X11R6/lib -lX11 -lm 

I just installed tk-4.0.2 & tcl-7.4 from FreeBSD-current/packages

tk.h looks like

....
#ifndef _TK
#define _TK

#define TK_VERSION "4.0"
#define TK_MAJOR_VERSION 4
#define TK_MINOR_VERSION 0
... 

I got the tkMainApp.c from /usr/local/lib/tk4.0

Where have I gone wrong?

-- 
Brian Litzinger					       Powered by FreeBSD
<brian@mediacity.com>                            http[s]://www.mpress.com  
speakfree.mpress.com [use -t (GSM)]             How to program in c++: //



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601281231.EAA16783>