If I try to compile the latest csv branch tk stopf compilation with this error
*** Linker has 'Win98 alignment problem'
*** Intermediate directory will be '.\Release_VC9\tk_Dynamic'
*** Output directory will be '.\Release_VC9'
*** Suffix for binaries will be ''
*** Optional defines are '-DTCL_CFGVAL_ENCODING=\"cp1252\" -DSTDC_HEADERS -DTCL_
CFG_OPTIMIZED'
*** Compiler version 9. Target machine is IX86
*** Compiler options '-W3 -Ot -Oi -fp:strict -Gs -GS -GL -RTC1 -W3'
*** Link options '-ltcg'
*** Dependency rules are not being used.
NMAKE : fatal error U1073: don't know how to make 'htmlhelp'
This is fixed if I modify the line 58.
Not that the patch below modifies two more lines for my system configuration.
In C:\Users\Lis\Documents\work\tcl-cvs\tk\win: "C:\Program Files (x86)\CVSNT\cvs.exe" -q diff -u -r 1.7
buildall.vc.bat
CVSROOT=:pserver:anonymous@tktoolkit.cvs.sourceforge.net:/cvsroot/tktoolkit
Empty password used - try 'cvs login' with a real password
Index: buildall.vc.bat
===================================================================
RCS file: /cvsroot/tktoolkit/tk/win/buildall.vc.bat,v
retrieving revision 1.7
diff -u -r1.7 buildall.vc.bat
--- buildall.vc.bat 2 Oct 2008 19:13:35 -0000 1.7
+++ buildall.vc.bat 11 Dec 2009 17:20:15 -0000
@@ -30,9 +30,10 @@
:: might not be correct. You may need to edit these.
::
if not defined MSDevDir (
- call "C:\Program Files\Microsoft Developer Studio\vc98\bin\vcvars32.bat"
+ ::call "C:\Program Files\Microsoft Developer Studio\vc98\bin\vcvars32.bat"
::call "C:\Program Files\Microsoft Developer Studio\vc\bin\vcvars32.bat"
::call c:\dev\devstudio60\vc98\bin\vcvars32.bat
+ call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat"
if errorlevel 1 goto no_vcvars
)
@@ -47,7 +48,7 @@
:: just to be explicit and convey understanding to the user. Setting
:: the INSTALLDIR envar prior to running this batchfile affects all builds.
::
-if "%INSTALLDIR%" == "" set INSTALLDIR=C:\Program Files\Tcl
+if "%INSTALLDIR%" == "" set INSTALLDIR=C:\tcl
:: Where is the Tcl source directory?
@@ -58,7 +59,8 @@
::
set OPTS=none
if not %SYMBOLS%.==. set OPTS=symbols
-nmake -nologo -f makefile.vc release htmlhelp OPTS=%OPTS% %1
+::nmake -nologo -f makefile.vc release htmlhelp OPTS=%OPTS% %1
+nmake -nologo -f makefile.vc release OPTS=%OPTS% %1
if errorlevel 1 goto error
:: Build the static core, dlls and shell.