|
2009-05-05
| ||
| 06:48 | • Closed ticket [1689286fff]: nmakehlp not building on Win32 with VC plus 7 ot... artifact: 26aab67848 user: patthoyts | |
|
2007-04-16
| ||
| 17:43 | • Ticket [1689286fff]: 1 change artifact: 100aee735e user: patthoyts | |
|
2007-04-12
| ||
| 12:47 | • New ticket [1699195fff] Remove -WX from symbols build in Win32 makefile.vc. artifact: 43dacb9516 user: twylite | |
|
2007-03-28
| ||
| 01:35 | • Ticket [1689286fff] nmakehlp not building on Win32 with VC status still Open... artifact: cc47a42198 user: mdejong | |
|
2007-03-27
| ||
| 22:09 | • Ticket [1689286fff]: 4 changes artifact: c9aaf4cb38 user: twylite | |
| 22:09 | • Add attachment sampleextension-twy-20070327.patch to ticket [1689286fff... artifact: 6db676bf39 user: twylite | |
| 15:09 | • New ticket [1689286fff] nmakehlp not building on Win32 with VC. artifact: cd2170a8ac user: twylite | |
nmakehlp not building on Win32 with VC
Closed / Fixed1689286fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 18 years ago
Descriptionplain2007-03-27 15:09:37
I have just got the latest sampleextension from CVS, and am getting errors building it with VC6 or VC8. c:\build\sampleextension\win> pushd sampleextension\win c:\build\sampleextension\win> nmake /f makefile.vc all TCLDIR=..\..\tcl TKDIR=..\..\tk 'nmakehlp' is not recognized as an internal or external command, operable program or batch file. ...<snip> Command line warning D4002 : ignoring unknown option '-fp:strict' Command line warning D4002 : ignoring unknown option '-GS' Command line warning D4002 : ignoring unknown option '-GL' ...<snip> LINK : warning LNK4044: unrecognized option "ltcg"; ignored The problems aren't fatal, but they shouldn't be there. Nmakehlp.exe doesn't build because: c:\sampleextension\win> cl nmakehlp.c ...<snip> /out:nmakehlp.exe nmakehlp.obj nmakehlp.obj : error LNK2001: unresolved external symbol _wnsprintf nmakehlp.exe : fatal error LNK1120: 1 unresolved externals This can be solved by taking the latest nmakehlp.c from the Tcl sources: c:\sampleextension\win> copy ..\..\tcl\win\nmakehlp.c The other warnings are fixed as a result of successfully building and using nmakehlp. -- The next problem is that running the tests doesn't work. The makefile looks for tclsh85.exe, which doesn't exist since I'm using a threaded build of Tcl. The problem is on line 298 of rules.vc: SUFX = sgx should be SUFX = tsgx since the sampleextension build is supposed to be threaded by default. -- Patch file against CVS is attached: - Updates nmakehlp.c to match the tcl module's version - Add 't' flag to SUFX default
twyliteplain2007-03-27 22:09:37
File Added - 222523: sampleextension-twy-20070327.patch
mdejong Ticket [1689286fff]: 1 change
[History diff]2007-03-28 01:35:27
patthoyts Ticket [1689286fff]: 1 change
[History diff]2007-04-16 17:43:05
patthoytsplain2009-05-05 06:48:23
Fixed previously
Log in (anonymous is fine) to add a comment.
Attachments:
- sampleextension-twy-20070327.patch [download] added by twylite on 2007-03-27 22:09:37. [details]