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?

···

--
"winners never quit, quitters never win"

Jeppe Jakobsen wrote:

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?

--
"winners never quit, quitters never win"

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

  Download & Install Tcl | ActiveState

···

--
      vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407

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

···

2006/3/11, Joel VanderWerf <vjoel@path.berkeley.edu>:

Jeppe Jakobsen wrote:
> 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?
>
> --
> "winners never quit, quitters never win"
>

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

  Download & Install Tcl | ActiveState

--
      vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407

--
"winners never quit, quitters never win"

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:in `require'
  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/11/06, Jeppe Jakobsen <jeppe88@gmail.com> wrote:

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

2006/3/11, Joel VanderWerf <vjoel@path.berkeley.edu>:
>
> Jeppe Jakobsen wrote:
> > 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?
> >
> > --
> > "winners never quit, quitters never win"
> >
>
> If you are using recent one-click windows installers, the tk84.dll is no
> longer included. Just install it from:
>
> Download & Install Tcl | ActiveState
>
> --
> vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407
>
>

--
"winners never quit, quitters never win"

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.

···

On 3/17/06, ruby talk <rubytalk@gmail.com> wrote:

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:in `require'
        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?

--
R. Mark Volkmann
Object Computing, Inc.

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

···

On 3/17/06, Mark Volkmann <r.mark.volkmann@gmail.com> wrote:

On 3/17/06, ruby talk <rubytalk@gmail.com> wrote:
> 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:in `require'
> 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?

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.

--
R. Mark Volkmann
Object Computing, Inc.