From b782366a0852e960c17580786b9e1deec4d1de6b Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Tue, 22 Oct 2024 02:10:31 +0200 Subject: [PATCH] README: Mention to select platform Win32 on Windows nowadays CMake defaults to x64, so when not explicitly setting it to Win32 you get a DLL that's incompatible with the official dhewm3 binaries. --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index eea5f6d..63ff5ed 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,8 @@ You need [CMake](https://cmake.org/) either Visual Studio (2010 and newer have b 4. Start the CMake GUI 5. Select your `dhewm3-sdk/` folder for *"Where is the source code"* and your **build directory** from step 3 for *"Where to build the binaries"*. -6. Click `[Configure]`, select what you want to build with, e.g. "Visual Studio 15 2017", click `[Finish]`, wait for CMake to do its thing +6. Click `[Configure]`, select what you want to build with, e.g. "Visual Studio 15 2017", and the platform to target, + probably "**Win32**" (for compatibility with the official dhewm3 Windows binaries), click `[Finish]`, wait for CMake to do its thing - If you're using **MinGW** you'll have to select your build type now, e.g. `Debug` (not optimized but debuggable) or `Release` (optimized and thus faster, but can't be debugged that well). - (For Visual Studio you don't have to select a build type now, you can do it in in Visual Studio) 7. Click `[Generate]`