I get errors not too far into the compilation, which I think might be incompatibility between MS/MinGW C runtime libraries:
Code: Select all
[ 3%] Building CXX object examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/Gwen.obj
In file included from C:/OgreDEV/bullet3-2.83.6/examples/ThirdPartyLibs/Gwen/Gwen.h:30:0,
from C:\OgreDEV\bullet3-2.83.6\examples\ThirdPartyLibs\Gwen\Gwen.cpp:8:
C:\OgreDEV\bullet3-2.83.6\examples\ThirdPartyLibs\Gwen\Gwen.cpp: In function 'void Gwen::Debug::Msg(const char*, ...)':
C:\OgreDEV\bullet3-2.83.6\examples\ThirdPartyLibs\Gwen\Gwen.cpp:26:52: error: '_TRUNCATE' was not declared in this scope
GwenUtil_VSNPrintFSafe( strOut, sizeof(strOut), _TRUNCATE, str, s );
^
C:/OgreDEV/bullet3-2.83.6/examples/ThirdPartyLibs/Gwen/Macros.h:25:116: note: in definition of macro 'GwenUtil_VSNPrintFSafe'
#define GwenUtil_VSNPrintFSafe( _DstBuf, _DstSize, _MaxCount, _Format, _ArgLis
t ) vsnprintf_s( _DstBuf, _DstSize, _MaxCount, _Format, _ArgList )
^
In file included from C:/OgreDEV/bullet3-2.83.6/examples/ThirdPartyLibs/Gwen/Gwen.h:30:0,
from C:\OgreDEV\bullet3-2.83.6\examples\ThirdPartyLibs\Gwen\Gwen.cpp:8:
C:/OgreDEV/bullet3-2.83.6/examples/ThirdPartyLibs/Gwen/Macros.h:25:145: error: 'vsnprintf_s' was not declared in this scope
#define GwenUtil_VSNPrintFSafe( _DstBuf, _DstSize, _MaxCount, _Format, _ArgLis
t ) vsnprintf_s( _DstBuf, _DstSize, _MaxCount, _Format, _ArgList )
^
C:\OgreDEV\bullet3-2.83.6\examples\ThirdPartyLibs\Gwen\Gwen.cpp:26:4: note: in expansion of macro 'GwenUtil_VSNPrintFSafe'
GwenUtil_VSNPrintFSafe( strOut, sizeof(strOut), _TRUNCATE, str, s );
^
examples\ThirdPartyLibs\Gwen\CMakeFiles\gwen.dir\build.make:162: recipe for target 'examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/Gwen.obj' failed
mingw32-make[2]: *** [examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/Gwen.obj] Error 1
CMakeFiles\Makefile2:379: recipe for target 'examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/all' failed
mingw32-make[1]: *** [examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
mingw32-make: *** [all] Error 2
TIA