Basically I can’t get it to work. The compile works fine, but running the game fails at various stages.
I’ve tried:
- Compiling with Cygwin 64 on Windows10/64. Fail at attempting to load uix86_64.dll (it’s there!)
- Cross-compiling with x86_64-w64-mingw32-gcc (version 8.3) under Debian 10 - Fail at attempting to load cgamex86_64.dll (uix86_64.dll loads fine)
- Cross-compiling with MXE’s x86_64-w64-mingw32.static-gcc (version 5.5.0) under Debian 10 - Fail at attempting to load cgamex86_64.dll (uix86_64.dll loads fine).
I’m compiling with the following options:
ARCH=x86_64 PLATFORM=mingw32 make -j 16 BUILD_MISSIONPACK=0 BUILD_SERVER=0 BUILD_GAME_QVM=0 BUILD_STANDALONE=1
The first ARCH and PLATFORM options only for cross-compiling attempts. I’m only trying to build the client at this point, hence the BUILD_SERVER=0. I also don’t want to use QVMs as I need to be able to call stuff like SDL-ttf library from the renderer, for example, and basically be able to just write plain C inside cgame and such.
At this point I’m trying to compile the vanilla ioq3 master branch, without any of my modifications. I’m failing at this miserably. I mean, I compile fine. I just can get it to run.
It always ends up failing on loading either UI or CGAME DLL. I think I traced the issue to SDL_LoadFunction() ultimately, at which point it becomes kind of blurry.
Any help would be appreciated.