<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Guiconfig fails due to missing TCL library</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93746/guiconfig-fails-due-to-missing-tcl-library</link><description>I&amp;#39;m using Visual Code Studio with NCS v2.1.0. I&amp;#39;m running on a Windows 10 machine 
 When I click on the &amp;quot;Memory report&amp;quot; action button, I get the following error: 
 
 It appears that the TCL library required by this tool is not present in the NCS distribution</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Nov 2022 07:47:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93746/guiconfig-fails-due-to-missing-tcl-library" /><item><title>RE: Guiconfig fails due to missing TCL library</title><link>https://devzone.nordicsemi.com/thread/395230?ContentTypeID=1</link><pubDate>Fri, 11 Nov 2022 07:47:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23cae55d-3c25-4de1-b8c0-de7564bbab9f</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;This looks like an issue with your paths. If you build the same using command line e.g. west build, do you get the same issue? (Reverting back to how it was before removing the two TCL variables)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Guiconfig fails due to missing TCL library</title><link>https://devzone.nordicsemi.com/thread/395137?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2022 13:56:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d54663b4-ef9d-44e4-8f5a-bf18af24d0b1</guid><dc:creator>CktDesigner</dc:creator><description>&lt;p&gt;Yes.&amp;nbsp; I installed all the versions I have using the Toolchain Manager...&lt;/p&gt;
&lt;p&gt;I did some further investigation and found the location of the init.tcl file (called by the TCL/TK interpreter when it starts):&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/TCL_5F00_location_5F00_issue.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;I then tried removing the two TCL (system-wide) environment variables in my system.&amp;nbsp; &amp;nbsp;TCL_DIR and TCL_LIB are required for some other tools.&amp;nbsp; &amp;nbsp;After restarting VSC, this change allowed the Guiconfig tool to run.&lt;/p&gt;
&lt;p&gt;So there is an interaction issue w.r.t. these environment variables.&amp;nbsp; &amp;nbsp;I&amp;#39;m guessing that the python script should specify a specific path to the init.tcl file it wants, or the installation (via the Toolchain Manager) should update one or both of the TCL_ environment variables (if they exist).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Guiconfig fails due to missing TCL library</title><link>https://devzone.nordicsemi.com/thread/395103?ContentTypeID=1</link><pubDate>Thu, 10 Nov 2022 12:42:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35c2eaf8-c546-4921-9e51-b5fc83741d09</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you installed the nRF Connect SDK with the Toolchain Manager? I am not able to reproduce this issue, and I&amp;#39;m not able to find any TCL library in my install.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>