diff --git a/projectfiles/CodeBlocks/README.md b/projectfiles/CodeBlocks/README.md index ec32be56a047..a0af6283eb74 100644 --- a/projectfiles/CodeBlocks/README.md +++ b/projectfiles/CodeBlocks/README.md @@ -9,16 +9,15 @@ 2. Install CodeBlocks from . MinGW is not needed. -3. Install tdm-gcc-5.1.0 from . +3. Download and unpack MinGW-w64 from https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/7.2.0/threads-posix/dwarf/i686-7.2.0-release-posix-dwarf-rt_v5-rev0.7z or + https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/7.2.0/threads-posix/sjlj/i686-7.2.0-release-posix-sjlj-rt_v5-rev0.7z. Note that the project files in `wesnoth_root/projectfiles/CodeBlocks/` may contain a setting to compile with OpenMP support, so you should make sure that this option is enabled while installing the compiler (mark the checkbox for this when choosing components to install). - NOTE: Newer versions of tdm-gcc may not work. The above is the latest version - confirmed to build. You must also make sure to download the 32-bit version - (tdm-gcc-5.1.0-3.exe), NOT the 64-bit version (tdm64-gcc-5.1.0-2.exe). Building - a 64-bit Wesnoth executable on Windows is currently not supported and will + NOTE: You must make sure to download the 32-bit version. + Building a 64-bit Wesnoth executable on Windows is currently not supported and will fail with the SDK package provided in the next step. 4. Download the latest `CodeBlocksWinSDK*.zip` package from . diff --git a/projectfiles/CodeBlocks/wesnothd.cbp b/projectfiles/CodeBlocks/wesnothd.cbp index 5fafccba55e9..828d26b51c23 100644 --- a/projectfiles/CodeBlocks/wesnothd.cbp +++ b/projectfiles/CodeBlocks/wesnothd.cbp @@ -90,6 +90,8 @@ + +