mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-23 13:02:18 +00:00
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.
This commit is contained in:
parent
5fcabc8f6a
commit
b782366a08
1 changed files with 2 additions and 1 deletions
|
@ -45,7 +45,8 @@ You need [CMake](https://cmake.org/) either Visual Studio (2010 and newer have b
|
||||||
4. Start the CMake GUI
|
4. Start the CMake GUI
|
||||||
5. Select your `dhewm3-sdk/` folder for *"Where is the source code"* and your
|
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"*.
|
**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).
|
- 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)
|
- (For Visual Studio you don't have to select a build type now, you can do it in in Visual Studio)
|
||||||
7. Click `[Generate]`
|
7. Click `[Generate]`
|
||||||
|
|
Loading…
Reference in a new issue