mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 18:29:11 +00:00
Merge pull request #2842 from Calinou/improve-mingw-troubleshooting
Mention additional MinGW compilation troubleshooting tips
This commit is contained in:
@@ -217,6 +217,13 @@ And for 32-bit::
|
||||
sudo update-alternatives --config i686-w64-mingw32-g++
|
||||
<choose i686-w64-mingw32-g++-posix from the list>
|
||||
|
||||
.. note::
|
||||
|
||||
Using certain MinGW distributions (e.g. from Homebrew) may result in a build
|
||||
error about ``sprintf_s`` or ``wcscpy_s`` when compiling Godot. If this is
|
||||
the case, try passing
|
||||
``CXXFLAGS="-DMINGW_HAS_SECURE_API"`` at the end of the SCons command line.
|
||||
|
||||
Creating Windows export templates
|
||||
---------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user