Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, April 21, 2017 11:35 AM
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.
All replies (2)
Monday, April 24, 2017 3:21 AM | 1 vote
There is a way to compile tck code in VS, and you need have dll of tcl and add it to VC++ directories.
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
- File -> new project -> name: Foo -> win32 console application -> Next -> dll
- In the solution explorer : Project name -> Properties -> VC++ Directories -> Include Directories -> added C:\Tcl\include
- Library directories -> C:\Tcl\lib
- C/C++ -> precompiled headers -> Not Using Precompiled Headers
- Linker -> Input -> Additional Dependencies -> added c:\tcl\lib\tclstub84.lib
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
Best regards,
Fletch
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].
Wednesday, April 26, 2017 9:37 AM
Hi friend,
Please mark a reply as answer if it has helped you out.
Thanks.
Best regards,
Fletch
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact [email protected].