Hi!
I'm trying to build a SDL2 application with latest MSYS2
and mingw32 (mingw-w64-i686-toolchain and mingw-w64-i686-SDL2)
AFAIK, the only 'foreign' DLL needed for minimal SDL2 application is a
SDL2.DLL .
Unfortunately the latest SDL2.DLL from the current repository
requires _two additional_ DLLs (see at the bottom of list).
$ ldd /mingw32/bin/SDL2.dll
ntdll.dll => /c/Windows/SysWOW64/ntdll.dll (0x770c0000)
kernel32.dll => /c/Windows/syswow64/kernel32.dll (0x75ec0000)
KERNELBASE.dll => /c/Windows/syswow64/KERNELBASE.dll (0x752e0000)
ADVAPI32.dll => /c/Windows/syswow64/ADVAPI32.dll (0x75e10000)
msvcrt.dll => /c/Windows/syswow64/msvcrt.dll (0x75a10000)
sechost.dll => /c/Windows/SysWOW64/sechost.dll (0x75920000)
RPCRT4.dll => /c/Windows/syswow64/RPCRT4.dll (0x74e30000)
SspiCli.dll => /c/Windows/syswow64/SspiCli.dll (0x747e0000)
CRYPTBASE.dll => /c/Windows/syswow64/CRYPTBASE.dll (0x747d0000)
GDI32.dll => /c/Windows/syswow64/GDI32.dll (0x75180000)
USER32.dll => /c/Windows/syswow64/USER32.dll (0x75ae0000)
LPK.dll => /c/Windows/syswow64/LPK.dll (0x757a0000)
USP10.dll => /c/Windows/syswow64/USP10.dll (0x75970000)
IMM32.DLL => /c/Windows/syswow64/IMM32.DLL (0x76c30000)
MSCTF.dll => /c/Windows/syswow64/MSCTF.dll (0x74f20000)
ole32.dll => /c/Windows/syswow64/ole32.dll (0x75010000)
OLEAUT32.dll => /c/Windows/syswow64/OLEAUT32.dll (0x75be0000)
SETUPAPI.dll => /c/Windows/syswow64/SETUPAPI.dll (0x74840000)
CFGMGR32.dll => /c/Windows/syswow64/CFGMGR32.dll (0x75210000)
DEVOBJ.dll => /c/Windows/syswow64/DEVOBJ.dll (0x74ff0000)
SHELL32.dll => /c/Windows/syswow64/SHELL32.dll (0x75fd0000)
SHLWAPI.dll => /c/Windows/syswow64/SHLWAPI.dll (0x75c80000)
VERSION.dll => /c/Windows/system32/VERSION.dll (0x743d0000)
WINMM.DLL => /c/Windows/system32/WINMM.DLL (0x73460000)
libgcc_s_dw2-1.dll => /mingw32/bin/libgcc_s_dw2-1.dll (0x6eb40000)
libwinpthread-1.dll => /mingw32/bin/libwinpthread-1.dll (0x64b40000)
I've resolved this issue using SDL2.DLL from the
https://www.libsdl.org/download-2.0.php
$ ldd /c/TEMP/TEST/SDL2.dll
ntdll.dll => /c/Windows/SysWOW64/ntdll.dll (0x770c0000)
kernel32.dll => /c/Windows/syswow64/kernel32.dll (0x75ec0000)
KERNELBASE.dll => /c/Windows/syswow64/KERNELBASE.dll (0x752e0000)
ADVAPI32.dll => /c/Windows/syswow64/ADVAPI32.dll (0x75e10000)
msvcrt.dll => /c/Windows/syswow64/msvcrt.dll (0x75a10000)
sechost.dll => /c/Windows/SysWOW64/sechost.dll (0x75920000)
RPCRT4.dll => /c/Windows/syswow64/RPCRT4.dll (0x74e30000)
SspiCli.dll => /c/Windows/syswow64/SspiCli.dll (0x747e0000)
CRYPTBASE.dll => /c/Windows/syswow64/CRYPTBASE.dll (0x747d0000)
GDI32.dll => /c/Windows/syswow64/GDI32.dll (0x75180000)
USER32.dll => /c/Windows/syswow64/USER32.dll (0x75ae0000)
LPK.dll => /c/Windows/syswow64/LPK.dll (0x757a0000)
USP10.dll => /c/Windows/syswow64/USP10.dll (0x75970000)
IMM32.DLL => /c/Windows/syswow64/IMM32.DLL (0x76c30000)
MSCTF.dll => /c/Windows/syswow64/MSCTF.dll (0x74f20000)
ole32.dll => /c/Windows/syswow64/ole32.dll (0x75010000)
OLEAUT32.dll => /c/Windows/syswow64/OLEAUT32.dll (0x75be0000)
SETUPAPI.dll => /c/Windows/syswow64/SETUPAPI.dll (0x74840000)
CFGMGR32.dll => /c/Windows/syswow64/CFGMGR32.dll (0x75210000)
DEVOBJ.dll => /c/Windows/syswow64/DEVOBJ.dll (0x74ff0000)
SHELL32.dll => /c/Windows/syswow64/SHELL32.dll (0x75fd0000)
SHLWAPI.dll => /c/Windows/syswow64/SHLWAPI.dll (0x75c80000)
VERSION.dll => /c/Windows/system32/VERSION.dll (0x743d0000)
WINMM.DLL => /c/Windows/system32/WINMM.DLL (0x73460000)
Is it possible to make the curren mingw32 SDL2.DLL also "standalone" ?
--
-=AV=-
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users