We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 24449

Project Navigator - Error "tcl Error: Can't find a usable init.tcl in the following directories: /Tcl/dist/export/lib/tcl8.4"


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.

Linked Answer Records

Associated Answer Records

Answer Number Answer Title Version Found Version Resolved
17378 Tcl - Tcl commands do not work after sourcing the "settings.(c)sh" file in the Xilinx directory N/A N/A
AR# 24449
Date 12/15/2012
Status Active
Type General Article
Page Bookmarked