Code: Select all
[ 1%] Built target jsoncpp
[ 1%] Built target GenerateVersion
[ 1%] Built target cguittfont
[ 1%] Building CXX object src/CMakeFiles/minetest.dir/client/clientlauncher.cpp.obj
In file included from C:/Users/User/Desktop/DIR/minetest/src/log.h:27:0,
from C:/Users/User/Desktop/DIR/minetest/src/debug.h:27,
from C:/Users/User/Desktop/DIR/minetest/src/mainmenumanager.h:26,
from C:\Users\User\Desktop\DIR\minetest\src\client\clientlauncher.cpp:20:
C:/Users/User/Desktop/DIR/minetest/src/threads.h:63:15: error: 'thread' in namespace 'std' does not name a type
typedef std::thread::id threadid_t;
^~~~~~
C:/Users/User/Desktop/DIR/minetest/src/threads.h:64:15: error: 'thread' in namespace 'std' does not name a type
typedef std::thread::native_handle_type threadhandle_t;
^~~~~~
C:/Users/User/Desktop/DIR/minetest/src/threads.h:85:8: error: 'threadid_t' does not name a type
inline threadid_t thr_get_current_thread_id()
^~~~~~~~~~
C:/Users/User/Desktop/DIR/minetest/src/threads.h:96:35: error: 'thr_compare_thread_id' declared as an 'inline' variable
inline bool thr_compare_thread_id(threadid_t thr1, threadid_t thr2)
^~~~~~~~~~
C:/Users/User/Desktop/DIR/minetest/src/threads.h:96:35: error: 'threadid_t' was not declared in this scope
C:/Users/User/Desktop/DIR/minetest/src/threads.h:96:52: error: 'threadid_t' was not declared in this scope
inline bool thr_compare_thread_id(threadid_t thr1, threadid_t thr2)
^~~~~~~~~~
C:/Users/User/Desktop/DIR/minetest/src/threads.h:96:67: error: expression list treated as compound expression in initializer [-fpermissive]
inline bool thr_compare_thread_id(threadid_t thr1, threadid_t thr2)
^
C:/Users/User/Desktop/DIR/minetest/src/threads.h:105:35: error: 'thr_is_current_thread' declared as an 'inline' variable
inline bool thr_is_current_thread(threadid_t thr)
^~~~~~~~~~
C:/Users/User/Desktop/DIR/minetest/src/threads.h:105:35: error: 'threadid_t' was not declared in this scope
In file included from C:/Users/User/Desktop/DIR/minetest/src/debug.h:27:0,
from C:/Users/User/Desktop/DIR/minetest/src/mainmenumanager.h:26,
from C:\Users\User\Desktop\DIR\minetest\src\client\clientlauncher.cpp:20:
C:/Users/User/Desktop/DIR/minetest/src/log.h:81:11: error: 'threadid_t' was not declared in this scope
std::map<threadid_t, std::string> m_thread_names;
^~~~~~~~~~
C:/Users/User/Desktop/DIR/minetest/src/log.h:81:34: error: template argument 1 is invalid
std::map<threadid_t, std::string> m_thread_names;
^
C:/Users/User/Desktop/DIR/minetest/src/log.h:81:34: error: template argument 3 is invalid
C:/Users/User/Desktop/DIR/minetest/src/log.h:81:34: error: template argument 4 is invalid
In file included from C:/Users/User/Desktop/DIR/minetest/src/util/thread.h:24:0,
from C:/Users/User/Desktop/DIR/minetest/src/network/connection.h:30,
from C:/Users/User/Desktop/DIR/minetest/src/server.h:23,
from C:\Users\User\Desktop\DIR\minetest\src\client\clientlauncher.cpp:23:
c:\users\user\desktop\dir\minetest\src\threading\thread.h:96:9: error: 'threadid_t' does not name a type
inline threadid_t getThreadId() { return m_thread_obj->get_id(); }
^~~~~~~~~~
c:\users\user\desktop\dir\minetest\src\threading\thread.h:97:9: error: 'threadhandle_t' does not name a type
inline threadhandle_t getThreadHandle() { return m_thread_obj->native_handle(); }
^~~~~~~~~~~~~~
c:\users\user\desktop\dir\minetest\src\threading\thread.h:159:7: error: 'thread' in namespace 'std' does not name a type
std::thread *m_thread_obj;
^~~~~~
c:\users\user\desktop\dir\minetest\src\threading\thread.h: In member function 'bool Thread::isCurrentThread()':
c:\users\user\desktop\dir\minetest\src\threading\thread.h:90:68: error: 'getThreadId' was not declared in this scope
bool isCurrentThread() { return thr_is_current_thread(getThreadId()); }
^
c:\users\user\desktop\dir\minetest\src\threading\thread.h:90:69: error: 'thr_is_current_thread' cannot be used as a function
bool isCurrentThread() { return thr_is_current_thread(getThreadId()); }
^
C:\Users\User\Desktop\DIR\minetest\src\client\clientlauncher.cpp: In member function 'bool ClientLauncher::run(GameParams&, const Settings&)':
C:\Users\User\Desktop\DIR\minetest\src\client\clientlauncher.cpp:170:24: error: 'g_version_hash' was not declared in this scope
L" " + utf8_to_wide(g_version_hash) +
^~~~~~~~~~~~~~
src\CMakeFiles\minetest.dir\build.make:66: recipe for target 'src/CMakeFiles/minetest.dir/client/clientlauncher.cpp.obj' failed
mingw32-make[2]: *** [src/CMakeFiles/minetest.dir/client/clientlauncher.cpp.obj] Error 1
CMakeFiles\Makefile2:170: recipe for target 'src/CMakeFiles/minetest.dir/all' failed
mingw32-make[1]: *** [src/CMakeFiles/minetest.dir/all] Error 2
Makefile:150: recipe for target 'all' failed
mingw32-make: *** [all] Error 2