Tk on windows

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?

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

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

2006/3/11, Joel VanderWerf [email protected]:

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

On 3/17/06, ruby talk [email protected] 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.

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs