Tcl Source Code

Artifact [c2569d36d6]
Login

Artifact c2569d36d6715b16c7a0bb3a1b8ba0a210decf9c:

Ticket change [c2569d36d6] - Ticket [48a2a52296] Tcl / Tk Visual Studio Solution Files status still Open with 3 other changes by anonymous 2013-11-20 16:17:25.
D 2013-11-20T16:17:25.380
J comment Hi,\r\n\r\nSince\sa\scouple\sof\sweeks,\sI've\sbeen\sworking\swith\sTcl/Tk\ssource\scode.\sAnd\sI\snoticed\sthat\sthere\sare\sno\ssolution\sfiles\sfor\sTcl/Tk.\r\n\r\nOk,\sof\scourse,\sit\sis\spossible\sto\sbuild\sit\sfrom\ssource\scode\sin\sLinux\susing\sthe\sGNU\sToolchain.\sIt\sis\salso\spossible\sto\sbuild\sTcl/Tk\sfrom\ssource\susing\sthe\snmake\sutility\sthat\scomes\swith\sthe\sVisual\sStudio.\sBut\sit\sgets\skind\sof\scumbersome\sfirst\ssetting\sthe\senvironment\svariables.\sThen,\scd\sto\sthe\sTcl\ssource\sdirectory\sand\sfill\sout\sthe\sappropriate\sarguments\sfor\sthe\snmake\scommand.\sDo\sit\sonce\sfor\sbuild\sand\sonce\sfor\sinstall.\sThen\srepeat\sit\sagain\sfor\sTk.\r\n\r\nThen\srun\sthe\swish\sor\stclsh\sfrom\scommand\sprompt\sand\susing\svisual\sstudio\sattach\sto\sit\sto\sdebug\sit\sfurther.\sBy\sthe\send\sI\swould\shave\s2\sfolders\sopen,\s2\scommand\sprompt\sterminals\sopen\sand\sa\svisual\sstudio\sinstance\srunning.\r\n************************************************************\r\nNow,\swith\sthese\sproposed\ssolution\sfiles,\srunning\sonly\sone\sinstance\sof\sa\svisual\sstudio,\swe\scan\sbuild,\srun\sand\sdebug\sthe\sTcl/Tk\sproject.\r\n\r\nA\ssmall\snote\sat\sthe\sbeginning:\sI\sam\susing\sVisual\sStudio\s2010\son\sa\s64bit\sWindows.\sAnd\smy\sversion\sof\sTcl/Tk\sis\s8.5.15.\r\n\r\nSome\sdrawbacks/shortcomings\sof\sthese\ssolution\sfiles\sare:\r\n1.\sThe\spaths\sare\s*hardcoded*.\sYou\shave\sto\screate\sa\sdirectory\sstructure\sof\sthe\sform:\r\n\r\nc:\\tcl\\tcltk\\build\\\r\nc:\\tcl\\tcltk\\tcl8.5.15\\\r\nc:\\tcl\\tcltk\\tk8.5.15\\\r\n\r\nOnce\sthe\ssource\sfiles\s(from\sactivestate,\setc)\shave\sbeen\sextracted\sin\stheir\srespective\sfolders\sof\sc:\\tcl\\tcltk\\tcl8.5.15\sand\sc:\\tcl\\tcltk\\tk8.5.15,\s...\s\r\n\r\n1.\sthen\splace\sthe\stcl\sproject\sand\ssolution\sfiles\s(from\sme)\sin\sc:\\tcl\\tcltk\\tcl8.5.15\\win\\\r\n\r\n2.\sand\sthen\splace\sthe\stk\sproject\sfile\s(from\sme)\sin\sc:\\tcl\\tcltk\\tk8.5.15\\win\\\r\n\r\nOf\scourse,\sthe\spaths\scan\sbe\schanged\slater\sby\sediting\sthe\ssolution\sfiles,\swhen\sone\sgets\sa\shang\sof\sthe\sthings.\r\n\r\nA\sdebug\sversion\sof\sthe\stcl\sand\stk\sfiles\sare\sbuilt\sunder\sc:\\tcl\\tcltk\\build\\Debug\\\r\n\r\nA\srelease\sversion\sof\sthe\stcl\sand\stk\sfiles\sare\sbuilt\sunder\sc:\\tcl\\tcltk\\build\\Release\\\r\n\r\n2.\sThe\ssolution\sfiles\sare\sdependent\son\stheir\srespective\sTcl\sor\sTk\smake\sfiles\sthat\scomes\swith\sthe\ssource\scode.\r\n\r\n3.\sEverytime\sone\sbuilds\sTcl,\sone\smust\sfirst\sdo\sa\s"New\sBuild"\sand\sthen\sdo\sa\s"Build".\sThe\s"New\sBuild"\scommand\sbuilds\sthe\stcl/tk\sprojects\sin\stheir\srespective\sdirectories.\sThe\s"Build"\scommand\sthen\sputs\sthem\sin\sc:\\tcl\\tcltk\\build\\\r\n\r\nThe\ssame\sscheme\sworks\swhen\syou\sdo\sa\sdebug\sor\sa\srelease.\r\n\r\n4.\sFinally\sto\srun\sthe\sprojects,\sit\sworks\sif\syou\sright\sclick\son\sthe\sproject\sfile\sfrom\swithin\sthe\svisual\sstudio\sIDE\sand\sscroll\sdown\sthe\soptions\sto\s"Debugging"\sand\sthere\schoose\s"Run\sa\sNew\sInstance".\sFor\ssome\sreason,\ssimply\spressing\sf5\sor\sclicking\sthe\sgreen\sbutton\sdoesnt\swork\sfor\sthe\smoment.\r\n\r\nWell,\sI\sknow\sit\sis\snot\sperfect,\sbut\sit\sworks\ssomewhat\sfor\sus\scompared\sto\sthe\sprevious\sscheme.\sHappy\sto\sreceive\sany\sfeedback\s!\sA\ssimilar\sversion\sof\sthe\sabove\stext\sis\splaced\sin\sa\sreadme\sfile\szipped\stogether\swith\sthe\ssolution\sfiles.
J login anonymous
J mimetype text/plain
K 48a2a52296ba2add860c649685bb92e813f4f788
U anonymous
Z 9d7e9015468eb5b2165e91856064b314