Menu

Using BLT version 2.4i with TCL 8.3

2002-04-02
2002-04-03
  • Katherine Bryce

    Katherine Bryce - 2002-04-02

    Hi,

    The read-me for BLT version 2.4v through 2.4x say that they are compatible with TCL versions 8.0-8.3.

    I'm wondering about version 2.4i, would it compatible with version 8.3? I realize that there would probably be some problems, and that downloading a newer version would be ideal, but can these run together?

    I am trying to run BLT with ANSYS 6.0, and 2.4i is already on the network (HP Unix system). I have ANSYS finding the BLT install, but it doesn't like the version it's being asked for.

    I get the error:

    tcl generated the following stack trace:
    version conflict for package "Tk": have 8.3, need 8.0
         while executing
    "load /tools/tcl/blt2.4i/lib/libBLT24.sl BLT"
         ("package ifneeded" script)
         invoked from within
    "package require BLT"

    Any advice would be appreciated

    thanks

    Katherine
    MDL Toronto

     
    • George A. Howlett

      The README may be a little misleading.  You can
      compile BLT with any version of Tcl/Tk 8.0 - 8.3.
      But once you build the BLT library (libBLT24.sl)
      with a particular version of Tcl/Tk, it can only
      be used with that version.  A libBLT24.sl built
      with Tcl/Tk 8.3 can load into any tool (including
      wish) built with 8.3 too.

      So the error that you are seeing is that
      libBLT24.sl was compiled with Tcl/Tk 8.0, but you
      are loading it into a 8.3 interpreter.

      The solution is to either build 2.4i with Tcl/Tk
      8.3 or find an ANSYS built with 8.0. [And if
      you are going to the trouble of rebuilding BLT,
      you might as well build the latest version.  BLT
      2.4y will be released hopefully this weekend.]

      --gah

       
      • Katherine Bryce

        Katherine Bryce - 2002-04-03

        Thanks for your reply! It was very helpfull.

        katherine

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.