on windows 7, tcl 8.6.4.
My repo.tcl and region.tcl files are both in c:\sites\vive
repo is a package:
package provide repo 1.0
namespace eval ::repo {}
namespace eval ::repo::create{}
proc ::repo::create {} {...} ...
region.tcl wants access to the procs in repo.tcl so it looks like this:
#source ./repo.tcl <---------old method, want to replace with package require
lappend auto_path [pwd] ;#<--puts c:\sites\vive in the autopath so package can find it.
package require repo 1.0 ;#<--tried this with out version number as well. same result.
::repo::create
...
I always get this error:
can't find package repo 1.0
Both of these sites have suggested I use the lappend auto_path https://unix.stackexchange.com/questions/44992/package-require-xxxx-tcl Can't find package BLT
What am I doing wrong? thanks!