Commit graph

14 commits

Author SHA1 Message Date
Daniel Gibson
a374be9917 Update libCURL to 7.87.1
that's almost recent and fixes building Yamagi Quake II (which supports
using dhewm3-libs as YQUAKE2LIBS in its CMake build, esp. relevant
when building with MSVC).

This time it's build with Visual Studio 2019 instead of MinGW
(`nmake /f Makefile.vc mode=dll` in VS developer console); the curl
nmake files had to be adjusted a bit to output libcurl-4.dll instead of
libcurl.dll (I didn't want to change the DLL name in dhewm3 builds), and
libcurl-4.lib had to be manually renamed to libcurl.lib for the dhewm3
and YQ2 builds to still work.
You may have to delete and recreate your existing CMake build directories
if you used them with dhewm3-libs from before this commit.
I successfully tested this with dhewm3 with both MinGW (YQ2 buildenv)
and VS2019, 32bit (x86) and 64bit (x64), and Yamagi Quake II with
VS2019 x86+x64 - apparently MinGW is happy to use the MSVC .lib file
and doesn't require the .dll.a for linking.

Thanks to Yamagi for giving me the curl builds so I could integrate them!
2023-03-26 00:49:53 +01:00
Daniel Gibson
fc9f4ce542 Make sdl2-config.cmake actually work
if you don't fix everything yourself...
2021-01-16 04:43:23 +01:00
Daniel Gibson
9fd8a12baa Update SDL2 to 2.0.12 (incl. header and libs and .a) 2020-09-05 20:43:46 +02:00
Daniel Gibson
7735578053 Update OpenAL to openal-soft 1.20.1
I had to recreate i686-w64-mingw32/lib/OpenAL32.lib with
> lib.exe /MACHINE:X86 /DEF:OpenAL32.def /OUT:OpenAL32.lib
in the VS2013 Developer Command Prompt, otherwise it won't link
(apparently there's problems with MinGW's dlltool and /SAFESEH)
2020-05-28 06:21:14 +02:00
Daniel Gibson
bac2443c82 Adding SDL2 2.0.4RC2
From http://libsdl.org/tmp/download-2.0.php
SDL2-devel-2.0.4-mingw.tar.gz updated 2015-07-07

So while it looks like 2.0.4 release, it in fact isn't, but as 2.0.4
isn't released it's gotta be good enough for now.
Announcement: https://forums.libsdl.org/viewtopic.php?t=11305
2015-09-28 15:44:13 +02:00
dhewg
72c9f10b12 Generate MSVC .lib files for zlib
gendef zlib1.dll
wine lib.exe /machine:x86 /def:zlib1.def /out:zlib1.lib

gendef zlib1.dll
wine lib.exe /machine:amd64 /def:zlib1.def /out:zlib1.lib
2012-07-04 21:49:17 +02:00
dhewg
b8b95f682c Add zlib-1.2.7 for x86_64-w64-mingw32
PREFIX=x86_64-w64-mingw32- \
DESTDIR=$HOME/devel/games/dhewm3-libs/x86_64-w64-mingw32 \
SHARED_MODE=1 make -f win32/Makefile.gcc
2012-07-04 17:34:19 +02:00
dhewg
f5dbf8c421 Generate MSVC compatible .lib files
These are required for linking.
Rename files so cmake finds it.
2012-01-07 19:15:54 +01:00
dhewg
6a548ecb20 Add curl-7.23.1 for x86_64-w64-mingw32
./configure --host=x86_64-w64-mingw32 \
--prefix=$HOME/devel/games/doom3-libs/x86_64-w64-mingw32
2012-01-07 15:02:56 +01:00
dhewg
7f306262db Add SDL-1.2.14 for x86_64-w64-mingw32
./configure --host=x86_64-w64-mingw32 \
--prefix=$HOME/devel/games/doom3-libs/x86_64-w64-mingw32
2012-01-07 14:58:02 +01:00
dhewg
a3b4a58b73 Add openal-soft-1.13 for x86_64-w64-mingw32
cmake \
-DCMAKE_TOOLCHAIN_FILE=/home/andre/devel/cmake/Toolchain-x86_64-w64-mingw32.cmake \
-DCMAKE_INSTALL_PREFIX=$HOME/devel/games/doom3-libs/x86_64-w64-mingw32 .
2012-01-07 14:55:51 +01:00
dhewg
af7e6914a2 Add libvorbis-1.3.2 for x86_64-w64-mingw32
CFLAGS="-I$HOME/devel/games/doom3-libs/x86_64-w64-mingw32/include" \
LDFLAGS="-L$HOME/devel/games/doom3-libs/x86_64-w64-mingw32/lib" \
./configure --host=x86_64-w64-mingw32 \
--prefix=$HOME/devel/games/doom3-libs/x86_64-w64-mingw32 \
-with-ogg=HOME/devel/games/doom3-libs/x86_64-w64-mingw32 \
--disable-examples --disable-oggtest
2012-01-07 14:53:45 +01:00
dhewg
58dd09c113 Add libogg-1.3.0 for x86_64-w64-mingw32
./configure --host=x86_64-w64-mingw32 \
--prefix=$HOME/devel/games/doom3-libs/x86_64-w64-mingw32
2012-01-07 14:51:20 +01:00
dhewg
b56e10f044 Add jpeg-8c for x86_64-w64-mingw32
./configure --host=x86_64-w64-mingw32 \
--prefix=$HOME/devel/games/doom3-libs/x86_64-w64-mingw32
2012-01-07 14:50:13 +01:00