Commit graph

27 commits

Author SHA1 Message Date
Daniel Gibson
d39de6f39f Update SDL2.dll, OpenAL32.dll and libcurl-4.dll
for both i686 and x86_64 - but only the DLLs, not the headers or libs!
SDL2 is now 2.30.6, using the official Win32/Win64 builds
OpenAL32.dll is now OpenAL-Soft 1.23.1 (also official Windows builds)
libcurl-4.dll is 8.9.1 from https://curl.se/windows/ (renamed DLLs)
2024-08-20 06:12:24 +02:00
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
4e78fc0204 Update (only .dlls!) SDL2 to 2.0.12 and curl to 7.70
the old .libs and headers should still work, but if anyone copies the
.dlls from here they now get something recent.
2020-05-29 03:07:36 +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
175151eda4 Update OpenAL32.dll in */bin/ to openal-soft 1.16.0
.. from official windows binary downloads.

I was too lazy to update everything so the includes and libs linked
against etc remain as they  were, but at least the dlls you'll use
to play are up to date, so they should work on new versions of Windows
2015-10-04 01:55:51 +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
bdd209fb67 Add zlib-1.2.7 for i686-w64-mingw32
PREFIX=i686-w64-mingw32- \
DESTDIR=$HOME/devel/games/dhewm3-libs/i686-w64-mingw32 \
SHARED_MODE=1 make -f win32/Makefile.gcc
2012-07-04 17:33:38 +02:00
dhewg
4472eb6f8e Fix compilation for MSVC
curlbuild.h comes from the mingw build process, which includes
inttypes.h that does not exist for MSVC.

Reported by Ensiform.
2012-01-15 14:07:51 +01:00
dhewg
df3d75bfea Replace SDL_config.h with the generic Windows version
Required for MSVC, the generated MinGW file won't do.
2012-01-07 19:16:29 +01: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
dhewg
a10077c8f2 Add curl-7.23.1 for i686-w64-mingw32
./configure --host=i686-w64-mingw32 \
--prefix=$HOME/devel/games/doom3-libs/i686-w64-mingw32
2012-01-07 14:11:47 +01:00
dhewg
c3bc09dc60 Add SDL-1.2.14 for i686-w64-mingw32
./configure --host=i686-w64-mingw32 \
--prefix=$HOME/devel/games/doom3-libs/i686-w64-mingw32
2012-01-07 14:07:25 +01:00
dhewg
c51da7cbf0 Add openal-soft-1.13 for i686-w64-mingw32
cmake \
-DCMAKE_TOOLCHAIN_FILE=$HOME/devel/cmake/Toolchain-i686-w64-mingw32.cmake \
-DCMAKE_INSTALL_PREFIX=$HOME/devel/games/doom3-libs/i686-w64-mingw32 .
2012-01-07 14:05:20 +01:00
dhewg
a0e5fcd6c5 Add libvorbis-1.3.2 for i686-w64-mingw32
CFLAGS="-I$HOME/devel/games/doom3-libs/i686-w64-mingw32/include" \
LDFLAGS="-L$HOME/devel/games/doom3-libs/i686-w64-mingw32/lib" \
./configure --host=i686-w64-mingw32 \
--prefix=$HOME/devel/games/doom3-libs/i686-w64-mingw32 \
--with-ogg=$HOME/devel/games/doom3-libs/i686-w64-mingw32 \
--disable-examples --disable-oggtest
2012-01-07 14:02:51 +01:00
dhewg
9cdc78e717 Add libogg-1.3.0 for i686-w64-mingw32
./configure --host=i686-w64-mingw32 \
--prefix=$HOME/devel/games/doom3-libs/i686-w64-mingw32
2012-01-07 14:01:30 +01:00
dhewg
bd776b16b8 Add jpeg-8c for i686-w64-mingw32
./configure --host=i686-w64-mingw32 \
--prefix=$HOME/devel/games/doom3-libs/i686-w64-mingw32
2012-01-07 14:00:11 +01:00
dhewg
e8845d663d Initial commit 2012-01-07 13:59:00 +01:00