From b2a52caad90b18731b491f14ef3ec4693ef1fded Mon Sep 17 00:00:00 2001 From: wiredfool Date: Tue, 18 Mar 2014 22:07:52 -0700 Subject: [PATCH] take 1 at libjpeg --- winbuild/build_dep.cmd | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/winbuild/build_dep.cmd b/winbuild/build_dep.cmd index 840931327..6aa108b24 100644 --- a/winbuild/build_dep.cmd +++ b/winbuild/build_dep.cmd @@ -25,6 +25,12 @@ py -3 unzip.py zlib128.zip %BUILD% set ZLIB=%BUILD%\zlib-1.2.8 copy /Y /B zlib128.zip %INCLIB% +rem Get libjpeg +py -3 fetch.py http://www.ijg.org/files/jpegsr9a.zip +py -3 unzip.py jpegsr9a.zip %BUILD% +set LIBJPEG=%BUILD%\jpeg-9a +copy /Y /B jpegsr9a.zip %INCLIB% + rem Get tcl/tk py -3 fetch.py http://hivelocity.dl.sourceforge.net/project/tcl/Tcl/8.5.13/tcl8513-src.zip py -3 unzip.py tcl8513-src.zip %BUILD% @@ -44,6 +50,17 @@ call "%ProgramFiles%\Microsoft SDKs\Windows\v7.0\Bin\SetEnv.Cmd" /Release /x64 / set INCLIB=%INCLIB%\msvcr90-x64 mkdir %INCLIB% +rem Build libjpeg +setlocal +cd /D %LIBJPEG% +nmake -f makefile.vc setup-vc6 +nmake -f makefile.vc clean +nmake -f makefile.vc all +copy /Y /B *.dll %INCLIB% +copy /Y /B *.lib %INCLIB% +copy /Y /B libjpeg.h %INCLIB% +endlocal + rem Build zlib setlocal cd /D %ZLIB%