Visual Studio中的TCL / TK [英] TCL/TK in Visual Studio

查看:1442
本文介绍了Visual Studio中的TCL / TK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前安装了Microsoft Visual Studio 2012。我想问一下是否可以在IDE中编译和运行TCL / TK代码?我在网上看到一些资源似乎表明它有可能(参见http://p-nand-q.com/programming/windows/building_tcltk_86_with_visual_studio_2013.html)
但我找不到任何视觉资料Studio 2012。

I currently have Microsoft Visual Studio 2012 installed. I would like to ask if it is possible to compile and run TCL/TK code within the IDE? I have seen some resources online that seem to indicate that it could be possible (See http://p-nand-q.com/programming/windows/building_tcltk_86_with_visual_studio_2013.html) but I can't find anything for Visual Studio 2012.

推荐答案

有一种方法可以在VS中编译tck代码,你需要 有tcl的dll并将其添加到VC ++目录。

There is a way to compile tck code in VS, and you need  have dll of tcl and add it to VC++ directories.

我在下面的内容是来自tcl官方网站,我也根据Visaul Studio的新功能编辑,你可以在这里获得更多信息:

What I got below is from tcl offical web, I also edited based on the new features of Visaul Studio, you could get more information here:

https://wiki.tcl-lang.org/19919


  • 文件 - >新项目 - >名称:Foo - > win32控制台应用程序 - >下一步 - > dll
  • 在解决方案资源管理器中:项目名称 - >属性 - > VC ++目录 - >包含目录 - >添加了C:\ Tcl \include
  • 图书馆目录 - > C:\ Tcl \lib
  • C / C ++ - >预编译头 - >不使用预编译标题
  • 链接器 - >输入 - >附加依赖性 - >添加了c:\ tcl \lib \ tclstub84.lib

我发现tcl有自己的论坛,你也可以从那里得到更多帮助。

And I found tcl has its own forum, you also could get more help from there.

http://www.tek-tips.com/threadminder .cfm?pid = 287

祝你好运,

Fletch 

Fletch 


这篇关于Visual Studio中的TCL / TK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆