ogre
ogre copied to clipboard
Mingw support
Hi, I'm MSYS2 project leader and we provide lot of prebuilded packages for mingw-w64 for Windows platform. I have dosen of patches that help me to build Ogre3d, so maybe someone look for them and maybe apply them upstream. https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-ogre3d
currently I can successfully cross-compile Ogre on Ubuntu using mingw-w64 gcc version 7.3-win32 20180312 (GCC)
Can you create a pull-request where you justify why the individual patches are needed? Also from a brief look I think the MinGW folder structure should match MSVC and not UNIX.
Well for mingw we prefer UNIX files layout, but it not principal I can have this patches locally. I will review patches again and will try submit pull requests
@paroj most important patch is https://github.com/Alexpux/MINGW-packages/blob/master/mingw-w64-ogre3d/001-fix-precompiled-headers-generate.patch
Under Windows GCC doesn’t like params like -isystem”C:/mypath/include”
Need to have space between -isystem and path
Something odd has cropped up after we switched to gcc-10.2.0 the 64 bit build now throws bad_alloc in the samplebrowser, this did not happen with gcc-9.3.0.