[cad-linux] Re: Getting xspace, and Bruno's draft to run ;executable data

Janek Kozicki <janek_listy@xxxxx> writes:

>> Try running the tk version instead: `display.tk`.
> exactly the same error. that's not a surprise - the file viewport.tk is
> a softlink to file viewport

It selects the toolkit based on the name with which it is called.  

    if File.basename($0) == 'viewport.tk'
      require 'viewport-tk'
    else
      require 'viewport-gtk'
    end
    
Are you sure the error is exactly the same?  The viewport-gtk.rb
library file should not be loaded at all when the viewport is called
with viewport.tk.


Other related posts: