Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2013-08-22
09:42 • Closed ticket [3544932fff]: Visual studio compiler check fails plus 6 other ... artifact: 89059a6633 user: dkf
2012-07-17
21:25 • Pending ticket [3544932fff]. artifact: bc25d7d92c user: nijtmans
19:51 • Ticket [3544932fff]: 4 changes artifact: 91b38db91d user: decosterjos
19:39 • Ticket [3544932fff]: 4 changes artifact: 92a4640740 user: decosterjos
19:37 • Ticket [3544932fff]: 4 changes artifact: e70b197223 user: decosterjos
19:34 • Ticket [3544932fff]: 4 changes artifact: 4b0bee2aad user: nijtmans
19:29 • Ticket [3544932fff]: 4 changes artifact: 28417a981e user: decosterjos
19:22 • Ticket [3544932fff]: 5 changes artifact: b7e07763af user: nijtmans
15:19 • Ticket [3544932fff]: 3 changes artifact: 8e4f4a27d3 user: dkf
14:24 • Add attachment makefile.vc.thread.patch to ticket [3544932fffffffff|354... artifact: 7a4b3f3585 user: decosterjos
14:24 • Ticket [3544932fff] Visual studio compiler check fails status still Open wit... artifact: 7dea9f6624 user: decosterjos
14:23 • Add attachment makefile.vc.tcl.patch to ticket [3544932fffffffff|354493... artifact: eab2196405 user: decosterjos
14:23 • Ticket [3544932fff] Visual studio compiler check fails status still Open wit... artifact: 36ae7950e5 user: decosterjos
07:23 • New ticket [3544932fff]. artifact: 6f52856832 user: decosterjos

Visual studio compiler check fails

Closed / Fixed3544932fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 13 years ago
Descriptionplain2012-07-17 07:23:19
When using the makefile.vc in the win directory to build Tcl or the thread and itcl packages, there is a check to see if the build is configured to build with Microsoft Visual Studio/C. This check is not complete (e.g fails when using Visual Studio Express 10 and SDK 7.1 to build 64 bit). The attached patches remove the check. When you're using the makeifle.vc to build Tcl/Itcl/Thread, you'll need nmake, which is only available when the VC build environment is configured.

Jos.
decosterjosplain2012-07-17 14:23:24
File Added - 449113: makefile.vc.tcl.patch
decosterjosplain2012-07-17 14:24:06
File Added - 449114: makefile.vc.thread.patch
dkf Ticket [3544932fff]: 3 changes [History diff]2012-07-17 15:19:40
nijtmansplain2012-07-17 19:22:21
I have doubts about this one: If the 64-bit compiler has
different macro's, shouldn't that be tested for, in
stead of simply removing the check?

Pat, you seem to be the expert in this.
decosterjosplain2012-07-17 19:29:30
Hi Jan,

While I agree on that, I could not see what would be a good candidate to add in the VC-express + SDK setup. These are available:

INCLUDE (has a list of VC include paths)
LIBS or LIBPATH (list of VC lib paths)
WindowsSDKDir
nijtmansplain2012-07-17 19:34:44
So, how about adding
     && !defined(WindowsSDKDir)
to the end of the existing check.
Does that work, or are additional
changes needed?
decosterjosplain2012-07-17 19:37:26
That should do it. Same change needed in itcl and thread.
decosterjosplain2012-07-17 19:39:05
I'll prepare a patch after testing.
decosterjosplain2012-07-17 19:51:56
This should be added to the test in the different makefile.vc files:

 && !defined(WINDOWSSDKDIR)

(note the upper case). Want me to make a patch for this change or if the line above sufficient?
nijtmansplain2012-07-17 21:25:44
Fixed in Tcl and Tk (all open branches), thread, tdbc and itcl.

Jos, please veryfy whatever you can (I don't have
a 64-bit build environment)
dkf Closed ticket [3544932fff]. [History diff]2013-08-22 09:42:46
Log in (anonymous is fine) to add a comment.

Attachments: