OMNeT++ Community Site
  Welcome to OMNeT++ Community Site Monday, October 13 2008 

Mailing list archive (omnetpp-l at omnetpp.org)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[omnetpp] The BLT Tcl/Tk extension is required by this program



Hi, I have an important question, I get this horrible message when
I try to run plove or scalars:

*The BLT Tcl/Tk extension is required by this program*

I hate it! I have looked for a solution in hundreds of forums,
and I get one, but it doesn't work...

This is:
To check if BLT is installed correctly into Tcl/Tk, start "wish" (the Tcl/Tk
shell), and type "package require BLT 2.4" -- the answer should be "2.4".
Basically, OMNeT<http://ctieware.eng.monash.edu.au/twiki/bin/view/Simulation/OMNeT>++
does the same: it issues the above package require command, and if it fails
it prints the "NOT FOUND" warning and decides to cut features that'd require
BLT.

Basically, Tcl is looking for a "pkgIndex.tcl" file which would tell it how

to load BLT. This file is best placed in a "blt2.4" subdirectory under Tcl's
library directory (usually /usr/lib/tcl8.4, or the value of the TCL_LIBRARY
environment var), so: /usr/lib/tcl8.4/blt2.4/pkgIndex.tcl. Tcl should also
find it at /usr/lib/blt2.4/pkgIndex.tcl. My copy of the BLT pkgIndex.tcl
file is about 40 lines, and contains a
LoadBLT?<http://ctieware.eng.monash.edu.au/twiki/bin/edit/Simulation/LoadBLT?topicparent=Simulation.QuestionsAndAnswers>proc,
and (at the end) a "package ifneeded" command.

Details about Tcl's package loading mechanism can be found here:
http://www.tcl.tk/doc/tea/tea_tcl2k.pdf, "The Package Mechanism"
Any help? Thanks!

-- 
http://gatoamarillo.blogspot.com
el antiblog
_______________________________________________
OMNeT++ Mailing List
options: http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
archive: http://www.omnetpp.org/listarchive/index.php

Home | Main Index | Thread Index


 Copyright © 2008 OMNeT++ Community Site
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By GeekLog v1.3.7sr1 
Page created in 0.04 seconds