Project Navigator - Error "tcl Error: Can't find a usable init.tcl in the following directories: /Tcl/dist/export/lib/tcl8.4"
Description
Invoking a Tcl shell with the Xilinx directory in the path causes the following error:
"% tcl Error: Can't find a usable init.tcl in the following directories: $Xilinx/env/TOS/Tcl/dist/export/lib/tcl8.4 $Xilinx/env/TOS/Tcl/dist/export/lib/tcl8.4
This probably means that Tcl wasn't installed properly.
while executing "error $msg" (procedure "tclInit" line 42) invoked from within "tclInit"
while initializing application (Tcl_AppInit?)"
解决方案
Thiserror can occur if the system in use has multiple Tcl shells.
To run Tcl commands on Xilinx projects, use the Xilinx Tcl shell (xtclsh).
NOTE: "xtclsh" will find the "init.tcl" from the correct place in the Xilinx install.
Using Xtclsh might limit xtclsh to only Xilinx ISE software use.
For customers who want to run both ISE toolsand other Tcl-based programs (e.g., 'tkdiff'), a work-around is to use two separate terminal windows.