Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where is the library path? 1

Status
Not open for further replies.

crvoss

Programmer
May 2, 2005
21
US
I have downloaded several libraries for Tcl but cannot determine how to get them to load into the Tcl base system. I get errors like this:

couldn't load library "./Mk4tcl.dll": this library or a dependent library could not be found in library path while executing
"load ./Mk4tcl.dll"
(file "TclFS/FanSelect.tcl" line 1112

I have placed the library files in various places and included the "load" and "package require" commands for them with no luck. Where should the various files for a library be placed and how are they called? I am using a Windows system for development but hope to go to cross platform when I have gained appropriate experience.
 
have you tried fully qualifying the dll name in the load command? This works for me:
load c:/tcl/lib/tktable2.8/Tktable28.dll, for example.

_________________
Bob Rashkin
rrashkin@csc.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top