Tk on windows


#1

Hi there, I’m about to try my first toolkit tutorial, with tk. So, to
check
that I had it installed I wrote:

require “tk”

in my rb file, but I get an error loading tk84.dll.
How do I fix this?


#2

Jeppe J. wrote:

If you are using recent one-click windows installers, the tk84.dll is no
longer included. Just install it from:

http://www.activestate.com/Products/ActiveTcl


#3

Thank you, that took care of the problem :slight_smile:

2006/3/11, Joel VanderWerf removed_email_address@domain.invalid:


#4

I downloaded the ActiveTcl and installed it. Now i have a differnt
error,

c:/ruby/lib/ruby/1.8/tk.rb:1102:in initialize': tcltklib: fail to Tk_Init(). version conflict for package "Tcl": have 8.4, need 8.3 (RuntimeError) from c:/ruby/lib/ruby/1.8/tk.rb:1102 from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:inrequire’
from gmailer.rb:1

I miss the one click installer :frowning: can we get a version with TK? Was
there a reason it was removed?

Becker


#5

On 3/17/06, ruby talk removed_email_address@domain.invalid wrote:

there a reason it was removed?
Interesting. I also installed Ruby from the latest version of the one
click installer, downloaded ActiveTcl for Windows and installed it.
Ruby is working fine with Tk for me. Sorry I can’t be of more help.


#6

I uninstalled ruby,( i did install over the old version), and
uninstalled. I also uninstalled activeTcl. rebooted downloaded the
installers, and its working again.

Becker