It is possible to compile correct mesa opengl32.dll wrapper for Win9x (tested on Me) by using https://aur.archlinux.org/packages/mingw-w64-crt-msvcrt (and also https://aur.archlinux.org/packages/mingw-w64-tools for gendef)
git clone https://github.com/kjliew/qemu-3dfx.git
cd qemu-3dfx/wrappers/mesa/
mkdir build && cd build
bash ../../../scripts/conf_wrapper
make && make clean
You can test the opengl32.dll with glchecker from the softgpu cd (move opengl32.dll and fxmemmap.vxd to the glchecker folder). If you compiled without mingw-w64-crt-msvcrt installed, glchecker should not work (you will get the dreaded API-MS-WIN-CRT-CONVERT-L1-1-0.DLL missing error)
But compiled with mingw-w64-crt-msvcrt installed it does work
Pinned Comments
kharovtobi commented on 2025-06-13 01:50 (UTC)
PSA - Wrappers does not work on Windows 9x because it compiles with UCRT instead of MSVCRT due to
mingw-w64-gcccompiled with UCRT on mind. Compile and make wrappers in a different environment yourself until i find a fix or something idk