Build Errors (MinGW 5.1)
Closed this issue · 2 comments
wini3d commented
I got to 55% and throwing these errors..
[ 52%] Built target ankievent
[ 53%] Built target ankiinput
[ 55%] Built target ankiphysics
[ 55%] Built target ankimisc
[ 55%] Building CXX object src/gr/CMakeFiles/ankigr.dir/gl/DynamicMemoryManager.cpp.obj
C:\anki3d\src\gr\gl\DynamicMemoryManager.cpp: In member function 'void anki::DynamicMemoryManager::initRenderThread()':
C:\anki3d\src\gr\gl\DynamicMemoryManager.cpp:157:34: error: no matching function for call to 'max(anki::PtrSize&, anki::U)'
size = max(size, 2 * BLOCK_SIZE);
^
In file included from C:/anki3d/include/anki/util/DynamicArray.h:10:0,
from C:/anki3d/include/anki/util/String.h:8,
from C:/anki3d/include/anki/gr/Common.h:11,
from C:/anki3d/include/anki/gr/gl/Common.h:8,
from C:/anki3d/include/anki/gr/gl/DynamicMemoryManager.h:8,
from C:\anki3d\src\gr\gl\DynamicMemoryManager.cpp:6:
C:/anki3d/include/anki/util/Functions.h:46:10: note: candidate: template<class T> T anki::max(T, T)
inline T max(T a, T b)
^
C:/anki3d/include/anki/util/Functions.h:46:10: note: template argument deduction/substitution failed:
C:\anki3d\src\gr\gl\DynamicMemoryManager.cpp:157:34: note: deduced conflicting types for parameter 'T' ('long long unsigned int' and 'unsigned int')
size = max(size, 2 * BLOCK_SIZE);
^
src\gr\CMakeFiles\ankigr.dir\build.make:312: recipe for target 'src/gr/CMakeFiles/ankigr.dir/gl/DynamicMemoryManager.cpp.obj' failed
mingw32-make[3]: *** [src/gr/CMakeFiles/ankigr.dir/gl/DynamicMemoryManager.cpp.obj] Error 1
CMakeFiles\Makefile2:1075: recipe for target 'src/gr/CMakeFiles/ankigr.dir/all' failed
mingw32-make[2]: *** [src/gr/CMakeFiles/ankigr.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
mingw32-make[1]: *** [all] Error 2
godlikepanos commented
MinGW should be working now. appveyor should check them on every commit.
wini3d commented
Thanks, builds ok now but getting app initialization failed
errors with asset/path loading..