Closed h6899 closed 5 years ago
Awesome, thanks so much!!! Gimme some time and I'll fix these - will you try again when I'm done?
Awesome, thanks so much!!! Gimme some time and I'll fix these - will you try again when I'm done?
Of course
Hello, I've pushed a fix to the "orhpaned_points" branch (yeah, misspelled...); this is basically the 1.11.0 WIP branch, it'll merge into master next week. Could you try again on this branch?
Hello, I've pushed a fix to the "orhpaned_points" branch (yeah, misspelled...); this is basically the 1.11.0 WIP branch, it'll merge into master next week. Could you try again on this branch?
[ 2%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Utils.cpp.o
[ 2%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/GameTypes.cpp.o
[ 5%] Built target gtest
[ 5%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Vectors.cpp.o
Scanning dependencies of target gmock
[ 6%] Building CXX object UnitTests/gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
Scanning dependencies of target gtest_main
[ 7%] Building CXX object UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/GameTypes.cpp:9:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/Utils.h:285:31: error: cannot declare member function ‘static T Utils::GetOptionalJsonMember(const object&, const string&, const T&) [with T = float; picojson::object = std::map<std::cxx11::basic_string~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/Utils.h:300:29: error: cannot declare member function ‘static T Utils::GetOptionalJsonMember(const object&, const string&, const T&) [with T = int; picojson::object = std::map<std::~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/Utils.h:314:35: error: cannot declare member function ‘static std::optional<_Tp> Utils::GetOptionalJsonMember(const object&, const string&) [with T = float; picojson::object = std::map<std::cxx11::basic_string~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/Utils.h:326:35: error: cannot declare member function ‘static std::optional<_Tp> Utils::GetOptionalJsonMember(const object&, const string&) [with T = int; picojson::object = std::map<std::__cxx11::basic_string~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/Utils.h:338:35: error: cannot declare member function ‘static T Utils::GetMandatoryJsonMember(const object&, const string&) [with T = float; picojson::object = std::map<std::__cxx11::basic_string~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/Utils.h:349:35: error: cannot declare member function ‘static T Utils::GetMandatoryJsonMember(const object&, const string&) [with T = int; picojson::object = std::map<std::__cxx11::basic_string~
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/Utils.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/Utils.h:285:31: error: cannot declare member function ‘static T Utils::GetOptionalJsonMember(const object&, const string&, const T&) [with T = float; picojson::object = std::map<std::~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/Utils.h:300:29: error: cannot declare member function ‘static T Utils::GetOptionalJsonMember(const object&, const string&, const T&) [with T = int; picojson::object = std::map<std::cxx11::basic_string~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/Utils.h:314:35: error: cannot declare member function ‘static std::optional<_Tp> Utils::GetOptionalJsonMember(const object&, const string&) [with T = float; picojson::object = std::map<std::__cxx11::basic_string~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/Utils.h:326:35: error: cannot declare member function ‘static std::optional<_Tp> Utils::GetOptionalJsonMember(const object&, const string&) [with T = int; picojson::object = std::map<std::~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/Utils.h:338:35: error: cannot declare member function ‘static T Utils::GetMandatoryJsonMember(const object&, const string&) [with T = float; picojson::object = std::map<std::cxx11::basic_string~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/Utils.h:349:35: error: cannot declare member function ‘static T Utils::GetMandatoryJsonMember(const object&, const string&) [with T = int; picojson::object = std::map<std::~
make[2]: [GameCore/CMakeFiles/GameCoreLib.dir/build.make:102: GameCore/CMakeFiles/GameCoreLib.dir/GameTypes.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
[ 8%] Linking CXX static library ../../../../lib/libgtest_main.a
[ 8%] Built target gtest_main
make[2]: [GameCore/CMakeFiles/GameCoreLib.dir/build.make:154: GameCore/CMakeFiles/GameCoreLib.dir/Utils.cpp.o] Error 1
make[1]: [CMakeFiles/Makefile2:264: GameCore/CMakeFiles/GameCoreLib.dir/all] Error 2
make[1]: Waiting for unfinished jobs....
[ 9%] Linking CXX static library ../../../lib/libgmock.a
[ 9%] Built target gmock
make: [Makefile:130: all] Error 2
Gee, I wonder why MSVC is so permissive...testing the fix, will push in 5 minutes.
Pushed a fix. Hey, thanks so much - I really appreciate this feedback you're giving me, I don't have a Linux build environment handy. Let me know how it goes now.
BTW, are you a C++ developer? If so, would you know how to fill-in the missing non-MSVC code in GameCore/FloatingPoint.h?
Pushed a fix. Hey, thanks so much - I really appreciate this feedback you're giving me, I don't have a Linux build environment handy. Let me know how it goes now.
BTW, are you a C++ developer? If so, would you know how to fill-in the missing non-MSVC code in GameCore/FloatingPoint.h?
[ 8%] Built target GameCoreLib
[ 10%] Built target gtest
[ 11%] Building CXX object GameOpenGL/CMakeFiles/GameOpenGLLib.dir/GameOpenGL_Ext.cpp.o
[ 15%] Built target gmock
[ 15%] Built target gtest_main
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In function ‘void InitOpenGLExt_Framebuffer(GLADloadproc)’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:57:65: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glIsRenderbuffer", glIsRenderbuffer, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:58:65: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glIsRenderbuffer", glIsRenderbuffer, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:59:69: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glBindRenderbuffer", glBindRenderbuffer, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:60:75: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glDeleteRenderbuffers", glDeleteRenderbuffers, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:61:69: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glGenRenderbuffers", glGenRenderbuffers, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:62:75: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glRenderbufferStorage", glRenderbufferStorage, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:63:89: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glGetRenderbufferParameteriv", glGetRenderbufferParameteriv, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:64:63: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glIsFramebuffer", glIsFramebuffer, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:65:67: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glBindFramebuffer", glBindFramebuffer, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:66:73: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glDeleteFramebuffers", glDeleteFramebuffers, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:67:67: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glGenFramebuffers", glGenFramebuffers, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:68:81: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glCheckFramebufferStatus", glCheckFramebufferStatus, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:69:77: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glFramebufferTexture1D", glFramebufferTexture1D, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:70:77: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glFramebufferTexture2D", glFramebufferTexture2D, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:71:77: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glFramebufferTexture3D", glFramebufferTexture3D, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:72:83: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glFramebufferRenderbuffer", glFramebufferRenderbuffer, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:73:107: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glGetFramebufferAttachmentParameteriv", glGetFramebufferAttachmentParameteriv, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:75:48: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
else if (HasExt("GL_EXT_framebuffer_object"))
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:79:68: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glIsRenderbufferEXT", glIsRenderbuffer, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:80:68: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glIsRenderbufferEXT", glIsRenderbuffer, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:81:72: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glBindRenderbufferEXT", glBindRenderbuffer, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:82:78: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glDeleteRenderbuffersEXT", glDeleteRenderbuffers, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:83:72: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glGenRenderbuffersEXT", glGenRenderbuffers, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:84:78: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glRenderbufferStorageEXT", glRenderbufferStorage, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:85:92: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glGetRenderbufferParameterivEXT", glGetRenderbufferParameteriv, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:86:66: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glIsFramebufferEXT", glIsFramebuffer, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:87:70: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glBindFramebufferEXT", glBindFramebuffer, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:88:76: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glDeleteFramebuffersEXT", glDeleteFramebuffers, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:89:70: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glGenFramebuffersEXT", glGenFramebuffers, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:90:84: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glCheckFramebufferStatusEXT", glCheckFramebufferStatus, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:91:80: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glFramebufferTexture1DEXT", glFramebufferTexture1D, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:92:80: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glFramebufferTexture2DEXT", glFramebufferTexture2D, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:93:80: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glFramebufferTexture3DEXT", glFramebufferTexture3D, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:94:86: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glFramebufferRenderbufferEXT", glFramebufferRenderbuffer, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:95:110: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glGetFramebufferAttachmentParameterivEXT", glGetFramebufferAttachmentParameteriv, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In function ‘void InitOpenGLExt_DrawInstanced(GLADloadproc)’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:117:75: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glDrawArraysInstanced", glDrawArraysInstanced, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:118:79: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glDrawElementsInstanced", glDrawElementsInstanced, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:120:44: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
else if (HasExt("GL_ARB_draw_instanced"))
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:122:78: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glDrawArraysInstancedARB", glDrawArraysInstanced, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:123:82: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glDrawElementsInstancedARB", glDrawElementsInstanced, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:125:44: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
else if (HasExt("GL_EXT_draw_instanced"))
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:127:78: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glDrawArraysInstancedEXT", glDrawArraysInstanced, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:128:82: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glDrawElementsInstancedEXT", glDrawElementsInstanced, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In function ‘void InitOpenGLExt_VertexArray(GLADloadproc)’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:148:47: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
|| HasExt("GL_ARB_vertex_array_object"))
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:152:67: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glBindVertexArray", glBindVertexArray, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:153:73: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glDeleteVertexArrays", glDeleteVertexArrays, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:154:67: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glGenVertexArrays", glGenVertexArrays, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:155:63: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
LoadAndVerify("glIsVertexArray", glIsVertexArray, load);
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In function ‘void InitOpenGLExt_TextureFloat(GLADloadproc)’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:170:41: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
|| HasExt("GL_ARB_texture_float"))
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In instantiation of ‘void LoadAndVerify(char, TFunc&, GLADloadproc) [with TFunc = unsigned char(unsigned int); GLADloadproc = void ()(const char)]’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:57:65: required from here
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:14:13: error: invalid static_cast from type ‘void’ to type ‘unsigned char ()(unsigned int)’
pFunc = static_cast<TFunc >(load(functionName));
^~~~~~~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In instantiation of ‘void LoadAndVerify(char, TFunc&, GLADloadproc) [with TFunc = void(unsigned int, unsigned int); GLADloadproc = void ()(const char)]’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:59:69: required from here
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:14:13: error: invalid static_cast from type ‘void’ to type ‘void ()(unsigned int, unsigned int)’
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In instantiation of ‘void LoadAndVerify(char, TFunc&, GLADloadproc) [with TFunc = void(int, const unsigned int); GLADloadproc = void ()(const char)]’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:60:75: required from here
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:14:13: error: invalid static_cast from type ‘void’ to type ‘void ()(int, const unsigned int)’
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In instantiation of ‘void LoadAndVerify(char, TFunc&, GLADloadproc) [with TFunc = void(int, unsigned int); GLADloadproc = void ()(const char)]’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:61:69: required from here
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:14:13: error: invalid static_cast from type ‘void’ to type ‘void ()(int, unsigned int)’
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In instantiation of ‘void LoadAndVerify(char, TFunc&, GLADloadproc) [with TFunc = void(unsigned int, unsigned int, int, int); GLADloadproc = void ()(const char)]’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:62:75: required from here
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:14:13: error: invalid static_cast from type ‘void’ to type ‘void ()(unsigned int, unsigned int, int, int)’
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In instantiation of ‘void LoadAndVerify(char, TFunc&, GLADloadproc) [with TFunc = void(unsigned int, unsigned int, int); GLADloadproc = void ()(const char)]’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:63:89: required from here
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:14:13: error: invalid static_cast from type ‘void’ to type ‘void ()(unsigned int, unsigned int, int)’
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In instantiation of ‘void LoadAndVerify(char, TFunc&, GLADloadproc) [with TFunc = unsigned int(unsigned int); GLADloadproc = void ()(const char)]’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:68:81: required from here
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:14:13: error: invalid static_cast from type ‘void’ to type ‘unsigned int ()(unsigned int)’
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In instantiation of ‘void LoadAndVerify(char, TFunc&, GLADloadproc) [with TFunc = void(unsigned int, unsigned int, unsigned int, unsigned int, int); GLADloadproc = void ()(const char)]’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:69:77: required from here
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:14:13: error: invalid static_cast from type ‘void’ to type ‘void ()(unsigned int, unsigned int, unsigned int, unsigned int, int)’
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In instantiation of ‘void LoadAndVerify(char, TFunc&, GLADloadproc) [with TFunc = void(unsigned int, unsigned int, unsigned int, unsigned int, int, int); GLADloadproc = void ()(const char)]’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:71:77: required from here
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:14:13: error: invalid static_cast from type ‘void’ to type ‘void ()(unsigned int, unsigned int, unsigned int, unsigned int, int, int)’
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In instantiation of ‘void LoadAndVerify(char, TFunc&, GLADloadproc) [with TFunc = void(unsigned int, unsigned int, unsigned int, unsigned int); GLADloadproc = void ()(const char)]’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:72:83: required from here
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:14:13: error: invalid static_cast from type ‘void’ to type ‘void ()(unsigned int, unsigned int, unsigned int, unsigned int)’
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In instantiation of ‘void LoadAndVerify(char, TFunc&, GLADloadproc) [with TFunc = void(unsigned int, unsigned int, unsigned int, int); GLADloadproc = void ()(const char)]’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:73:107: required from here
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:14:13: error: invalid static_cast from type ‘void’ to type ‘void ()(unsigned int, unsigned int, unsigned int, int)’
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In instantiation of ‘void LoadAndVerify(char, TFunc&, GLADloadproc) [with TFunc = void(unsigned int, int, int, int); GLADloadproc = void ()(const char)]’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:117:75: required from here
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:14:13: error: invalid static_cast from type ‘void’ to type ‘void ()(unsigned int, int, int, int)’
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In instantiation of ‘void LoadAndVerify(char, TFunc&, GLADloadproc) [with TFunc = void(unsigned int, int, unsigned int, const void, int); GLADloadproc = void ()(const char)]’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:118:79: required from here
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:14:13: error: invalid static_cast from type ‘void’ to type ‘void ()(unsigned int, int, unsigned int, const void, int)’
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp: In instantiation of ‘void LoadAndVerify(char, TFunc&, GLADloadproc) [with TFunc = void(unsigned int); GLADloadproc = void ()(const char)]’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:152:67: required from here
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL/GameOpenGL_Ext.cpp:14:13: error: invalid static_cast from type ‘void’ to type ‘void ()(unsigned int)’
make[2]: [GameOpenGL/CMakeFiles/GameOpenGLLib.dir/build.make:76: GameOpenGL/CMakeFiles/GameOpenGLLib.dir/GameOpenGL_Ext.cpp.o] Error 1
make[1]: [CMakeFiles/Makefile2:319: GameOpenGL/CMakeFiles/GameOpenGLLib.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Ok, this will take a while - I'll push a fix soon.
Ok, how about now? What's next? :-)
Ok, how about now? What's next? :-)
Sorry for late response.
[ 6%] Built target gtest
[ 10%] Built target GameCoreLib
[ 13%] Built target GameOpenGLLib
[ 15%] Built target gtest_main
[ 17%] Built target gmock
[ 17%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/GPUCalculatorFactory.cpp.o
[ 18%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/GPUCalculator.cpp.o
[ 20%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/AddGPUCalculator.cpp.o
[ 20%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/PixelCoordsGPUCalculator.cpp.o
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.h:11,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:33:15: error: explicit specialization in non-namespace scope ‘class ShaderManager~~~~~~~
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.h:11,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:79:17: error: too many template-parameter-lists
inline void SetProgramParameter(float value)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:92:17: error: too many template-parameter-lists
inline void SetProgramParameter(float val1, float val2)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:106:17: error: too many template-parameter-lists
inline void SetProgramParameter(float val1, float val2, float val3)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:121:17: error: too many template-parameter-lists
inline void SetProgramParameter(float val1, float val2, float val3, float val4)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:137:17: error: too many template-parameter-lists
inline void SetProgramParameter(float const(&value)[4][4])
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:153:17: error: too many template-parameter-lists
inline void ActivateProgram()
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:162:17: error: too many template-parameter-lists
inline void ActivateTexture()
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:172:17: error: too many template-parameter-lists
static void CheckUniformError()
^~~~~
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.h:11,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/PixelCoordsGPUCalculator.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/PixelCoordsGPUCalculator.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:33:15: error: explicit specialization in non-namespace scope ‘class ShaderManager~~~~~~~
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.h:11,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/PixelCoordsGPUCalculator.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/PixelCoordsGPUCalculator.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:79:17: error: too many template-parameter-lists
inline void SetProgramParameter(float value)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:92:17: error: too many template-parameter-lists
inline void SetProgramParameter(float val1, float val2)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:106:17: error: too many template-parameter-lists
inline void SetProgramParameter(float val1, float val2, float val3)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:121:17: error: too many template-parameter-lists
inline void SetProgramParameter(float val1, float val2, float val3, float val4)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:137:17: error: too many template-parameter-lists
inline void SetProgramParameter(float const(&value)[4][4])
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:153:17: error: too many template-parameter-lists
inline void ActivateProgram()
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:162:17: error: too many template-parameter-lists
inline void ActivateTexture()
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:172:17: error: too many template-parameter-lists
static void CheckUniformError()
^~~~~
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:270,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.h:11,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl: In constructor ‘ShaderManager~
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:270,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.h:11,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl: In member function ‘void ShaderManager~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:103:28: error: expected ‘;’ before ‘const’
Traits::ProgramType const program = Traits::ShaderFilenameToProgramType(shaderFilenamePath.stem().string());
^~
;
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:104:66: error: ‘program’ was not declared in this scope
std::string const programName = Traits::ProgramTypeToStr(program);
^~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:104:66: note: suggested alternative: ‘mPrograms’
std::string const programName = Traits::ProgramTypeToStr(program);
^~~
mPrograms
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:189:14: error: need ‘typename’ before ‘Traits::ProgramParameterType’ because ‘Traits’ is a dependent scope
for (Traits::ProgramParameterType programParameter : allProgramParameters)
^~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:189:42: error: expected ‘;’ before ‘programParameter’
for (Traits::ProgramParameterType programParameter : allProgramParameters)
^~~~~
;
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:203:5: error: expected primary-expression before ‘}’ token
}
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:202:10: error: expected ‘;’ before ‘}’ token
}
^
;
}
~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:203:5: error: expected primary-expression before ‘}’ token
}
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:202:10: error: expected ‘)’ before ‘}’ token
}
^
)
}
~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:189:13: note: to match this ‘(’
for (Traits::ProgramParameterType programParameter : allProgramParameters)
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:203:5: error: expected primary-expression before ‘}’ token
}
^
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:270,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.h:11,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/PixelCoordsGPUCalculator.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/PixelCoordsGPUCalculator.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl: In constructor ‘ShaderManager~
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:270,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.h:11,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/PixelCoordsGPUCalculator.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/PixelCoordsGPUCalculator.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl: In member function ‘void ShaderManager~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:103:28: error: expected ‘;’ before ‘const’
Traits::ProgramType const program = Traits::ShaderFilenameToProgramType(shaderFilenamePath.stem().string());
^~
;
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:104:66: error: ‘program’ was not declared in this scope
std::string const programName = Traits::ProgramTypeToStr(program);
^~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:104:66: note: suggested alternative: ‘mPrograms’
std::string const programName = Traits::ProgramTypeToStr(program);
^~~
mPrograms
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:189:14: error: need ‘typename’ before ‘Traits::ProgramParameterType’ because ‘Traits’ is a dependent scope
for (Traits::ProgramParameterType programParameter : allProgramParameters)
^~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:189:42: error: expected ‘;’ before ‘programParameter’
for (Traits::ProgramParameterType programParameter : allProgramParameters)
^~~~~
;
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:203:5: error: expected primary-expression before ‘}’ token
}
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:202:10: error: expected ‘;’ before ‘}’ token
}
^
;
}
~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:203:5: error: expected primary-expression before ‘}’ token
}
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:202:10: error: expected ‘)’ before ‘}’ token
}
^
)
}
~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:189:13: note: to match this ‘(’
for (Traits::ProgramParameterType programParameter : allProgramParameters)
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:203:5: error: expected primary-expression before ‘}’ token
}
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl: In static member function ‘static std::set~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:426:41: error: expected ‘;’ before ‘shaderParameter’
Traits::ProgramParameterType shaderParameter = Traits::StrToProgramParameterType(shaderParameterName);
^~~~
;
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:429:42: error: ‘shaderParameter’ was not declared in this scope
if (!shaderParameters.insert(shaderParameter).second)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:429:42: note: suggested alternative: ‘shaderParameters’
if (!shaderParameters.insert(shaderParameter).second)
^~~~~~~
shaderParameters
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl: In static member function ‘static std::set~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:426:41: error: expected ‘;’ before ‘shaderParameter’
Traits::ProgramParameterType shaderParameter = Traits::StrToProgramParameterType(shaderParameterName);
^~~~
;
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:429:42: error: ‘shaderParameter’ was not declared in this scope
if (!shaderParameters.insert(shaderParameter).second)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:429:42: note: suggested alternative: ‘shaderParameters’
if (!shaderParameters.insert(shaderParameter).second)
^~~~~~~
shaderParameters
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/PixelCoordsGPUCalculator.cpp: In constructor ‘PixelCoordsGPUCalculator::PixelCoordsGPUCalculator(std::unique_ptr~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/PixelCoordsGPUCalculator.cpp:102:73: error: expected primary-expression before ‘)’ token
GetShaderManager().ActivateProgram~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:103:9: note: say ‘typename Traits::ProgramType’ if a type is meant
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:202:9: error: dependent-name ‘Traits::ProgramParameterType’ is parsed as a non-type, but instantiation yields a type
}
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:202:9: note: say ‘typename Traits::ProgramParameterType’ if a type is meant
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.h:11,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/AddGPUCalculator.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/AddGPUCalculator.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:33:15: error: explicit specialization in non-namespace scope ‘class ShaderManager~~~~~~~
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.h:11,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/AddGPUCalculator.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/AddGPUCalculator.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:79:17: error: too many template-parameter-lists
inline void SetProgramParameter(float value)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:92:17: error: too many template-parameter-lists
inline void SetProgramParameter(float val1, float val2)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:106:17: error: too many template-parameter-lists
inline void SetProgramParameter(float val1, float val2, float val3)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:121:17: error: too many template-parameter-lists
inline void SetProgramParameter(float val1, float val2, float val3, float val4)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:137:17: error: too many template-parameter-lists
inline void SetProgramParameter(float const(&value)[4][4])
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:153:17: error: too many template-parameter-lists
inline void ActivateProgram()
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:162:17: error: too many template-parameter-lists
inline void ActivateTexture()
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:172:17: error: too many template-parameter-lists
static void CheckUniformError()
^~~~~
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.h:11,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculatorFactory.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculatorFactory.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:33:15: error: explicit specialization in non-namespace scope ‘class ShaderManager~~~~~~~
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.h:11,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculatorFactory.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculatorFactory.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:79:17: error: too many template-parameter-lists
inline void SetProgramParameter(float value)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:92:17: error: too many template-parameter-lists
inline void SetProgramParameter(float val1, float val2)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:106:17: error: too many template-parameter-lists
inline void SetProgramParameter(float val1, float val2, float val3)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:121:17: error: too many template-parameter-lists
inline void SetProgramParameter(float val1, float val2, float val3, float val4)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:137:17: error: too many template-parameter-lists
inline void SetProgramParameter(float const(&value)[4][4])
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:153:17: error: too many template-parameter-lists
inline void ActivateProgram()
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:162:17: error: too many template-parameter-lists
inline void ActivateTexture()
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:172:17: error: too many template-parameter-lists
static void CheckUniformError()
^~~~~
make[2]: [GPUCalc/CMakeFiles/GPUCalcLib.dir/build.make:102: GPUCalc/CMakeFiles/GPUCalcLib.dir/PixelCoordsGPUCalculator.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:270,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.h:11,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/AddGPUCalculator.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/AddGPUCalculator.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl: In constructor ‘ShaderManager~
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:270,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.h:11,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/AddGPUCalculator.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/AddGPUCalculator.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl: In member function ‘void ShaderManager~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:103:28: error: expected ‘;’ before ‘const’
Traits::ProgramType const program = Traits::ShaderFilenameToProgramType(shaderFilenamePath.stem().string());
^~
;
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:104:66: error: ‘program’ was not declared in this scope
std::string const programName = Traits::ProgramTypeToStr(program);
^~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:104:66: note: suggested alternative: ‘mPrograms’
std::string const programName = Traits::ProgramTypeToStr(program);
^~~
mPrograms
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:189:14: error: need ‘typename’ before ‘Traits::ProgramParameterType’ because ‘Traits’ is a dependent scope
for (Traits::ProgramParameterType programParameter : allProgramParameters)
^~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:189:42: error: expected ‘;’ before ‘programParameter’
for (Traits::ProgramParameterType programParameter : allProgramParameters)
^~~~~
;
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:203:5: error: expected primary-expression before ‘}’ token
}
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:202:10: error: expected ‘;’ before ‘}’ token
}
^
;
}
~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:203:5: error: expected primary-expression before ‘}’ token
}
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:202:10: error: expected ‘)’ before ‘}’ token
}
^
)
}
~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:189:13: note: to match this ‘(’
for (Traits::ProgramParameterType programParameter : allProgramParameters)
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:203:5: error: expected primary-expression before ‘}’ token
}
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl: In static member function ‘static std::set~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:426:41: error: expected ‘;’ before ‘shaderParameter’
Traits::ProgramParameterType shaderParameter = Traits::StrToProgramParameterType(shaderParameterName);
^~~~
;
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:429:42: error: ‘shaderParameter’ was not declared in this scope
if (!shaderParameters.insert(shaderParameter).second)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:429:42: note: suggested alternative: ‘shaderParameters’
if (!shaderParameters.insert(shaderParameter).second)
^~~~~~~
shaderParameters
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/AddGPUCalculator.cpp: In constructor ‘AddGPUCalculator::AddGPUCalculator(std::unique_ptr~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/AddGPUCalculator.cpp:87:65: error: expected primary-expression before ‘)’ token
GetShaderManager().ActivateProgram~~~~~~~
ExtractShaderParameters
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/AddGPUCalculator.cpp:89:70: error: expected primary-expression before ‘)’ token
GetShaderManager().SetTextureParameters~
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:270,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.h:11,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculatorFactory.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculatorFactory.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl: In member function ‘void ShaderManager~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:103:28: error: expected ‘;’ before ‘const’
Traits::ProgramType const program = Traits::ShaderFilenameToProgramType(shaderFilenamePath.stem().string());
^~
;
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:104:66: error: ‘program’ was not declared in this scope
std::string const programName = Traits::ProgramTypeToStr(program);
^~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:104:66: note: suggested alternative: ‘mPrograms’
std::string const programName = Traits::ProgramTypeToStr(program);
^~~
mPrograms
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:189:14: error: need ‘typename’ before ‘Traits::ProgramParameterType’ because ‘Traits’ is a dependent scope
for (Traits::ProgramParameterType programParameter : allProgramParameters)
^~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:189:42: error: expected ‘;’ before ‘programParameter’
for (Traits::ProgramParameterType programParameter : allProgramParameters)
^~~~~
;
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:203:5: error: expected primary-expression before ‘}’ token
}
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:202:10: error: expected ‘;’ before ‘}’ token
}
^
;
}
~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:203:5: error: expected primary-expression before ‘}’ token
}
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:202:10: error: expected ‘)’ before ‘}’ token
}
^
)
}
~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:189:13: note: to match this ‘(’
for (Traits::ProgramParameterType programParameter : allProgramParameters)
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:203:5: error: expected primary-expression before ‘}’ token
}
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl: In static member function ‘static std::set~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:426:41: error: expected ‘;’ before ‘shaderParameter’
Traits::ProgramParameterType shaderParameter = Traits::StrToProgramParameterType(shaderParameterName);
^~~~
;
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:429:42: error: ‘shaderParameter’ was not declared in this scope
if (!shaderParameters.insert(shaderParameter).second)
^~~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl:429:42: note: suggested alternative: ‘shaderParameters’
if (!shaderParameters.insert(shaderParameter).second)
^~~~~~~
shaderParameters
make[2]: [GPUCalc/CMakeFiles/GPUCalcLib.dir/build.make:76: GPUCalc/CMakeFiles/GPUCalcLib.dir/GPUCalculator.cpp.o] Error 1
make[2]: [GPUCalc/CMakeFiles/GPUCalcLib.dir/build.make:63: GPUCalc/CMakeFiles/GPUCalcLib.dir/AddGPUCalculator.cpp.o] Error 1
make[2]: [GPUCalc/CMakeFiles/GPUCalcLib.dir/build.make:89: GPUCalc/CMakeFiles/GPUCalcLib.dir/GPUCalculatorFactory.cpp.o] Error 1
make[1]: [CMakeFiles/Makefile2:375: GPUCalc/CMakeFiles/GPUCalcLib.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Hi, thank you again. I've actually find out that I may use "/permissive-" do get MSVC to complain about these, so now I'm enabling this and going through all of my code.
I've pushed changes to the GPUCalcLib project, can you try to compile that one out while I fix the other projects?
Hey, I've fixed all the issues that MSVC complains about in conformance mode. Could you please try again?
Hey, I've fixed all the issues that MSVC complains about in conformance mode. Could you please try again?
[ 2%] Built target gtest
[ 10%] Built target GameCoreLib
[ 12%] Built target gmock
[ 14%] Built target gtest_main
[ 17%] Built target GameOpenGLLib
[ 18%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/AddGPUCalculator.cpp.o
[ 19%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/GPUCalculator.cpp.o
[ 20%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/GPUCalculatorFactory.cpp.o
[ 20%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/PixelCoordsGPUCalculator.cpp.o
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.h:271,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/GPUCalculator.h:11,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/AddGPUCalculator.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc/AddGPUCalculator.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameOpenGL/ShaderManager.cpp.inl: In static member function ‘static std::set
Thanks, fixed. This should conclude the issues on this project. Can you try all of them now?
Thanks, fixed. This should conclude the issues on this project. Can you try all of them now?
[ 6%] Built target gtest [ 10%] Built target GameCoreLib [ 15%] Built target GameOpenGLLib [ 14%] Built target gmock [ 17%] Built target gtest_main [ 22%] Built target GPUCalcLib [ 23%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/AddTest.cpp.o [ 24%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/MainApp.cpp.o [ 24%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/MainFrame.cpp.o [ 53%] Built target GameLib /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalcTest/AddTest.cpp:6:9: warning: #pragma once in main file
^~~~
[ 54%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/PixelCoordsTest.cpp.o /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalcTest/PixelCoordsTest.cpp:6:9: warning: #pragma once in main file
^~~~
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalcTest/MainApp.cpp:7:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/FloatingPoint.h: In static member function ‘static constexpr float FloatingPoint::Max()’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/FloatingPoint.h:106:16: error: ‘FLT_MAX’ was not declared in this scope
return FLT_MAX;
^~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/FloatingPoint.h:106:16: note: suggested alternative: ‘INT_MAX’
return FLT_MAX;
^~~
INT_MAX
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalcTest/TestCase.h:10,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalcTest/AddTest.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalcTest/AddTest.cpp:8:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/FloatingPoint.h: In static member function ‘static constexpr float FloatingPoint::Max()’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/FloatingPoint.h:106:16: error: ‘FLT_MAX’ was not declared in this scope
return FLT_MAX;
^~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/FloatingPoint.h:106:16: note: suggested alternative: ‘GL_MAX’
return FLT_MAX;
^~~
GL_MAX
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalcTest/TestCase.h:10,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalcTest/PixelCoordsTest.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalcTest/PixelCoordsTest.cpp:8:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/FloatingPoint.h: In static member function ‘static constexpr float FloatingPoint::Max()’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/FloatingPoint.h:106:16: error: ‘FLT_MAX’ was not declared in this scope
return FLT_MAX;
^~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/FloatingPoint.h:106:16: note: suggested alternative: ‘GL_MAX’
return FLT_MAX;
^~~
GL_MAX
make[2]: [GPUCalcTest/CMakeFiles/GPUCalcTest.dir/build.make:63: GPUCalcTest/CMakeFiles/GPUCalcTest.dir/AddTest.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
make[2]: [GPUCalcTest/CMakeFiles/GPUCalcTest.dir/build.make:115: GPUCalcTest/CMakeFiles/GPUCalcTest.dir/PixelCoordsTest.cpp.o] Error 1
[ 55%] Linking CXX executable Benchmarks
[ 56%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/AboutDialog.cpp.o
/usr/bin/ld: warning: type of symbol glIsRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glRenderbufferStorage' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetRenderbufferParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glIsFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glCheckFramebufferStatus' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture1D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferTexture2D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture3D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetFramebufferAttachmentParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDrawArraysInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDrawElementsInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glBindVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDeleteVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glGenVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glIsVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: ../GameOpenGL/libGameOpenGLLib.a(glad.c.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: [Benchmarks/CMakeFiles/Benchmarks.dir/build.make:175: Benchmarks/Benchmarks] Error 1
make[1]: [CMakeFiles/Makefile2:94: Benchmarks/CMakeFiles/Benchmarks.dir/all] Error 2
make[1]: Waiting for unfinished jobs....
[ 56%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/LoggingDialog.cpp.o
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalcTest/TestCase.h:10,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalcTest/AddTest.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalcTest/MainFrame.cpp:11:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/FloatingPoint.h: In static member function ‘static constexpr float FloatingPoint::Max()’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/FloatingPoint.h:106:16: error: ‘FLT_MAX’ was not declared in this scope
return FLT_MAX;
^~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/FloatingPoint.h:106:16: note: suggested alternative: ‘INT_MAX’
return FLT_MAX;
^~~
INT_MAX
make[2]: [GPUCalcTest/CMakeFiles/GPUCalcTest.dir/build.make:76: GPUCalcTest/CMakeFiles/GPUCalcTest.dir/MainApp.cpp.o] Error 1
[ 57%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainApp.cpp.o
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/AboutDialog.cpp: In constructor ‘AboutDialog::AboutDialog(wxWindow, const ResourceLoader&)’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/AboutDialog.cpp:65:12: error: ‘class wxStaticBitmap’ has no member named ‘SetScaleMode’; did you mean ‘SetPalette’?
stBmp->SetScaleMode(wxStaticBitmap::Scale_None);
^~~~
SetPalette
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/AboutDialog.cpp:65:41: error: ‘Scale_None’ is not a member of ‘wxStaticBitmap’
stBmp->SetScaleMode(wxStaticBitmap::Scale_None);
^~~~~~
make[2]: ** [GPUCalcTest/CMakeFiles/GPUCalcTest.dir/build.make:89: GPUCalcTest/CMakeFiles/GPUCalcTest.dir/MainFrame.cpp.o] Error 1
make[1]: [CMakeFiles/Makefile2:432: GPUCalcTest/CMakeFiles/GPUCalcTest.dir/all] Error 2
[ 58%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainFrame.cpp.o
make[2]: [FloatingSandbox/CMakeFiles/FloatingSandbox.dir/build.make:63: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/AboutDialog.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/ShipLoadDialog.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainFrame.h:15,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainApp.cpp:11:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/ShipPreviewPanel.h:361:10: error: ‘condition_variable’ in namespace ‘std’ does not name a type
std::condition_variable mPanelToThreadMessageEvent;
^~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/ShipPreviewPanel.h:361:5: note: ‘std::condition_variable’ is defined in header ‘
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/ShipPreviewPanel.h:361:5:
std::condition_variable mPanelToThreadMessageEvent;
^~~
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainApp.cpp:14:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/FloatingPoint.h: In static member function ‘static constexpr float FloatingPoint::Max()’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/FloatingPoint.h:106:16: error: ‘FLT_MAX’ was not declared in this scope
return FLT_MAX;
^~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/FloatingPoint.h:106:16: note: suggested alternative: ‘INT_MAX’
return FLT_MAX;
^~~
INT_MAX
In file included from /usr/include/wx-3.0/wx/event.h:20,
from /usr/include/wx-3.0/wx/window.h:18,
from /usr/include/wx-3.0/wx/nonownedwnd.h:14,
from /usr/include/wx-3.0/wx/toplevel.h:20,
from /usr/include/wx-3.0/wx/dialog.h:14,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/AboutDialog.h:10,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainFrame.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainApp.cpp:11:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainApp.cpp: In member function ‘virtual bool MainApp::OnInit()’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainApp.cpp:102:31: error: ‘AAA_SHIP_ICON_xpm’ was not declared in this scope
frame->SetIcon(wxICON(AAA_SHIP_ICON));
^~~~~
/usr/include/wx-3.0/wx/gdicmn.h:187:31: note: in definition of macro ‘wxICON’
^
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/ShipLoadDialog.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainFrame.h:15,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainFrame.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/ShipPreviewPanel.h:361:10: error: ‘condition_variable’ in namespace ‘std’ does not name a type
std::condition_variable mPanelToThreadMessageEvent;
^~~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/ShipPreviewPanel.h:361:5: note: ‘std::condition_variable’ is defined in header ‘
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/ShipPreviewPanel.h:361:5: std::condition_variable mPanelToThreadMessageEvent; ^~~ /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainFrame.cpp: In member function ‘void MainFrame::OnPostInitializeTrigger(wxTimerEvent&)’: /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainFrame.cpp:651:9: error: ‘Sleep’ was not declared in this scope Sleep(10); ^~~~~ /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainFrame.cpp:651:9: note: suggested alternative: ‘sleep’ Sleep(10); ^~~~~ sleep make[2]: [FloatingSandbox/CMakeFiles/FloatingSandbox.dir/build.make:115: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainApp.cpp.o] Error 1 make[2]: [FloatingSandbox/CMakeFiles/FloatingSandbox.dir/build.make:128: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainFrame.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:152: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/all] Error 2 make: [Makefile:130: all] Error 2
Almost there, that's the root project finally :-)
Done, can you try again? I'm not sure the icon's gonna work, I'm coding blindly. Let me know how it goes!
Almost there, that's the root project finally :-)
Done, can you try again? I'm not sure the icon's gonna work, I'm coding blindly. Let me know how it goes!
[ 6%] Built target gtest
[ 10%] Built target GameCoreLib
[ 14%] Built target gtest_main
[ 14%] Built target gmock
[ 17%] Built target GameOpenGLLib
[ 22%] Built target GPUCalcLib
[ 23%] Linking CXX executable GPUCalcTest
[ 52%] Built target GameLib
[ 53%] Linking CXX executable ShipTools
[ 54%] Linking CXX executable Benchmarks
[ 55%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/AboutDialog.cpp.o
/usr/bin/ld: ../GameOpenGL/libGameOpenGLLib.a(glad.c.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: [GPUCalcTest/CMakeFiles/GPUCalcTest.dir/build.make:153: GPUCalcTest/GPUCalcTest] Error 1
make[1]: [CMakeFiles/Makefile2:432: GPUCalcTest/CMakeFiles/GPUCalcTest.dir/all] Error 2
make[1]: Waiting for unfinished jobs....
/usr/bin/ld: warning: type of symbol glIsRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glRenderbufferStorage' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetRenderbufferParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glIsFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glCheckFramebufferStatus' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture1D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferTexture2D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture3D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetFramebufferAttachmentParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDrawArraysInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDrawElementsInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glBindVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDeleteVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glGenVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glIsVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: ../GameOpenGL/libGameOpenGLLib.a(glad.c.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: [Benchmarks/CMakeFiles/Benchmarks.dir/build.make:175: Benchmarks/Benchmarks] Error 1
make[1]: [CMakeFiles/Makefile2:94: Benchmarks/CMakeFiles/Benchmarks.dir/all] Error 2
[ 56%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainApp.cpp.o
[ 57%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainFrame.cpp.o
/usr/bin/ld: CMakeFiles/ShipTools.dir/Quantizer.cpp.o: in function std::filesystem::__cxx11::path::operator/=(std::filesystem::__cxx11::path const&)': Quantizer.cpp:(.text._ZNSt10filesystem7__cxx114pathdVERKS1_[_ZNSt10filesystem7__cxx114pathdVERKS1_]+0x3d): undefined reference to
std::filesystem::cxx11::path::has_filename() const'
/usr/bin/ld: Quantizer.cpp:(.text._ZNSt10filesystem7cxx114pathdVERKS1_[_ZNSt10filesystem7cxx114pathdVERKS1_]+0x98): undefined reference to std::filesystem::__cxx11::path::_M_split_cmpts()' /usr/bin/ld: CMakeFiles/ShipTools.dir/Quantizer.cpp.o: in function
std::filesystem::cxx11::path::is_absolute() const':
Quantizer.cpp:(.text._ZNKSt10filesystem7cxx114path11is_absoluteEv[_ZNKSt10filesystem7cxx114path11is_absoluteEv]+0x14): undefined reference to std::filesystem::__cxx11::path::has_root_directory() const' /usr/bin/ld: CMakeFiles/ShipTools.dir/Quantizer.cpp.o: in function
std::filesystem::cxx11::path::path<std::cxx11::basic_string<char, std::char_traitsstd::filesystem::__cxx11::path::path<char [26], std::filesystem::__cxx11::path>(char const (&) [26], std::filesystem::__cxx11::path::format)': Quantizer.cpp:(.text._ZNSt10filesystem7__cxx114pathC2IA26_cS1_EERKT_NS1_6formatE[_ZNSt10filesystem7__cxx114pathC5IA26_cS1_EERKT_NS1_6formatE]+0x6d): undefined reference to
std::filesystem::cxx11::path::_M_split_cmpts()'
/usr/bin/ld: ../GameCore/libGameCoreLib.a(Utils.cpp.o): in function std::filesystem::exists(std::filesystem::__cxx11::path const&)': Utils.cpp:(.text._ZNSt10filesystem6existsERKNS_7__cxx114pathE[_ZNSt10filesystem6existsERKNS_7__cxx114pathE]+0x14): undefined reference to
std::filesystem::status(std::filesystem::cxx11::path const&)'
/usr/bin/ld: ../GameCore/libGameCoreLib.a(Utils.cpp.o): in function `Utils::SaveTextFile(std::cxx11::basic_string<char, std::char_traits~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/UIPreferences.h:43:26: note: suggested alternative: ‘negate’
std::rotate(mShipLoadDirectories.begin() + 1, it, it + 1);
^~
negate
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/AboutDialog.cpp: In constructor ‘AboutDialog::AboutDialog(wxWindow, const ResourceLoader&)’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/AboutDialog.cpp:65:12: error: ‘class wxStaticBitmap’ has no member named ‘SetScaleMode’; did you mean ‘SetPalette’?
stBmp->SetScaleMode(wxStaticBitmap::ScaleMode::Scale_None);
^~~~
SetPalette
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/AboutDialog.cpp:65:41: error: ‘wxStaticBitmap::ScaleMode’ has not been declared
stBmp->SetScaleMode(wxStaticBitmap::ScaleMode::Scale_None);
^~~~~
make[2]: ** [FloatingSandbox/CMakeFiles/FloatingSandbox.dir/build.make:63: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/AboutDialog.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
make[2]: *** [FloatingSandbox/CMakeFiles/FloatingSandbox.dir/build.make:154: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/PreferencesDialog.cpp.o] Error 1
In file included from /usr/include/wx-3.0/wx/event.h:20,
from /usr/include/wx-3.0/wx/window.h:18,
from /usr/include/wx-3.0/wx/nonownedwnd.h:14,
from /usr/include/wx-3.0/wx/toplevel.h:20,
from /usr/include/wx-3.0/wx/dialog.h:14,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/AboutDialog.h:10,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainFrame.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainApp.cpp:11:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainApp.cpp: In member function ‘virtual bool MainApp::OnInit()’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainApp.cpp:102:31: error: ‘AAA_SHIP_ICON_xpm’ was not declared in this scope
frame->SetIcon(wxICON(AAA_SHIP_ICON));
^~~~~
/usr/include/wx-3.0/wx/gdicmn.h:187:31: note: in definition of macro ‘wxICON’
^
make[2]: [FloatingSandbox/CMakeFiles/FloatingSandbox.dir/build.make:115: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainApp.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:152: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/all] Error 2 make: *** [Makefile:130: all] Error 2
Hey, so now it seems to be outside of my reach.
Also, could you try adding "libstdc++fs" to the linker options to check whether it fixes the filesystem link errors?
CMake Warning (dev) at CMakeLists.txt:3 (project): Policy CMP0048 is not set: project() command manages VERSION variables. Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
The following variable(s) would be set to empty:
CMAKE_PROJECT_VERSION
CMAKE_PROJECT_VERSION_MAJOR
CMAKE_PROJECT_VERSION_MINOR
CMAKE_PROJECT_VERSION_PATCH
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:53 (find_package):
Policy CMP0074 is not set: find_package uses
CMake variable SFML_ROOT is set to:
/home/h6899/Documents/src/SDK/SFML
For compatibility, CMake is ignoring the variable. This warning is for project developers. Use -Wno-dev to suppress it.
-- Found SFML 2.5.1 in /usr/lib64/cmake/SFML CMake Warning (dev) at /usr/share/cmake-3.14/Modules/FindOpenGL.cmake:272 (message): Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when available. Run "cmake --help-policy CMP0072" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /usr/lib/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/libGLX.so
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for compatibility with CMake 3.10 and below the legacy GL library will be used. Call Stack (most recent call first): CMakeLists.txt:71 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.
-- cxx Flags: -- cxx Flags Release:-O3 -DNDEBUG -- cxx Flags RelWithDebInfo:-O2 -g -DNDEBUG -- cxx Flags Debug:-g -- c Flags: -- c Flags Release:-O3 -DNDEBUG -- c Flags RelWithDebInfo:-O2 -g -DNDEBUG -- c Flags Debug:-g -- exe Linker Flags Release: -- exe Linker Flags RelWithDebInfo: -- exe Linker Flags Debug: -- Copying DevIL runtime files... CMake Error at FloatingSandbox/CMakeLists.txt:195: Parse error. Function missing ending ")". End of file reached.
-- Copying data files... -- Copying DevIL runtime files... -- Copying DevIL runtime files... -- Configuring incomplete, errors occurred! See also "/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/CMakeFiles/CMakeOutput.log". See also "/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/CMakeFiles/CMakeError.log". CMakeError.log CMakeOutput.log
Ok, CMake apparently wants an empty line :-( Fixed that. I've also fixed the icon, I believe.
What's next? :-)
Oh, I've fixed the CMake break for real, now.
Oh, I've fixed the CMake break for real, now.
[ 2%] Built target gtest [ 10%] Built target GameCoreLib [ 14%] Built target gmock [ 14%] Built target gtest_main [ 17%] Built target GameOpenGLLib [ 22%] Built target GPUCalcLib [ 23%] Linking CXX executable GPUCalcTest [ 52%] Built target GameLib [ 53%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/GameMathTests.cpp.o [ 54%] Linking CXX executable ShipTools [ 56%] Linking CXX executable Benchmarks [ 56%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/LibSimdPpTests.cpp.o [ 57%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/AboutDialog.cpp.o In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/UnitTests/LibSimdPpTests.cpp:1: /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/UnitTests/Utils.h:3:10: fatal error: intrin.h: No such file or directory
^~~~~~~~~~
compilation terminated.
make[2]: [UnitTests/CMakeFiles/UnitTests.dir/build.make:141: UnitTests/CMakeFiles/UnitTests.dir/LibSimdPpTests.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
/usr/bin/ld: warning: type of symbol glIsRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glRenderbufferStorage' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetRenderbufferParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glIsFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glCheckFramebufferStatus' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture1D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferTexture2D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture3D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetFramebufferAttachmentParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDrawArraysInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDrawElementsInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glBindVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDeleteVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glGenVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glIsVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: ../GameOpenGL/libGameOpenGLLib.a(glad.c.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/usr/bin/ld: /usr/lib/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
[ 58%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/EventTickerPanel.cpp.o
/usr/bin/ld: ../GameOpenGL/libGameOpenGLLib.a(glad.c.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5make[2]: [Benchmarks/CMakeFiles/Benchmarks.dir/build.make:175: Benchmarks/Benchmarks] Error 1
'
/usr/bin/ld: /usr/lib/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: [CMakeFiles/Makefile2:94: Benchmarks/CMakeFiles/Benchmarks.dir/all] Error 2
make[2]: [GPUCalcTest/CMakeFiles/GPUCalcTest.dir/build.make:153: GPUCalcTest/GPUCalcTest] Error 1
make[1]: Waiting for unfinished jobs....
make[1]: [CMakeFiles/Makefile2:432: GPUCalcTest/CMakeFiles/GPUCalcTest.dir/all] Error 2
[ 59%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/HelpDialog.cpp.o
[ 59%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/LoggingDialog.cpp.o
/usr/bin/ld: CMakeFiles/ShipTools.dir/Quantizer.cpp.o: in function std::filesystem::__cxx11::path::operator/=(std::filesystem::__cxx11::path const&)': Quantizer.cpp:(.text._ZNSt10filesystem7__cxx114pathdVERKS1_[_ZNSt10filesystem7__cxx114pathdVERKS1_]+0x3d): undefined reference to
std::filesystem::cxx11::path::has_filename() const'
/usr/bin/ld: Quantizer.cpp:(.text._ZNSt10filesystem7cxx114pathdVERKS1_[_ZNSt10filesystem7cxx114pathdVERKS1_]+0x98): undefined reference to std::filesystem::__cxx11::path::_M_split_cmpts()' /usr/bin/ld: CMakeFiles/ShipTools.dir/Quantizer.cpp.o: in function
std::filesystem::cxx11::path::is_absolute() const':
Quantizer.cpp:(.text._ZNKSt10filesystem7cxx114path11is_absoluteEv[_ZNKSt10filesystem7cxx114path11is_absoluteEv]+0x14): undefined reference to std::filesystem::__cxx11::path::has_root_directory() const' /usr/bin/ld: CMakeFiles/ShipTools.dir/Quantizer.cpp.o: in function
std::filesystem::cxx11::path::path<std::cxx11::basic_string<char, std::char_traitsstd::filesystem::__cxx11::path::path<char [26], std::filesystem::__cxx11::path>(char const (&) [26], std::filesystem::__cxx11::path::format)': Quantizer.cpp:(.text._ZNSt10filesystem7__cxx114pathC2IA26_cS1_EERKT_NS1_6formatE[_ZNSt10filesystem7__cxx114pathC5IA26_cS1_EERKT_NS1_6formatE]+0x6d): undefined reference to
std::filesystem::cxx11::path::_M_split_cmpts()'
/usr/bin/ld: ../GameCore/libGameCoreLib.a(Utils.cpp.o): in function std::filesystem::exists(std::filesystem::__cxx11::path const&)': Utils.cpp:(.text._ZNSt10filesystem6existsERKNS_7__cxx114pathE[_ZNSt10filesystem6existsERKNS_7__cxx114pathE]+0x14): undefined reference to
std::filesystem::status(std::filesystem::cxx11::path const&)'
/usr/bin/ld: ../GameCore/libGameCoreLib.a(Utils.cpp.o): in function `Utils::SaveTextFile(std::cxx11::basic_string<char, std::char_traits~~~
SetPalette
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/AboutDialog.cpp:65:41: error: ‘wxStaticBitmap::ScaleMode’ has not been declared
stBmp->SetScaleMode(wxStaticBitmap::ScaleMode::Scale_None);
^~~~~
make[2]: ** [UnitTests/CMakeFiles/UnitTests.dir/build.make:128: UnitTests/CMakeFiles/UnitTests.dir/GameMathTests.cpp.o] Error 1
make[1]: [CMakeFiles/Makefile2:553: UnitTests/CMakeFiles/UnitTests.dir/all] Error 2
[ 61%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainFrame.cpp.o
make[2]: [FloatingSandbox/CMakeFiles/FloatingSandbox.dir/build.make:63: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/AboutDialog.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainApp.cpp:21:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
};
^
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Resources/Ship.xpm:61:1: warning: ISO C++ forbids converting a string constant to ‘char’ [-Wwrite-strings]
make[1]: [CMakeFiles/Makefile2:152: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/all] Error 2
make: [Makefile:130: all] Error 2
Ok, all the gcc errors and warnings should be fixed now. The linker errors will still be around though, can you run make with VERBOSE=1 and check whether the linker commands include "-ldl" ?
/usr/bin/cmake -S/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points -B/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/CMakeFiles /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' make -f GameCore/CMakeFiles/GameCoreLib.dir/build.make GameCore/CMakeFiles/GameCoreLib.dir/depend make[2]: Entering directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' cd /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/GameCore /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/GameCore/CMakeFiles/GameCoreLib.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' make -f GameCore/CMakeFiles/GameCoreLib.dir/build.make GameCore/CMakeFiles/GameCoreLib.dir/build make[2]: Entering directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' make[2]: Nothing to be done for 'GameCore/CMakeFiles/GameCoreLib.dir/build'. make[2]: Leaving directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' [ 8%] Built target GameCoreLib make -f UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest.dir/build.make UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest.dir/depend make[2]: Entering directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' cd /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points /home/h6899/Documents/src/repos/googletest/googletest /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/UnitTests/gtest/googlemock/gtest /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' make -f UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest.dir/build.make UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest.dir/build make[2]: Entering directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' make[2]: Nothing to be done for 'UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest.dir/build'. make[2]: Leaving directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' [ 10%] Built target gtest make -f GameOpenGL/CMakeFiles/GameOpenGLLib.dir/build.make GameOpenGL/CMakeFiles/GameOpenGLLib.dir/depend make[2]: Entering directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' cd /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameOpenGL /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/GameOpenGL /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/GameOpenGL/CMakeFiles/GameOpenGLLib.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' make -f GameOpenGL/CMakeFiles/GameOpenGLLib.dir/build.make GameOpenGL/CMakeFiles/GameOpenGLLib.dir/build make[2]: Entering directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' make[2]: Nothing to be done for 'GameOpenGL/CMakeFiles/GameOpenGLLib.dir/build'. make[2]: Leaving directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' [ 13%] Built target GameOpenGLLib make -f UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest_main.dir/build.make UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest_main.dir/depend make[2]: Entering directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' cd /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points /home/h6899/Documents/src/repos/googletest/googletest /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/UnitTests/gtest/googlemock/gtest /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest_main.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' make -f UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest_main.dir/build.make UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest_main.dir/build make[2]: Entering directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' make[2]: Nothing to be done for 'UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest_main.dir/build'. make[2]: Leaving directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' [ 15%] Built target gtest_main make -f GPUCalc/CMakeFiles/GPUCalcLib.dir/build.make GPUCalc/CMakeFiles/GPUCalcLib.dir/depend make[2]: Entering directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' cd /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalc /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/GPUCalc /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/GPUCalc/CMakeFiles/GPUCalcLib.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' make -f GPUCalc/CMakeFiles/GPUCalcLib.dir/build.make GPUCalc/CMakeFiles/GPUCalcLib.dir/build make[2]: Entering directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' make[2]: Nothing to be done for 'GPUCalc/CMakeFiles/GPUCalcLib.dir/build'. make[2]: Leaving directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' [ 20%] Built target GPUCalcLib make -f UnitTests/gtest/googlemock/CMakeFiles/gmock.dir/build.make UnitTests/gtest/googlemock/CMakeFiles/gmock.dir/depend make[2]: Entering directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' cd /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points /home/h6899/Documents/src/repos/googletest/googlemock /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/UnitTests/gtest/googlemock /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/UnitTests/gtest/googlemock/CMakeFiles/gmock.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' make -f UnitTests/gtest/googlemock/CMakeFiles/gmock.dir/build.make UnitTests/gtest/googlemock/CMakeFiles/gmock.dir/build make[2]: Entering directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' make[2]: Nothing to be done for 'UnitTests/gtest/googlemock/CMakeFiles/gmock.dir/build'. make[2]: Leaving directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' [ 22%] Built target gmock make -f GPUCalcTest/CMakeFiles/GPUCalcTest.dir/build.make GPUCalcTest/CMakeFiles/GPUCalcTest.dir/depend make[2]: Entering directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' cd /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GPUCalcTest /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/GPUCalcTest /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/GPUCalcTest/CMakeFiles/GPUCalcTest.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' make -f GPUCalcTest/CMakeFiles/GPUCalcTest.dir/build.make GPUCalcTest/CMakeFiles/GPUCalcTest.dir/build make[2]: Entering directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' [ 23%] Linking CXX executable GPUCalcTest cd /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build/GPUCalcTest && /usr/bin/cmake -E cmake_link_script CMakeFiles/GPUCalcTest.dir/link.txt --verbose=1 /usr/bin/c++ -rdynamic CMakeFiles/GPUCalcTest.dir/AddTest.cpp.o CMakeFiles/GPUCalcTest.dir/MainApp.cpp.o CMakeFiles/GPUCalcTest.dir/MainFrame.cpp.o CMakeFiles/GPUCalcTest.dir/OpenGLContext.cpp.o CMakeFiles/GPUCalcTest.dir/PixelCoordsTest.cpp.o -o GPUCalcTest ../GameCore/libGameCoreLib.a ../GameOpenGL/libGameOpenGLLib.a ../GPUCalc/libGPUCalcLib.a -lGL -lGLU -pthread -lwx_baseu-3.0 -lwx_gtk2u_gl-3.0 -lwx_gtk2u_core-3.0 -lwx_gtk2u_html-3.0 -lwx_gtk2u_media-3.0 ../GameOpenGL/libGameOpenGLLib.a ../GameCore/libGameCoreLib.a -lGL -lGLU /usr/bin/ld: ../GameOpenGL/libGameOpenGLLib.a(glad.c.o): undefined reference to symbol 'dlclose@@GLIBC_2.2.5' /usr/bin/ld: /usr/lib/libdl.so.2: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: [GPUCalcTest/CMakeFiles/GPUCalcTest.dir/build.make:153: GPUCalcTest/GPUCalcTest] Error 1 make[2]: Leaving directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' make[1]: [CMakeFiles/Makefile2:432: GPUCalcTest/CMakeFiles/GPUCalcTest.dir/all] Error 2 make[1]: Leaving directory '/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/build' make: *** [Makefile:130: all] Error 2
Thank you so much. I've pushed a possible fix for libdl; I believe we'll hit next an issue with filesystem - can you try again?
Thank you so much. I've pushed a possible fix for libdl; I believe we'll hit next an issue with filesystem - can you try again?
make -j6 -ld
[ 8%] Built target GameCoreLib
[ 10%] Built target gtest
[ 13%] Built target GameOpenGLLib
[ 15%] Built target gtest_main
[ 20%] Built target GPUCalcLib
[ 22%] Built target gmock
[ 23%] Linking CXX executable GPUCalcTest
/usr/bin/ld: CMakeFiles/GPUCalcTest.dir/MainFrame.cpp.o: in function std::filesystem::__cxx11::path::path<char [16], std::filesystem::__cxx11::path>(char const (&) [16], std::filesystem::__cxx11::path::format)': MainFrame.cpp:(.text._ZNSt10filesystem7__cxx114pathC2IA16_cS1_EERKT_NS1_6formatE[_ZNSt10filesystem7__cxx114pathC5IA16_cS1_EERKT_NS1_6formatE]+0x6d): undefined reference to
std::filesystem::cxx11::path::_M_split_cmpts()'
/usr/bin/ld: ../GPUCalc/libGPUCalcLib.a(GPUCalculator.cpp.o): in function `std::filesystem::cxx11::path::path(std::cxx11::basic_string<char, std::char_traitsstd::filesystem::__cxx11::path::_M_split_cmpts()' /usr/bin/ld: ../GPUCalc/libGPUCalcLib.a(GPUCalculator.cpp.o): in function
std::filesystem::cxx11::path::operator/=(std::filesystem::cxx11::path const&)':
GPUCalculator.cpp:(.text._ZNSt10filesystem7cxx114pathdVERKS1_[_ZNSt10filesystem7cxx114pathdVERKS1_]+0x3d): undefined reference to `std::filesystem::cxx11::path::has_filename() const'
/usr/bin/ld: GPUCalculator.cpp:(.text._ZNSt10filesystem7cxx114pathdVERKS1_[_ZNSt10filesystem7cxx114pathdVERKS1_]+0x98): undefined reference to std::filesystem::__cxx11::path::_M_split_cmpts()' /usr/bin/ld: ../GPUCalc/libGPUCalcLib.a(GPUCalculator.cpp.o): in function
std::filesystem::cxx11::path::is_absolute() const':
GPUCalculator.cpp:(.text._ZNKSt10filesystem7cxx114path11is_absoluteEv[_ZNKSt10filesystem7cxx114path11is_absoluteEv]+0x14): undefined reference to std::filesystem::__cxx11::path::has_root_directory() const' /usr/bin/ld: ../GPUCalc/libGPUCalcLib.a(GPUCalculator.cpp.o): in function
std::filesystem::cxx11::operator==(std::filesystem::cxx11::path const&, std::filesystem::__cxx11::path const&)':
GPUCalculator.cpp:(.text._ZNSt10filesystem7cxx11eqERKNS04pathES3[_ZNSt10filesystem7cxx11eqERKNS04pathES3]+0x1f): undefined reference to `std::filesystem::cxx11::path::compare(std::filesystem::cxx11::path const&) const'
/usr/bin/ld: ../GPUCalc/libGPUCalcLib.a(GPUCalculator.cpp.o): in function `std::filesystem::cxx11::path::stem() const':
GPUCalculator.cpp:(.text._ZNKSt10filesystem7cxx114path4stemEv[_ZNKSt10filesystem7cxx114path4stemEv]+0x28): undefined reference to `std::filesystem::cxx11::path::_M_find_extension() const'
/usr/bin/ld: ../GPUCalc/libGPUCalcLib.a(GPUCalculator.cpp.o): in function `std::filesystem::cxx11::path::extension() const':
GPUCalculator.cpp:(.text._ZNKSt10filesystem7cxx114path9extensionEv[_ZNKSt10filesystem7cxx114path9extensionEv]+0x28): undefined reference to `std::filesystem::cxx11::path::_M_find_extension() const'
/usr/bin/ld: ../GPUCalc/libGPUCalcLib.a(GPUCalculator.cpp.o): in function `std::filesystem::cxx11::directory_iterator::directory_iterator(std::filesystem::cxx11::path const&)':
GPUCalculator.cpp:(.text._ZNSt10filesystem7__cxx1118directory_iteratorC2ERKNS0_4pathE[_ZNSt10filesystem7cxx1118directory_iteratorC5ERKNS0_4pathE]+0x26): undefined reference to std::filesystem::__cxx11::directory_iterator::directory_iterator(std::filesystem::__cxx11::path const&, std::filesystem::directory_options, std::error_code*)' /usr/bin/ld: ../GPUCalc/libGPUCalcLib.a(GPUCalculator.cpp.o): in function
std::filesystem::exists(std::filesystem::cxx11::path const&)':
GPUCalculator.cpp:(.text._ZNSt10filesystem6existsERKNS_7cxx114pathE[_ZNSt10filesystem6existsERKNS_7cxx114pathE]+0x14): undefined reference to `std::filesystem::status(std::filesystem::cxx11::path const&)'
/usr/bin/ld: ../GPUCalc/libGPUCalcLib.a(GPUCalculator.cpp.o): in function std::filesystem::is_regular_file(std::filesystem::__cxx11::path const&)': GPUCalculator.cpp:(.text._ZNSt10filesystem15is_regular_fileERKNS_7__cxx114pathE[_ZNSt10filesystem15is_regular_fileERKNS_7__cxx114pathE]+0x14): undefined reference to
std::filesystem::status(std::filesystem::cxx11::path const&)'
/usr/bin/ld: ../GPUCalc/libGPUCalcLib.a(GPUCalculator.cpp.o): in function `std::filesystem::cxx11::path::path<std::cxx11::basic_string<char, std::char_traitsstd::filesystem::__cxx11::path::_M_split_cmpts()' /usr/bin/ld: ../GPUCalc/libGPUCalcLib.a(GPUCalculator.cpp.o): in function
ShaderManagerstd::filesystem::__cxx11::directory_iterator::operator*() const' /usr/bin/ld: GPUCalculator.cpp:(.text._ZN13ShaderManagerI26GPUCalcShaderManagerTraitsEC2ERKNSt10filesystem7__cxx114pathE[_ZN13ShaderManagerI26GPUCalcShaderManagerTraitsEC5ERKNSt10filesystem7__cxx114pathE]+0x669): undefined reference to
std::filesystem::cxx11::directory_iterator::operator++()'
/usr/bin/ld: ../GPUCalc/libGPUCalcLib.a(GPUCalculator.cpp.o): in function `std::filesystem::cxx11::path::path<char [6], std::filesystem::cxx11::path>(char const (&) [6], std::filesystem::__cxx11::path::format)':
GPUCalculator.cpp:(.text._ZNSt10filesystem7cxx114pathC2IA6_cS1_EERKT_NS1_6formatE[_ZNSt10filesystem7cxx114pathC5IA6_cS1_EERKT_NS1_6formatE]+0x6d): undefined reference to `std::filesystem::cxx11::path::_M_split_cmpts()'
/usr/bin/ld: ../GPUCalc/libGPUCalcLib.a(GPUCalculator.cpp.o): in function std::filesystem::__cxx11::path::path<char [9], std::filesystem::__cxx11::path>(char const (&) [9], std::filesystem::__cxx11::path::format)': GPUCalculator.cpp:(.text._ZNSt10filesystem7__cxx114pathC2IA9_cS1_EERKT_NS1_6formatE[_ZNSt10filesystem7__cxx114pathC5IA9_cS1_EERKT_NS1_6formatE]+0x6d): undefined reference to
std::filesystem::__cxx11::path::_M_split_cmpts()'
collect2: error: ld returned 1 exit status
make[2]: [GPUCalcTest/CMakeFiles/GPUCalcTest.dir/build.make:153: GPUCalcTest/GPUCalcTest] Error 1
make[1]: [CMakeFiles/Makefile2:432: GPUCalcTest/CMakeFiles/GPUCalcTest.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Yeah, almost there! I've added "stdc++fs" and "c++experimental" - can you try again?
Yeah, almost there! I've added "stdc++fs" and "c++experimental" - can you try again?
make -j4
[ 5%] Built target gtest
[ 10%] Built target GameCoreLib
[ 13%] Built target GameOpenGLLib
[ 17%] Built target gmock
[ 17%] Built target gtest_main
[ 22%] Built target GPUCalcLib
[ 23%] Linking CXX executable GPUCalcTest
[ 52%] Built target GameLib
[ 53%] Linking CXX executable ShipTools
[ 54%] Linking CXX executable Benchmarks
[ 55%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/AboutDialog.cpp.o
/usr/bin/ld: cannot find -lc++experimental
collect2: error: ld returned 1 exit status
make[2]: [ShipTools/CMakeFiles/ShipTools.dir/build.make:154: ShipTools/ShipTools] Error 1
make[1]: [CMakeFiles/Makefile2:490: ShipTools/CMakeFiles/ShipTools.dir/all] Error 2
make[1]: Waiting for unfinished jobs....
[ 55%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/LoggingDialog.cpp.o
/usr/bin/ld: cannot find -lc++experimental
collect2: error: ld returned 1 exit status
make[2]: [GPUCalcTest/CMakeFiles/GPUCalcTest.dir/build.make:153: GPUCalcTest/GPUCalcTest] Error 1
make[1]: [CMakeFiles/Makefile2:432: GPUCalcTest/CMakeFiles/GPUCalcTest.dir/all] Error 2
[ 56%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainApp.cpp.o
/usr/bin/ld: warning: type of symbol glIsRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glRenderbufferStorage' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetRenderbufferParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glIsFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glCheckFramebufferStatus' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture1D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferTexture2D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture3D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetFramebufferAttachmentParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDrawArraysInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDrawElementsInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glBindVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDeleteVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glGenVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glIsVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: cannot find -lc++experimental
collect2: error: ld returned 1 exit status
make[2]: [Benchmarks/CMakeFiles/Benchmarks.dir/build.make:175: Benchmarks/Benchmarks] Error 1
make[1]: [CMakeFiles/Makefile2:94: Benchmarks/CMakeFiles/Benchmarks.dir/all] Error 2
[ 57%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainFrame.cpp.o
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/AboutDialog.cpp: In constructor ‘AboutDialog::AboutDialog(wxWindow, const ResourceLoader&)’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/AboutDialog.cpp:65:12: error: ‘class wxStaticBitmap’ has no member named ‘SetScaleMode’; did you mean ‘SetPalette’?
stBmp->SetScaleMode(wxStaticBitmap::ScaleMode::Scale_None);
^~~~
SetPalette
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/AboutDialog.cpp:65:41: error: ‘wxStaticBitmap::ScaleMode’ has not been declared
stBmp->SetScaleMode(wxStaticBitmap::ScaleMode::Scale_None);
^~~~~
make[2]: ** [FloatingSandbox/CMakeFiles/FloatingSandbox.dir/build.make:63: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/AboutDialog.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
make[1]: [CMakeFiles/Makefile2:152: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/all] Error 2
make: [Makefile:130: all] Error 2
Ok, I've pushed a fix for the experimental library. Plus I've removed the bitmap resizing. I have absolutely no clue with what to do with the warnings though.
Ok, I've pushed a fix for the experimental library. Plus I've removed the bitmap resizing. I have absolutely no clue with what to do with the warnings though.
make -j6 Scanning dependencies of target gtest Scanning dependencies of target GameCoreLib [ 3%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/ExponentialSliderCore.cpp.o [ 3%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/ImageTools.cpp.o [ 3%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/GameTypes.cpp.o [ 3%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Colors.cpp.o [ 4%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/FixedTickSliderCore.cpp.o [ 5%] Building CXX object UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [ 5%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/LinearSliderCore.cpp.o [ 6%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Log.cpp.o [ 7%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Utils.cpp.o [ 8%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Vectors.cpp.o [ 9%] Linking CXX static library ../../../../lib/libgtest.a [ 10%] Linking CXX static library libGameCoreLib.a [ 10%] Built target gtest Scanning dependencies of target gmock Scanning dependencies of target gtest_main [ 11%] Building CXX object UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o [ 12%] Building CXX object UnitTests/gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o [ 12%] Built target GameCoreLib Scanning dependencies of target GameOpenGLLib [ 13%] Building CXX object GameOpenGL/CMakeFiles/GameOpenGLLib.dir/GameOpenGL_Ext.cpp.o [ 14%] Building CXX object GameOpenGL/CMakeFiles/GameOpenGLLib.dir/GameOpenGL.cpp.o [ 15%] Building C object GameOpenGL/CMakeFiles/GameOpenGLLib.dir/glad/glad.c.o [ 16%] Linking CXX static library ../../../../lib/libgtest_main.a [ 16%] Built target gtest_main [ 16%] Linking CXX static library libGameOpenGLLib.a [ 16%] Built target GameOpenGLLib Scanning dependencies of target GPUCalcLib [ 18%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/GPUCalculator.cpp.o [ 18%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/ShaderTraits.cpp.o [ 20%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/GPUCalculatorFactory.cpp.o [ 20%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/PixelCoordsGPUCalculator.cpp.o [ 20%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/AddGPUCalculator.cpp.o [ 21%] Linking CXX static library ../../../lib/libgmock.a [ 21%] Built target gmock [ 22%] Linking CXX static library libGPUCalcLib.a [ 22%] Built target GPUCalcLib Scanning dependencies of target GPUCalcTest Scanning dependencies of target GameLib [ 23%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/AddTest.cpp.o [ 25%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/MainFrame.cpp.o [ 25%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/OpenGLContext.cpp.o [ 25%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/MainApp.cpp.o [ 26%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/PixelCoordsTest.cpp.o [ 26%] Building CXX object Game/CMakeFiles/GameLib.dir/GameController.cpp.o [ 27%] Building CXX object Game/CMakeFiles/GameLib.dir/GameParameters.cpp.o /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Game/GameParameters.cpp:6:9: warning: #pragma once in main file
^~~~
[ 28%] Building CXX object Game/CMakeFiles/GameLib.dir/ImageFileTools.cpp.o
[ 29%] Building CXX object Game/CMakeFiles/GameLib.dir/Materials.cpp.o
[ 30%] Building CXX object Game/CMakeFiles/GameLib.dir/ResourceLoader.cpp.o
[ 30%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipBuilder.cpp.o
[ 31%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipDefinition.cpp.o
[ 32%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipDefinitionFile.cpp.o
[ 33%] Linking CXX executable GPUCalcTest
[ 34%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipPreview.cpp.o
[ 35%] Building CXX object Game/CMakeFiles/GameLib.dir/TextLayer.cpp.o
[ 35%] Built target GPUCalcTest
[ 35%] Building CXX object Game/CMakeFiles/GameLib.dir/AntiMatterBomb.cpp.o
[ 36%] Building CXX object Game/CMakeFiles/GameLib.dir/Bombs.cpp.o
[ 37%] Building CXX object Game/CMakeFiles/GameLib.dir/Clouds.cpp.o
[ 38%] Building CXX object Game/CMakeFiles/GameLib.dir/ElectricalElements.cpp.o
[ 39%] Building CXX object Game/CMakeFiles/GameLib.dir/ForceFields.cpp.o
[ 39%] Building CXX object Game/CMakeFiles/GameLib.dir/ImpactBomb.cpp.o
[ 40%] Building CXX object Game/CMakeFiles/GameLib.dir/OceanFloor.cpp.o
[ 41%] Building CXX object Game/CMakeFiles/GameLib.dir/PinnedPoints.cpp.o
[ 42%] Building CXX object Game/CMakeFiles/GameLib.dir/Points.cpp.o
[ 43%] Building CXX object Game/CMakeFiles/GameLib.dir/RCBomb.cpp.o
[ 43%] Building CXX object Game/CMakeFiles/GameLib.dir/Ship.cpp.o
[ 44%] Building CXX object Game/CMakeFiles/GameLib.dir/Springs.cpp.o
[ 45%] Building CXX object Game/CMakeFiles/GameLib.dir/Stars.cpp.o
[ 46%] Building CXX object Game/CMakeFiles/GameLib.dir/TimerBomb.cpp.o
[ 47%] Building CXX object Game/CMakeFiles/GameLib.dir/Triangles.cpp.o
[ 47%] Building CXX object Game/CMakeFiles/GameLib.dir/WaterSurface.cpp.o
[ 48%] Building CXX object Game/CMakeFiles/GameLib.dir/Wind.cpp.o
[ 49%] Building CXX object Game/CMakeFiles/GameLib.dir/World.cpp.o
[ 50%] Building CXX object Game/CMakeFiles/GameLib.dir/Font.cpp.o
[ 51%] Building CXX object Game/CMakeFiles/GameLib.dir/RenderContext.cpp.o
[ 51%] Building CXX object Game/CMakeFiles/GameLib.dir/RenderCore.cpp.o
[ 52%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipRenderContext.cpp.o
[ 53%] Building CXX object Game/CMakeFiles/GameLib.dir/TextRenderContext.cpp.o
[ 54%] Building CXX object Game/CMakeFiles/GameLib.dir/TextureAtlas.cpp.o
[ 55%] Building CXX object Game/CMakeFiles/GameLib.dir/TextureDatabase.cpp.o
[ 55%] Building CXX object Game/CMakeFiles/GameLib.dir/TextureRenderManager.cpp.o
[ 56%] Linking CXX static library libGameLib.a
[ 56%] Built target GameLib
Scanning dependencies of target ShipTools
Scanning dependencies of target FloatingSandbox
Scanning dependencies of target UnitTests
Scanning dependencies of target Benchmarks
[ 58%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/Helpers.cpp.o
[ 58%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/Main.cpp.o
[ 59%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/Quantizer.cpp.o
[ 59%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/DivisionByZero.cpp.o
[ 60%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/BoundedVectorTests.cpp.o
[ 61%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/CircularListTests.cpp.o
[ 62%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/AboutDialog.cpp.o
[ 64%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/Resizer.cpp.o
[ 64%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/GameMath.cpp.o
[ 65%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/EnumFlagsTests.cpp.o
[ 65%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/ShipAnalyzer.cpp.o
[ 66%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/EventTickerPanel.cpp.o
[ 67%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/Logarithm.cpp.o
[ 68%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/UpdateSpringForces.cpp.o
[ 68%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/FixedSizeVectorTests.cpp.o
[ 69%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/Utils.cpp.o
[ 69%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/VectorNormalization.cpp.o
[ 70%] Linking CXX executable ShipTools
[ 70%] Built target ShipTools
[ 71%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/HelpDialog.cpp.o
[ 71%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/LoggingDialog.cpp.o
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp: In function ‘void UpdateSpringForces_LibSimdPpAndIntrinsics(benchmark::State&)’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:209:73: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
m128 s1_f = _mm_movehl_ps(s01_f.wrapped(), s01_f.wrapped()); // f1.x, f1.y
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:209:73: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
__m128 s1_f = _mm_movehl_ps(s01_f.wrapped(), s01_f.wrapped()); // f1.x, f1.y
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:211:73: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
m128 s3_f = _mm_movehl_ps(s23_f.wrapped(), s23_f.wrapped()); // f3.x, f4.y
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:211:73: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
m128 s3_f = _mm_movehl_ps(s23_f.wrapped(), s23_f.wrapped()); // f3.x, f4.y
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:218:42: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
tmpF = _mm_add_ps(tmpF, s01_f);
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:222:42: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
tmpF = _mm_sub_ps(tmpF, s01_f);
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:242:42: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
tmpF = _mm_add_ps(tmpF, s23_f);
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:246:42: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
tmpF = _mm_sub_ps(tmpF, s23_f);
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
[ 73%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainApp.cpp.o
[ 73%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/GameEventDispatcherTests.cpp.o
[ 74%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainFrame.cpp.o
[ 75%] Linking CXX executable Benchmarks
/usr/bin/ld: warning: type of symbol glIsRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glRenderbufferStorage' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetRenderbufferParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glIsFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glCheckFramebufferStatus' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture1D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferTexture2D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture3D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetFramebufferAttachmentParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDrawArraysInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDrawElementsInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glBindVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDeleteVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glGenVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glIsVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
[ 75%] Built target Benchmarks
[ 76%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/OpenGLContext.cpp.o
[ 77%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/PreferencesDialog.cpp.o
[ 77%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ProbePanel.cpp.o
[ 78%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ScalarTimeSeriesProbeControl.cpp.o
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/PreferencesDialog.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/PreferencesDialog.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/UIPreferences.h: In member function ‘void UIPreferences::AddShipLoadDirectory(std::filesystem::cxx11::path)’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/UIPreferences.h:43:26: error: ‘rotate’ is not a member of ‘std’
std::rotate(mShipLoadDirectories.begin() + 1, it, it + 1);
^~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/UIPreferences.h:43:26: note: suggested alternative: ‘negate’
std::rotate(mShipLoadDirectories.begin() + 1, it, it + 1);
^~
negate
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/SoundController.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/SettingsDialog.h:9,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainFrame.h:14,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainApp.cpp:11:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Sounds.h:481:19: error: ‘GameWallClock’ was not declared in this scope
std::optional~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Sounds.h:481:44: error: template argument 1 is invalid
std::optional~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Sounds.h:432:23: error: invalid type argument of unary ‘’ (have ‘int’)
|| now - mHearableLastTime < mInertiaDuration)
^~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Sounds.h:441:31: error: request for member ‘reset’ in ‘((ContinuousInertialSound)this)->ContinuousInertialSound::mHearableLastTime’, which is of non-class type ‘int’
mHearableLastTime.reset();
^~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Sounds.h: In member function ‘void ContinuousInertialSound::Start()’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Sounds.h:460:27: error: request for member ‘reset’ in ‘((ContinuousInertialSound)this)->ContinuousInertialSound::mHearableLastTime’, which is of non-class type ‘int’
mHearableLastTime.reset();
^~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Sounds.h: In member function ‘void ContinuousInertialSound::Stop()’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Sounds.h:473:27: error: request for member ‘reset’ in ‘((ContinuousInertialSound)this)->ContinuousInertialSound::mHearableLastTime’, which is of non-class type ‘int’
mHearableLastTime.reset();
^~~~~
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/SoundController.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/SettingsDialog.h:9,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainFrame.h:14,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/MainFrame.cpp:6:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Sounds.h:481:19: error: ‘GameWallClock’ was not declared in this scope
std::optional~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Sounds.h:481:44: error: template argument 1 is invalid
std::optional~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Sounds.h:432:23: error: invalid type argument of unary ‘’ (have ‘int’)
|| now - mHearableLastTime < mInertiaDuration)
^~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Sounds.h:441:31: error: request for member ‘reset’ in ‘((ContinuousInertialSound)this)->ContinuousInertialSound::mHearableLastTime’, which is of non-class type ‘int’
mHearableLastTime.reset();
^~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Sounds.h: In member function ‘void ContinuousInertialSound::Start()’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Sounds.h:460:27: error: request for member ‘reset’ in ‘((ContinuousInertialSound)this)->ContinuousInertialSound::mHearableLastTime’, which is of non-class type ‘int’
mHearableLastTime.reset();
^~~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Sounds.h: In member function ‘void ContinuousInertialSound::Stop()’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/Sounds.h:473:27: error: request for member ‘reset’ in ‘((ContinuousInertialSound)this)->ContinuousInertialSound::mHearableLastTime’, which is of non-class type ‘int’
mHearableLastTime.reset();
^~~~~
make[2]: [FloatingSandbox/CMakeFiles/FloatingSandbox.dir/build.make:154: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/PreferencesDialog.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
[ 79%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/GameMathTests.cpp.o
[ 80%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/LibSimdPpTests.cpp.o
In file included from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/UnitTests/LibSimdPpTests.cpp:1:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/UnitTests/Utils.h:3:10: fatal error: intrin.h: No such file or directory
^~~~~~~~~~
compilation terminated. make[2]: [UnitTests/CMakeFiles/UnitTests.dir/build.make:141: UnitTests/CMakeFiles/UnitTests.dir/LibSimdPpTests.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[2]: [FloatingSandbox/CMakeFiles/FloatingSandbox.dir/build.make:115: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainApp.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:553: UnitTests/CMakeFiles/UnitTests.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... make[2]: [FloatingSandbox/CMakeFiles/FloatingSandbox.dir/build.make:128: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainFrame.cpp.o] Error 1 make[1]: [CMakeFiles/Makefile2:152: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/all] Error 2 make: [Makefile:130: all] Error 2
Thanks you, fixes have been pushed.
Thanks you, fixes have been pushed.
make -j6
Scanning dependencies of target GameCoreLib
Scanning dependencies of target gtest
[ 0%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Colors.cpp.o
[ 1%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/ExponentialSliderCore.cpp.o
[ 4%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/FixedTickSliderCore.cpp.o
[ 4%] Building CXX object UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 3%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/ImageTools.cpp.o
[ 5%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/GameTypes.cpp.o
[ 5%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/LinearSliderCore.cpp.o
[ 6%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Log.cpp.o
[ 7%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Utils.cpp.o
[ 8%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Vectors.cpp.o
[ 9%] Linking CXX static library ../../../../lib/libgtest.a
[ 9%] Built target gtest
Scanning dependencies of target gtest_main
Scanning dependencies of target gmock
[ 10%] Building CXX object UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[ 11%] Building CXX object UnitTests/gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
[ 12%] Linking CXX static library libGameCoreLib.a
[ 12%] Built target GameCoreLib
Scanning dependencies of target GameOpenGLLib
[ 13%] Building C object GameOpenGL/CMakeFiles/GameOpenGLLib.dir/glad/glad.c.o
[ 14%] Building CXX object GameOpenGL/CMakeFiles/GameOpenGLLib.dir/GameOpenGL_Ext.cpp.o
[ 15%] Building CXX object GameOpenGL/CMakeFiles/GameOpenGLLib.dir/GameOpenGL.cpp.o
[ 16%] Linking CXX static library ../../../../lib/libgtest_main.a
[ 16%] Built target gtest_main
[ 16%] Linking CXX static library libGameOpenGLLib.a
[ 16%] Built target GameOpenGLLib
Scanning dependencies of target GPUCalcLib
[ 17%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/GPUCalculator.cpp.o
[ 17%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/GPUCalculatorFactory.cpp.o
[ 20%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/PixelCoordsGPUCalculator.cpp.o
[ 20%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/ShaderTraits.cpp.o
[ 20%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/AddGPUCalculator.cpp.o
[ 21%] Linking CXX static library ../../../lib/libgmock.a
[ 21%] Built target gmock
[ 22%] Linking CXX static library libGPUCalcLib.a
[ 22%] Built target GPUCalcLib
Scanning dependencies of target GameLib
Scanning dependencies of target GPUCalcTest
[ 23%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/AddTest.cpp.o
[ 23%] Building CXX object Game/CMakeFiles/GameLib.dir/GameController.cpp.o
[ 23%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/MainApp.cpp.o
[ 24%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/MainFrame.cpp.o
[ 25%] Building CXX object Game/CMakeFiles/GameLib.dir/GameParameters.cpp.o
[ 26%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/OpenGLContext.cpp.o
[ 27%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/PixelCoordsTest.cpp.o
[ 28%] Building CXX object Game/CMakeFiles/GameLib.dir/ImageFileTools.cpp.o
[ 29%] Building CXX object Game/CMakeFiles/GameLib.dir/Materials.cpp.o
[ 30%] Building CXX object Game/CMakeFiles/GameLib.dir/ResourceLoader.cpp.o
[ 30%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipBuilder.cpp.o
[ 31%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipDefinition.cpp.o
[ 32%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipDefinitionFile.cpp.o
[ 33%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipPreview.cpp.o
[ 34%] Linking CXX executable GPUCalcTest
[ 35%] Building CXX object Game/CMakeFiles/GameLib.dir/TextLayer.cpp.o
[ 35%] Built target GPUCalcTest
[ 35%] Building CXX object Game/CMakeFiles/GameLib.dir/AntiMatterBomb.cpp.o
[ 36%] Building CXX object Game/CMakeFiles/GameLib.dir/Bombs.cpp.o
[ 37%] Building CXX object Game/CMakeFiles/GameLib.dir/Clouds.cpp.o
[ 38%] Building CXX object Game/CMakeFiles/GameLib.dir/ElectricalElements.cpp.o
[ 39%] Building CXX object Game/CMakeFiles/GameLib.dir/ForceFields.cpp.o
[ 39%] Building CXX object Game/CMakeFiles/GameLib.dir/ImpactBomb.cpp.o
[ 40%] Building CXX object Game/CMakeFiles/GameLib.dir/OceanFloor.cpp.o
[ 41%] Building CXX object Game/CMakeFiles/GameLib.dir/PinnedPoints.cpp.o
[ 42%] Building CXX object Game/CMakeFiles/GameLib.dir/Points.cpp.o
[ 43%] Building CXX object Game/CMakeFiles/GameLib.dir/RCBomb.cpp.o
[ 43%] Building CXX object Game/CMakeFiles/GameLib.dir/Ship.cpp.o
[ 44%] Building CXX object Game/CMakeFiles/GameLib.dir/Springs.cpp.o
[ 45%] Building CXX object Game/CMakeFiles/GameLib.dir/Stars.cpp.o
[ 46%] Building CXX object Game/CMakeFiles/GameLib.dir/TimerBomb.cpp.o
[ 47%] Building CXX object Game/CMakeFiles/GameLib.dir/Triangles.cpp.o
[ 47%] Building CXX object Game/CMakeFiles/GameLib.dir/WaterSurface.cpp.o
[ 48%] Building CXX object Game/CMakeFiles/GameLib.dir/Wind.cpp.o
[ 49%] Building CXX object Game/CMakeFiles/GameLib.dir/World.cpp.o
[ 50%] Building CXX object Game/CMakeFiles/GameLib.dir/Font.cpp.o
[ 51%] Building CXX object Game/CMakeFiles/GameLib.dir/RenderContext.cpp.o
[ 51%] Building CXX object Game/CMakeFiles/GameLib.dir/RenderCore.cpp.o
[ 52%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipRenderContext.cpp.o
[ 53%] Building CXX object Game/CMakeFiles/GameLib.dir/TextRenderContext.cpp.o
[ 54%] Building CXX object Game/CMakeFiles/GameLib.dir/TextureAtlas.cpp.o
[ 55%] Building CXX object Game/CMakeFiles/GameLib.dir/TextureDatabase.cpp.o
[ 55%] Building CXX object Game/CMakeFiles/GameLib.dir/TextureRenderManager.cpp.o
[ 56%] Linking CXX static library libGameLib.a
[ 56%] Built target GameLib
Scanning dependencies of target FloatingSandbox
Scanning dependencies of target UnitTests
Scanning dependencies of target Benchmarks
Scanning dependencies of target ShipTools
[ 57%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/Helpers.cpp.o
[ 58%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/Main.cpp.o
[ 59%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/Quantizer.cpp.o
[ 59%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/DivisionByZero.cpp.o
[ 60%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/BoundedVectorTests.cpp.o
[ 61%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/Resizer.cpp.o
[ 62%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/AboutDialog.cpp.o
[ 62%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/ShipAnalyzer.cpp.o
[ 63%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/GameMath.cpp.o
[ 64%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/EventTickerPanel.cpp.o
[ 65%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/CircularListTests.cpp.o
[ 66%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/EnumFlagsTests.cpp.o
[ 67%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/Logarithm.cpp.o
[ 68%] Linking CXX executable ShipTools
[ 68%] Built target ShipTools
[ 69%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/UpdateSpringForces.cpp.o
[ 70%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/HelpDialog.cpp.o
[ 71%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/Utils.cpp.o
[ 71%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/FixedSizeVectorTests.cpp.o
[ 72%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/GameEventDispatcherTests.cpp.o
[ 72%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/VectorNormalization.cpp.o
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp: In function ‘void UpdateSpringForces_LibSimdPpAndIntrinsics(benchmark::State&)’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:209:73: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
m128 s1_f = _mm_movehl_ps(s01_f.wrapped(), s01_f.wrapped()); // f1.x, f1.y
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:209:73: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
__m128 s1_f = _mm_movehl_ps(s01_f.wrapped(), s01_f.wrapped()); // f1.x, f1.y
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:211:73: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
m128 s3_f = _mm_movehl_ps(s23_f.wrapped(), s23_f.wrapped()); // f3.x, f4.y
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:211:73: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
__m128 s3_f = _mm_movehl_ps(s23_f.wrapped(), s23_f.wrapped()); // f3.x, f4.y
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:218:42: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
tmpF = _mm_add_ps(tmpF, s01_f);
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:222:42: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
tmpF = _mm_sub_ps(tmpF, s01_f);
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:242:42: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
tmpF = _mm_add_ps(tmpF, s23_f);
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:246:42: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
tmpF = _mm_sub_ps(tmpF, s23_f);
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
[ 72%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/LoggingDialog.cpp.o
[ 73%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainApp.cpp.o
[ 74%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/GameMathTests.cpp.o
[ 75%] Linking CXX executable Benchmarks
/usr/bin/ld: warning: type of symbol glIsRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glRenderbufferStorage' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetRenderbufferParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glIsFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glCheckFramebufferStatus' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture1D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferTexture2D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture3D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetFramebufferAttachmentParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDrawArraysInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDrawElementsInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glBindVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDeleteVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glGenVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glIsVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
[ 75%] Built target Benchmarks
[ 76%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/LibSimdPpTests.cpp.o
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/UnitTests/LibSimdPpTests.cpp:11:10: fatal error: intrin.h: No such file or directory
^~~~~~~~~~
compilation terminated.
make[2]: [UnitTests/CMakeFiles/UnitTests.dir/build.make:141: UnitTests/CMakeFiles/UnitTests.dir/LibSimdPpTests.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
[ 77%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainFrame.cpp.o
[ 78%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/PreferencesDialog.cpp.o
[ 79%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/OpenGLContext.cpp.o
[ 79%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ProbePanel.cpp.o
[ 80%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ScalarTimeSeriesProbeControl.cpp.o
make[1]: [CMakeFiles/Makefile2:553: UnitTests/CMakeFiles/UnitTests.dir/all] Error 2
make[1]: Waiting for unfinished jobs....
[ 81%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/SettingsDialog.cpp.o
[ 82%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ShipDescriptionDialog.cpp.o
[ 83%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ShipLoadDialog.cpp.o
[ 83%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ShipPreviewControl.cpp.o
[ 84%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ShipPreviewPanel.cpp.o
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/ShipPreviewControl.cpp: In member function ‘void ShipPreviewControl::SetImageContent(const RgbaImageData&)’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/ShipPreviewControl.cpp:284:68: error: no matching function for call to ‘std::exception::exception(const char [29])’
throw std::exception("Cannot get bitmap pixel data");
^
In file included from /usr/include/c++/8.2.1/exception:38,
from /usr/include/c++/8.2.1/new:40,
from /usr/include/c++/8.2.1/bits/stl_construct.h:59,
from /usr/include/c++/8.2.1/bits/stl_tempbuf.h:60,
from /usr/include/c++/8.2.1/bits/stl_algo.h:62,
from /usr/include/c++/8.2.1/algorithm:62,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/Vectors.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../Game/ShipMetadata.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../Game/ShipPreview.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/ShipPreviewControl.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/ShipPreviewControl.cpp:6:
/usr/include/c++/8.2.1/bits/exception.h:63:5: note: candidate: ‘std::exception::exception()’
exception() _GLIBCXX_USE_NOEXCEPT { }
^~~~~
/usr/include/c++/8.2.1/bits/exception.h:63:5: note: candidate expects 0 arguments, 1 provided
/usr/include/c++/8.2.1/bits/exception.h:60:9: note: candidate: ‘constexpr std::exception::exception(const std::exception&)’
class exception
^~~~~
/usr/include/c++/8.2.1/bits/exception.h:60:9: note: no known conversion for argument 1 from ‘const char [29]’ to ‘const std::exception&’
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/ShipPreviewControl.cpp:328:64: error: no matching function for call to ‘std::exception::exception(const char [29])’
throw std::exception("Cannot get bitmap pixel data");
^
In file included from /usr/include/c++/8.2.1/exception:38,
from /usr/include/c++/8.2.1/new:40,
from /usr/include/c++/8.2.1/bits/stl_construct.h:59,
from /usr/include/c++/8.2.1/bits/stl_tempbuf.h:60,
from /usr/include/c++/8.2.1/bits/stl_algo.h:62,
from /usr/include/c++/8.2.1/algorithm:62,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../GameCore/Vectors.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../Game/ShipMetadata.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/GameCore/../Game/ShipPreview.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/ShipPreviewControl.h:8,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/ShipPreviewControl.cpp:6:
/usr/include/c++/8.2.1/bits/exception.h:63:5: note: candidate: ‘std::exception::exception()’
exception() _GLIBCXX_USE_NOEXCEPT { }
^~~~~
/usr/include/c++/8.2.1/bits/exception.h:63:5: note: candidate expects 0 arguments, 1 provided
/usr/include/c++/8.2.1/bits/exception.h:60:9: note: candidate: ‘constexpr std::exception::exception(const std::exception&)’
class exception
^~~~~
/usr/include/c++/8.2.1/bits/exception.h:60:9: note: no known conversion for argument 1 from ‘const char [29]’ to ‘const std::exception&’
[ 85%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/SliderControl.cpp.o
make[2]: [FloatingSandbox/CMakeFiles/FloatingSandbox.dir/build.make:232: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ShipPreviewControl.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/SliderControl.cpp: In constructor ‘SliderControl::SliderControl(wxWindow, int, int, const string&, const string&, float, std::function<void(float)>, std::unique_ptr~~~
SetPalette
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/SliderControl.cpp:103:44: error: ‘Scale_AspectFill’ is not a member of ‘wxStaticBitmap’
icon->SetScaleMode(wxStaticBitmap::Scale_AspectFill);
^~~~
make[2]: [FloatingSandbox/CMakeFiles/FloatingSandbox.dir/build.make:258: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/SliderControl.cpp.o] Error 1
make[1]: [CMakeFiles/Makefile2:152: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Congratulations for your patience.
Another fix has been pushed.
Congratulations for your patience.
Another fix has been pushed.
make -j6 Scanning dependencies of target gtest Scanning dependencies of target GameCoreLib [ 1%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/ImageTools.cpp.o [ 2%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/GameTypes.cpp.o [ 4%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/ExponentialSliderCore.cpp.o [ 4%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Colors.cpp.o [ 4%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/FixedTickSliderCore.cpp.o [ 5%] Building CXX object UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o [ 6%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/LinearSliderCore.cpp.o [ 6%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Log.cpp.o [ 7%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Utils.cpp.o [ 8%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Vectors.cpp.o [ 9%] Linking CXX static library ../../../../lib/libgtest.a [ 10%] Linking CXX static library libGameCoreLib.a [ 10%] Built target GameCoreLib [ 10%] Built target gtest Scanning dependencies of target GameOpenGLLib Scanning dependencies of target gmock Scanning dependencies of target gtest_main [ 12%] Building CXX object GameOpenGL/CMakeFiles/GameOpenGLLib.dir/GameOpenGL.cpp.o [ 12%] Building C object GameOpenGL/CMakeFiles/GameOpenGLLib.dir/glad/glad.c.o [ 12%] Building CXX object GameOpenGL/CMakeFiles/GameOpenGLLib.dir/GameOpenGL_Ext.cpp.o [ 13%] Building CXX object UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o [ 14%] Building CXX object UnitTests/gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o [ 15%] Linking CXX static library ../../../../lib/libgtest_main.a [ 15%] Built target gtest_main [ 16%] Linking CXX static library libGameOpenGLLib.a [ 16%] Built target GameOpenGLLib Scanning dependencies of target GPUCalcLib [ 17%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/GPUCalculatorFactory.cpp.o [ 18%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/GPUCalculator.cpp.o [ 18%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/PixelCoordsGPUCalculator.cpp.o [ 19%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/ShaderTraits.cpp.o [ 20%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/AddGPUCalculator.cpp.o [ 21%] Linking CXX static library ../../../lib/libgmock.a [ 21%] Built target gmock [ 22%] Linking CXX static library libGPUCalcLib.a [ 22%] Built target GPUCalcLib Scanning dependencies of target GameLib Scanning dependencies of target GPUCalcTest [ 22%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/MainFrame.cpp.o [ 23%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/AddTest.cpp.o [ 24%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/PixelCoordsTest.cpp.o [ 25%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/MainApp.cpp.o [ 26%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/OpenGLContext.cpp.o [ 27%] Building CXX object Game/CMakeFiles/GameLib.dir/GameController.cpp.o [ 27%] Building CXX object Game/CMakeFiles/GameLib.dir/GameParameters.cpp.o [ 28%] Building CXX object Game/CMakeFiles/GameLib.dir/ImageFileTools.cpp.o [ 29%] Building CXX object Game/CMakeFiles/GameLib.dir/Materials.cpp.o [ 30%] Building CXX object Game/CMakeFiles/GameLib.dir/ResourceLoader.cpp.o [ 31%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipBuilder.cpp.o [ 32%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipDefinition.cpp.o [ 32%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipDefinitionFile.cpp.o [ 33%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipPreview.cpp.o [ 34%] Linking CXX executable GPUCalcTest [ 34%] Built target GPUCalcTest [ 35%] Building CXX object Game/CMakeFiles/GameLib.dir/TextLayer.cpp.o [ 36%] Building CXX object Game/CMakeFiles/GameLib.dir/AntiMatterBomb.cpp.o [ 37%] Building CXX object Game/CMakeFiles/GameLib.dir/Bombs.cpp.o [ 37%] Building CXX object Game/CMakeFiles/GameLib.dir/Clouds.cpp.o [ 38%] Building CXX object Game/CMakeFiles/GameLib.dir/ElectricalElements.cpp.o [ 39%] Building CXX object Game/CMakeFiles/GameLib.dir/ForceFields.cpp.o [ 40%] Building CXX object Game/CMakeFiles/GameLib.dir/ImpactBomb.cpp.o [ 41%] Building CXX object Game/CMakeFiles/GameLib.dir/OceanFloor.cpp.o [ 41%] Building CXX object Game/CMakeFiles/GameLib.dir/PinnedPoints.cpp.o [ 42%] Building CXX object Game/CMakeFiles/GameLib.dir/Points.cpp.o [ 43%] Building CXX object Game/CMakeFiles/GameLib.dir/RCBomb.cpp.o [ 44%] Building CXX object Game/CMakeFiles/GameLib.dir/Ship.cpp.o [ 45%] Building CXX object Game/CMakeFiles/GameLib.dir/Springs.cpp.o [ 45%] Building CXX object Game/CMakeFiles/GameLib.dir/Stars.cpp.o [ 46%] Building CXX object Game/CMakeFiles/GameLib.dir/TimerBomb.cpp.o [ 47%] Building CXX object Game/CMakeFiles/GameLib.dir/Triangles.cpp.o [ 48%] Building CXX object Game/CMakeFiles/GameLib.dir/WaterSurface.cpp.o [ 49%] Building CXX object Game/CMakeFiles/GameLib.dir/Wind.cpp.o [ 49%] Building CXX object Game/CMakeFiles/GameLib.dir/World.cpp.o [ 50%] Building CXX object Game/CMakeFiles/GameLib.dir/Font.cpp.o [ 51%] Building CXX object Game/CMakeFiles/GameLib.dir/RenderContext.cpp.o [ 52%] Building CXX object Game/CMakeFiles/GameLib.dir/RenderCore.cpp.o [ 53%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipRenderContext.cpp.o [ 53%] Building CXX object Game/CMakeFiles/GameLib.dir/TextRenderContext.cpp.o [ 54%] Building CXX object Game/CMakeFiles/GameLib.dir/TextureAtlas.cpp.o [ 55%] Building CXX object Game/CMakeFiles/GameLib.dir/TextureDatabase.cpp.o [ 56%] Building CXX object Game/CMakeFiles/GameLib.dir/TextureRenderManager.cpp.o [ 57%] Linking CXX static library libGameLib.a [ 57%] Built target GameLib Scanning dependencies of target ShipTools Scanning dependencies of target Benchmarks Scanning dependencies of target UnitTests Scanning dependencies of target FloatingSandbox [ 59%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/Main.cpp.o [ 59%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/Helpers.cpp.o [ 59%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/Quantizer.cpp.o [ 59%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/DivisionByZero.cpp.o [ 60%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/BoundedVectorTests.cpp.o [ 61%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/AboutDialog.cpp.o [ 62%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/Resizer.cpp.o [ 63%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/ShipAnalyzer.cpp.o [ 64%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/GameMath.cpp.o [ 65%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/Logarithm.cpp.o [ 65%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/CircularListTests.cpp.o [ 66%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/UpdateSpringForces.cpp.o [ 67%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/Utils.cpp.o [ 67%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/VectorNormalization.cpp.o [ 68%] Linking CXX executable ShipTools [ 68%] Built target ShipTools [ 69%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/EventTickerPanel.cpp.o [ 70%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/HelpDialog.cpp.o [ 70%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/LoggingDialog.cpp.o /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp: In function ‘void UpdateSpringForces_LibSimdPpAndIntrinsics(benchmark::State&)’: /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:209:73: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations] __m128 s1_f = _mm_movehl_ps(s01_f.wrapped(), s01_f.wrapped()); // f1.x, f1.y ^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:209:73: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
__m128 s1_f = _mm_movehl_ps(s01_f.wrapped(), s01_f.wrapped()); // f1.x, f1.y
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:211:73: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
__m128 s3_f = _mm_movehl_ps(s23_f.wrapped(), s23_f.wrapped()); // f3.x, f4.y
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:211:73: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
__m128 s3_f = _mm_movehl_ps(s23_f.wrapped(), s23_f.wrapped()); // f3.x, f4.y
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:218:42: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
tmpF = _mm_add_ps(tmpF, s01_f);
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:222:42: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
tmpF = _mm_sub_ps(tmpF, s01_f);
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:242:42: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
tmpF = _mm_add_ps(tmpF, s23_f);
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:246:42: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
tmpF = _mm_sub_ps(tmpF, s23_f);
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
[ 71%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/EnumFlagsTests.cpp.o
[ 72%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/FixedSizeVectorTests.cpp.o
[ 73%] Linking CXX executable Benchmarks
/usr/bin/ld: warning: type of symbol glIsRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glRenderbufferStorage' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetRenderbufferParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glIsFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glCheckFramebufferStatus' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture1D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferTexture2D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture3D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetFramebufferAttachmentParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDrawArraysInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDrawElementsInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glBindVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDeleteVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glGenVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glIsVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
[ 73%] Built target Benchmarks
[ 74%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/GameEventDispatcherTests.cpp.o
[ 75%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainApp.cpp.o
[ 76%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainFrame.cpp.o
[ 77%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/GameMathTests.cpp.o
[ 77%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/SegmentTests.cpp.o
[ 78%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/ShaderManagerTests.cpp.o
[ 79%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/SliderCoreTests.cpp.o
[ 80%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/TextureAtlasTests.cpp.o
[ 81%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/TupleKeysTests.cpp.o
[ 81%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/Utils.cpp.o
[ 82%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/VectorsTests.cpp.o
[ 83%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/OpenGLContext.cpp.o
[ 84%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/PreferencesDialog.cpp.o
[ 84%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ProbePanel.cpp.o
[ 85%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ScalarTimeSeriesProbeControl.cpp.o
[ 86%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/SettingsDialog.cpp.o
[ 87%] Linking CXX executable UnitTests
/usr/bin/ld: warning: type of symbol glIsRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glRenderbufferStorage' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetRenderbufferParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glIsFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glCheckFramebufferStatus' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture1D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferTexture2D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture3D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetFramebufferAttachmentParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDrawArraysInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDrawElementsInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glBindVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDeleteVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glGenVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glIsVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
[ 87%] Built target UnitTests
[ 88%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ShipDescriptionDialog.cpp.o
[ 89%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ShipLoadDialog.cpp.o
[ 89%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ShipPreviewControl.cpp.o
[ 90%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ShipPreviewPanel.cpp.o
[ 91%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/SliderControl.cpp.o
[ 92%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o
[ 93%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/Sounds.cpp.o
[ 93%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/SplashScreenDialog.cpp.o
[ 94%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/StandardSystemPaths.cpp.o
[ 95%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/StartupTipDialog.cpp.o
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/StandardSystemPaths.cpp: In member function ‘std::filesystem::__cxx11::path StandardSystemPaths::GetUserPicturesGameFolderPath() const’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/StandardSystemPaths.cpp:17:50: error: ‘class wxStandardPaths’ has no member named ‘GetUserDir’; did you mean ‘GetDataDir’?
auto picturesFolder = wxStandardPaths::Get().GetUserDir(wxStandardPaths::Dir::Dir_Pictures);
^~~~~~
GetDataDir
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/FloatingSandbox/StandardSystemPaths.cpp:17:78: error: ‘wxStandardPaths::Dir’ has not been declared
auto picturesFolder = wxStandardPaths::Get().GetUserDir(wxStandardPaths::Dir::Dir_Pictures);
^~~
make[2]: [FloatingSandbox/CMakeFiles/FloatingSandbox.dir/build.make:310: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/StandardSystemPaths.cpp.o] Error 1
make[2]: Waiting for unfinished jobs....
make[1]: [CMakeFiles/Makefile2:152: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/all] Error 2
make: [Makefile:130: all] Error 2
Hey, thanks. We are back at mismatched wxWidgets versions. You need (at least) wxWidgets 3.1.0, it looks like you are on an older version. Is it possible for you to upgrade to 3.1.0?
Hey, thanks. We are back at mismatched wxWidgets versions. You need (at least) wxWidgets 3.1.0, it looks like you are on an older version. Is it possible for you to upgrade to 3.1.0?
I have upgraded wxWidgets to 3.1.1
make -j6
Scanning dependencies of target GameCoreLib
Scanning dependencies of target gtest
[ 3%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/ImageTools.cpp.o
[ 3%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/GameTypes.cpp.o
[ 4%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/ExponentialSliderCore.cpp.o
[ 3%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/FixedTickSliderCore.cpp.o
[ 4%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Colors.cpp.o
[ 5%] Building CXX object UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[ 6%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/LinearSliderCore.cpp.o
[ 6%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Log.cpp.o
[ 7%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Utils.cpp.o
[ 8%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Vectors.cpp.o
[ 9%] Linking CXX static library ../../../../lib/libgtest.a
[ 9%] Built target gtest
Scanning dependencies of target gtest_main
Scanning dependencies of target gmock
[ 10%] Building CXX object UnitTests/gtest/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[ 11%] Building CXX object UnitTests/gtest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
[ 12%] Linking CXX static library libGameCoreLib.a
[ 12%] Built target GameCoreLib
Scanning dependencies of target GameOpenGLLib
[ 12%] Building CXX object GameOpenGL/CMakeFiles/GameOpenGLLib.dir/GameOpenGL_Ext.cpp.o
[ 13%] Building CXX object GameOpenGL/CMakeFiles/GameOpenGLLib.dir/GameOpenGL.cpp.o
[ 14%] Building C object GameOpenGL/CMakeFiles/GameOpenGLLib.dir/glad/glad.c.o
[ 15%] Linking CXX static library ../../../../lib/libgtest_main.a
[ 15%] Built target gtest_main
[ 16%] Linking CXX static library libGameOpenGLLib.a
[ 16%] Built target GameOpenGLLib
Scanning dependencies of target GPUCalcLib
[ 18%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/GPUCalculatorFactory.cpp.o
[ 19%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/ShaderTraits.cpp.o
[ 18%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/GPUCalculator.cpp.o
[ 20%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/PixelCoordsGPUCalculator.cpp.o
[ 20%] Building CXX object GPUCalc/CMakeFiles/GPUCalcLib.dir/AddGPUCalculator.cpp.o
[ 21%] Linking CXX static library ../../../lib/libgmock.a
[ 21%] Built target gmock
[ 22%] Linking CXX static library libGPUCalcLib.a
[ 22%] Built target GPUCalcLib
Scanning dependencies of target GameLib
Scanning dependencies of target GPUCalcTest
[ 24%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/AddTest.cpp.o
[ 24%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/MainApp.cpp.o
[ 25%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/MainFrame.cpp.o
[ 27%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/PixelCoordsTest.cpp.o
[ 27%] Building CXX object Game/CMakeFiles/GameLib.dir/GameController.cpp.o
[ 27%] Building CXX object GPUCalcTest/CMakeFiles/GPUCalcTest.dir/OpenGLContext.cpp.o
[ 27%] Building CXX object Game/CMakeFiles/GameLib.dir/GameParameters.cpp.o
[ 28%] Building CXX object Game/CMakeFiles/GameLib.dir/ImageFileTools.cpp.o
[ 29%] Building CXX object Game/CMakeFiles/GameLib.dir/Materials.cpp.o
[ 30%] Building CXX object Game/CMakeFiles/GameLib.dir/ResourceLoader.cpp.o
[ 31%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipBuilder.cpp.o
[ 32%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipDefinition.cpp.o
[ 32%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipDefinitionFile.cpp.o
[ 33%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipPreview.cpp.o
[ 34%] Linking CXX executable GPUCalcTest
[ 34%] Built target GPUCalcTest
[ 35%] Building CXX object Game/CMakeFiles/GameLib.dir/TextLayer.cpp.o
[ 36%] Building CXX object Game/CMakeFiles/GameLib.dir/AntiMatterBomb.cpp.o
[ 37%] Building CXX object Game/CMakeFiles/GameLib.dir/Bombs.cpp.o
[ 37%] Building CXX object Game/CMakeFiles/GameLib.dir/Clouds.cpp.o
[ 38%] Building CXX object Game/CMakeFiles/GameLib.dir/ElectricalElements.cpp.o
[ 39%] Building CXX object Game/CMakeFiles/GameLib.dir/ForceFields.cpp.o
[ 40%] Building CXX object Game/CMakeFiles/GameLib.dir/ImpactBomb.cpp.o
[ 41%] Building CXX object Game/CMakeFiles/GameLib.dir/OceanFloor.cpp.o
[ 41%] Building CXX object Game/CMakeFiles/GameLib.dir/PinnedPoints.cpp.o
[ 42%] Building CXX object Game/CMakeFiles/GameLib.dir/Points.cpp.o
[ 43%] Building CXX object Game/CMakeFiles/GameLib.dir/RCBomb.cpp.o
[ 44%] Building CXX object Game/CMakeFiles/GameLib.dir/Ship.cpp.o
[ 45%] Building CXX object Game/CMakeFiles/GameLib.dir/Springs.cpp.o
[ 45%] Building CXX object Game/CMakeFiles/GameLib.dir/Stars.cpp.o
[ 46%] Building CXX object Game/CMakeFiles/GameLib.dir/TimerBomb.cpp.o
[ 47%] Building CXX object Game/CMakeFiles/GameLib.dir/Triangles.cpp.o
[ 48%] Building CXX object Game/CMakeFiles/GameLib.dir/WaterSurface.cpp.o
[ 49%] Building CXX object Game/CMakeFiles/GameLib.dir/Wind.cpp.o
[ 49%] Building CXX object Game/CMakeFiles/GameLib.dir/World.cpp.o
[ 50%] Building CXX object Game/CMakeFiles/GameLib.dir/Font.cpp.o
[ 51%] Building CXX object Game/CMakeFiles/GameLib.dir/RenderContext.cpp.o
[ 52%] Building CXX object Game/CMakeFiles/GameLib.dir/RenderCore.cpp.o
[ 53%] Building CXX object Game/CMakeFiles/GameLib.dir/ShipRenderContext.cpp.o
[ 53%] Building CXX object Game/CMakeFiles/GameLib.dir/TextRenderContext.cpp.o
[ 54%] Building CXX object Game/CMakeFiles/GameLib.dir/TextureAtlas.cpp.o
[ 55%] Building CXX object Game/CMakeFiles/GameLib.dir/TextureDatabase.cpp.o
[ 56%] Building CXX object Game/CMakeFiles/GameLib.dir/TextureRenderManager.cpp.o
[ 57%] Linking CXX static library libGameLib.a
[ 57%] Built target GameLib
Scanning dependencies of target Benchmarks
Scanning dependencies of target ShipTools
Scanning dependencies of target UnitTests
Scanning dependencies of target FloatingSandbox
[ 59%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/Quantizer.cpp.o
[ 59%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/Main.cpp.o
[ 59%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/Helpers.cpp.o
[ 59%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/DivisionByZero.cpp.o
[ 60%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/BoundedVectorTests.cpp.o
[ 60%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/CircularListTests.cpp.o
[ 61%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/AboutDialog.cpp.o
[ 62%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/GameMath.cpp.o
[ 65%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/Logarithm.cpp.o
[ 65%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/EnumFlagsTests.cpp.o
[ 65%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/Resizer.cpp.o
[ 66%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/FixedSizeVectorTests.cpp.o
[ 67%] Building CXX object ShipTools/CMakeFiles/ShipTools.dir/ShipAnalyzer.cpp.o
[ 68%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/UpdateSpringForces.cpp.o
[ 69%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/EventTickerPanel.cpp.o
[ 70%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/Utils.cpp.o
[ 71%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/GameEventDispatcherTests.cpp.o
[ 71%] Building CXX object Benchmarks/CMakeFiles/Benchmarks.dir/VectorNormalization.cpp.o
[ 72%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/GameMathTests.cpp.o
[ 73%] Linking CXX executable ShipTools
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp: In function ‘void UpdateSpringForces_LibSimdPpAndIntrinsics(benchmark::State&)’:
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:209:73: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
m128 s1_f = _mm_movehl_ps(s01_f.wrapped(), s01_f.wrapped()); // f1.x, f1.y
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:209:73: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
__m128 s1_f = _mm_movehl_ps(s01_f.wrapped(), s01_f.wrapped()); // f1.x, f1.y
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:211:73: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
m128 s3_f = _mm_movehl_ps(s23_f.wrapped(), s23_f.wrapped()); // f3.x, f4.y
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:211:73: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
m128 s3_f = _mm_movehl_ps(s23_f.wrapped(), s23_f.wrapped()); // f3.x, f4.y
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:218:42: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
tmpF = _mm_add_ps(tmpF, s01_f);
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:222:42: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
tmpF = _mm_sub_ps(tmpF, s01_f);
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:242:42: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
tmpF = _mm_add_ps(tmpF, s23_f);
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
/home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:246:42: warning: ‘simdpp::arch_ssse3::float32<4>::operator simdpp::arch_ssse3::float32<4>::native_type() const’ is deprecated: Implicit conversion operators may lead to wrong code being accepted without a compile error on Clang. Use the native() method as a replacement. [-Wdeprecated-declarations]
tmpF = _mm_sub_ps(tmpF, s23_f);
^
In file included from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/types.h:31,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/core/align.h:15,
from /home/h6899/Documents/src/SDK/libsimdpp/simdpp/simd.h:19,
from /home/h6899/Documents/src/Floating-Sandbox-orhpaned_points/Benchmarks/UpdateSpringForces.cpp:7:
/home/h6899/Documents/src/SDK/libsimdpp/simdpp/types/float32x4.h:68:16: note: declared here
SIMDPP_INL operator native_type() const SIMDPP_IMPLICIT_CONVERSION_DEPRECATION_MSG
^~~~
[ 73%] Built target ShipTools
[ 73%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/SegmentTests.cpp.o
[ 74%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/ShaderManagerTests.cpp.o
[ 75%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/HelpDialog.cpp.o
[ 76%] Linking CXX executable Benchmarks
/usr/bin/ld: warning: type of symbol glIsRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glRenderbufferStorage' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetRenderbufferParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glIsFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glCheckFramebufferStatus' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture1D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferTexture2D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture3D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetFramebufferAttachmentParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDrawArraysInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDrawElementsInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glBindVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDeleteVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glGenVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glIsVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
[ 76%] Built target Benchmarks
[ 77%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/SliderCoreTests.cpp.o
[ 78%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/TextureAtlasTests.cpp.o
[ 79%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/TupleKeysTests.cpp.o
[ 79%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/LoggingDialog.cpp.o
[ 80%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainApp.cpp.o
[ 81%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/MainFrame.cpp.o
[ 82%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/OpenGLContext.cpp.o
[ 83%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/PreferencesDialog.cpp.o
[ 83%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ProbePanel.cpp.o
[ 84%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ScalarTimeSeriesProbeControl.cpp.o
[ 85%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/SettingsDialog.cpp.o
[ 86%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ShipDescriptionDialog.cpp.o
[ 87%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/VectorsTests.cpp.o
[ 88%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ShipLoadDialog.cpp.o
[ 88%] Building CXX object UnitTests/CMakeFiles/UnitTests.dir/Utils.cpp.o
[ 88%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ShipPreviewControl.cpp.o
[ 89%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ShipPreviewPanel.cpp.o
[ 90%] Linking CXX executable UnitTests
/usr/bin/ld: warning: type of symbol glIsRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenRenderbuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glRenderbufferStorage' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetRenderbufferParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glIsFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glBindFramebuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDeleteFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGenFramebuffers' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glCheckFramebufferStatus' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture1D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferTexture2D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glFramebufferTexture3D' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glFramebufferRenderbuffer' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glGetFramebufferAttachmentParameteriv' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glDrawArraysInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDrawElementsInstanced' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glBindVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glDeleteVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
/usr/bin/ld: warning: type of symbol glGenVertexArrays' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o) /usr/bin/ld: warning: type of symbol
glIsVertexArray' changed from 2 to 1 in ../GameOpenGL/libGameOpenGLLib.a(GameOpenGL_Ext.cpp.o)
[ 90%] Built target UnitTests
[ 91%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/SliderControl.cpp.o
[ 92%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o
[ 93%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/Sounds.cpp.o
[ 93%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/SplashScreenDialog.cpp.o
[ 94%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/StandardSystemPaths.cpp.o
[ 95%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/StartupTipDialog.cpp.o
[ 96%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/ToolController.cpp.o
[ 97%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/Tools.cpp.o
[ 98%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/UIPreferences.cpp.o
[ 98%] Building CXX object FloatingSandbox/CMakeFiles/FloatingSandbox.dir/UnhandledExceptionHandler.cpp.o
[100%] Linking CXX executable FloatingSandbox
/usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o: in function SoundController::SoundController(std::shared_ptr<ResourceLoader>, std::shared_ptr<IGameEventHandler>, std::function<void (float, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)> const&)': SoundController.cpp:(.text+0x591): undefined reference to
sf::Music::openFromFile(std::cxx11::basic_string<char, std::char_traitssf::SoundStream::setLoop(bool)' /usr/bin/ld: SoundController.cpp:(.text+0x818): undefined reference to
sf::SoundBuffer::loadFromFile(std::SoundController::SetPaused(bool)': SoundController.cpp:(.text+0x2cda): undefined reference to
sf::SoundStream::getStatus() const'
/usr/bin/ld: SoundController.cpp:(.text+0x2cf6): undefined reference to sf::SoundStream::pause()' /usr/bin/ld: SoundController.cpp:(.text+0x2d0a): undefined reference to
sf::SoundStream::getStatus() const'
/usr/bin/ld: SoundController.cpp:(.text+0x2d26): undefined reference to sf::SoundStream::play()' /usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o: in function
SoundController::SetMuted(bool)':
SoundController.cpp:(.text+0x2d7a): undefined reference to sf::Listener::setGlobalVolume(float)' /usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o: in function
SoundController::SetPlaySinkingMusic(bool)':
SoundController.cpp:(.text+0x3b69): undefined reference to sf::SoundStream::stop()' /usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o: in function
SoundController::Reset()':
SoundController.cpp:(.text+0x40be): undefined reference to sf::SoundStream::stop()' /usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o: in function
SoundController::OnSinkingBegin(unsigned int)':
SoundController.cpp:(.text+0x4399): undefined reference to sf::SoundStream::getStatus() const' /usr/bin/ld: SoundController.cpp:(.text+0x43b5): undefined reference to
sf::SoundStream::play()'
/usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o: in function SoundController::PlayOneShotSound(SoundType, sf::SoundBuffer*, float, bool)': SoundController.cpp:(.text+0x56b8): undefined reference to
sf::Sound::getBuffer() const'
/usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o: in function GameSound::GameSound(sf::SoundBuffer const&, float, float, bool)': SoundController.cpp:(.text._ZN9GameSoundC2ERKN2sf11SoundBufferEffb[_ZN9GameSoundC5ERKN2sf11SoundBufferEffb]+0x2f): undefined reference to
sf::Sound::Sound(sf::SoundBuffer const&)'
/usr/bin/ld: SoundController.cpp:(.text._ZN9GameSoundC2ERKN2sf11SoundBufferEffb[_ZN9GameSoundC5ERKN2sf11SoundBufferEffb]+0x81): undefined reference to sf::Sound::~Sound()' /usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o: in function
GameSound::InternalSetVolume()':
SoundController.cpp:(.text._ZN9GameSound17InternalSetVolumeEv[_ZN9GameSound17InternalSetVolumeEv]+0x84): undefined reference to sf::SoundSource::setVolume(float)' /usr/bin/ld: SoundController.cpp:(.text._ZN9GameSound17InternalSetVolumeEv[_ZN9GameSound17InternalSetVolumeEv]+0x96): undefined reference to
sf::SoundSource::setVolume(float)'
/usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o: in function GameMusic::GameMusic(float, float, bool)': SoundController.cpp:(.text._ZN9GameMusicC2Effb[_ZN9GameMusicC5Effb]+0x24): undefined reference to
sf::Music::Music()'
/usr/bin/ld: SoundController.cpp:(.text._ZN9GameMusicC2Effb[_ZN9GameMusicC5Effb]+0x7f): undefined reference to sf::Music::~Music()' /usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o: in function
GameMusic::InternalSetVolume()':
SoundController.cpp:(.text._ZN9GameMusic17InternalSetVolumeEv[_ZN9GameMusic17InternalSetVolumeEv]+0x69): undefined reference to sf::SoundSource::setVolume(float)' /usr/bin/ld: SoundController.cpp:(.text._ZN9GameMusic17InternalSetVolumeEv[_ZN9GameMusic17InternalSetVolumeEv]+0x7b): undefined reference to
sf::SoundSource::setVolume(float)'
/usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o: in function ContinuousSound::Initialize(std::unique_ptr<sf::SoundBuffer, std::default_delete<sf::SoundBuffer> >, float, float, bool)': SoundController.cpp:(.text._ZN15ContinuousSound10InitializeESt10unique_ptrIN2sf11SoundBufferESt14default_deleteIS2_EEffb[_ZN15ContinuousSound10InitializeESt10unique_ptrIN2sf11SoundBufferESt14default_deleteIS2_EEffb]+0xfe): undefined reference to
sf::Sound::setLoop(bool)'
/usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o: in function `std::_MakeUniqsf::SoundBuffer::SoundBuffer()' /usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o: in function
std::default_deletesf::SoundBuffer::~SoundBuffer()' /usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o: in function
GameSound::~GameSound()':
SoundController.cpp:(.text._ZN9GameSoundD2Ev[_ZN9GameSoundD5Ev]+0x22): undefined reference to sf::Sound::~Sound()' /usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o:(.data.rel.ro._ZTV9GameMusic[_ZTV9GameMusic]+0x20): undefined reference to
sf::SoundStream::play()'
/usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o:(.data.rel.ro._ZTV9GameMusic[_ZTV9GameMusic]+0x28): undefined reference to sf::SoundStream::pause()' /usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o:(.data.rel.ro._ZTV9GameMusic[_ZTV9GameMusic]+0x30): undefined reference to
sf::SoundStream::stop()'
/usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o:(.data.rel.ro._ZTV9GameMusic[_ZTV9GameMusic]+0x38): undefined reference to sf::SoundStream::getStatus() const' /usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o:(.data.rel.ro._ZTV9GameMusic[_ZTV9GameMusic]+0x40): undefined reference to
sf::Music::onGetData(sf::SoundStream::Chunk&)'
/usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o:(.data.rel.ro._ZTV9GameMusic[_ZTV9GameMusic]+0x48): undefined reference to sf::Music::onSeek(sf::Time)' /usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o:(.data.rel.ro._ZTV9GameMusic[_ZTV9GameMusic]+0x50): undefined reference to
sf::Music::onLoop()'
/usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o: in function GameMusic::~GameMusic()': SoundController.cpp:(.text._ZN9GameMusicD2Ev[_ZN9GameMusicD5Ev]+0x22): undefined reference to
sf::Music::~Music()'
/usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o:(.data.rel.ro._ZTV9GameSound[_ZTV9GameSound]+0x20): undefined reference to sf::Sound::play()' /usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o:(.data.rel.ro._ZTV9GameSound[_ZTV9GameSound]+0x28): undefined reference to
sf::Sound::pause()'
/usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o:(.data.rel.ro._ZTV9GameSound[_ZTV9GameSound]+0x30): undefined reference to sf::Sound::stop()' /usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o:(.data.rel.ro._ZTV9GameSound[_ZTV9GameSound]+0x38): undefined reference to
sf::Sound::getStatus() const'
/usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o:(.data.rel.ro._ZTI9GameMusic[_ZTI9GameMusic]+0x10): undefined reference to typeinfo for sf::Music' /usr/bin/ld: CMakeFiles/FloatingSandbox.dir/SoundController.cpp.o:(.data.rel.ro._ZTI9GameSound[_ZTI9GameSound]+0x10): undefined reference to
typeinfo for sf::Sound'
collect2: error: ld returned 1 exit status
make[2]: [FloatingSandbox/CMakeFiles/FloatingSandbox.dir/build.make:457: FloatingSandbox/FloatingSandbox] Error 1
make[1]: [CMakeFiles/Makefile2:152: FloatingSandbox/CMakeFiles/FloatingSandbox.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Great, thanks for upgrading wxWidgets.
Now it seems there are issues with linking to SFML :-) Note that SFML needs to be built separately, and the lib needs to be made available to the project.
There is a "find_package(SFML COMPONENTS system audio REQUIRED)" that should have found the libs. Can you check how SFML_LIBRARIES ends up being populated by your CMake?
Great, thanks for upgrading wxWidgets.
Now it seems there are issues with linking to SFML :-) Note that SFML needs to be built separately, and the lib needs to be made available to the project.
There is a "find_package(SFML COMPONENTS system audio REQUIRED)" that should have found the libs. Can you check how SFML_LIBRARIES ends up being populated by your CMake?
I'm to lazy to continue, maybe you can compile binaries in a virtual machine.
Just to chime in here, I could build the project on Linux without problems (the repair_tool
branch, master does not work). I had to change the CMakeLists.txt
from FloatingSandbox
.
${SFML_LIBRARIES}
is empty on my system. Looking at https://github.com/SFML/SFML/blob/master/cmake/SFMLConfig.cmake.in#L60 it also looks like it is not supported (anymore?). Specifying the aliases did work for me (sfml-graphics sfml-audio
).
Edit: Yup, looks that way. ${SFML_LIBRARIES}
is deprecated, see https://en.sfml-dev.org/forums/index.php?topic=24070.0
Thank you psde, I've upgraded to 2.5.1 and your changes worked like a charm!!! h6899, the SFML issues should be gone now. You may try again if you wish!
[ 2%] Built target gtest [ 3%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Utils.cpp.o [ 4%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/GameTypes.cpp.o [ 5%] Building CXX object GameCore/CMakeFiles/GameCoreLib.dir/Vectors.cpp.o [ 7%] Built target gmock [ 9%] Built target gtest_main In file included from /home/h6899/Documents/src/Floating-Sandbox/GameCore/GameTypes.cpp:8: /home/h6899/Documents/src/Floating-Sandbox/GameCore/GameException.h: In constructor ‘GameException::GameException(const string&)’: /home/h6899/Documents/src/Floating-Sandbox/GameCore/GameException.h:16:40: error: no matching function for call to ‘std::exception::exception(const char*)’ : std::exception(errorMessage.c_str()) ^ In file included from /usr/include/c++/8.2.1/exception:38, from /usr/include/c++/8.2.1/ios:39, from /usr/include/c++/8.2.1/istream:38, from /usr/include/c++/8.2.1/sstream:38, from /home/h6899/Documents/src/Floating-Sandbox/GameCore/GameTypes.h:10, from /home/h6899/Documents/src/Floating-Sandbox/GameCore/GameTypes.cpp:6: /usr/include/c++/8.2.1/bits/exception.h:63:5: note: candidate: ‘std::exception::exception()’ exception() _GLIBCXX_USE_NOEXCEPT { } ^~~~~~~~~ /usr/include/c++/8.2.1/bits/exception.h:63:5: note: candidate expects 0 arguments, 1 provided /usr/include/c++/8.2.1/bits/exception.h:60:9: note: candidate: ‘constexpr std::exception::exception(const std::exception&)’ class exception ^~~~~~~~~ /usr/include/c++/8.2.1/bits/exception.h:60:9: note: no known conversion for argument 1 from ‘const char*’ to ‘const std::exception&’ In file included from /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:9, from /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.cpp:6: /home/h6899/Documents/src/Floating-Sandbox/GameCore/GameException.h: In constructor ‘GameException::GameException(const string&)’: /home/h6899/Documents/src/Floating-Sandbox/GameCore/GameException.h:16:40: error: no matching function for call to ‘std::exception::exception(const char*)’ : std::exception(errorMessage.c_str()) ^ In file included from /usr/include/c++/8.2.1/exception:38, from /usr/include/c++/8.2.1/new:40, from /usr/include/c++/8.2.1/bits/stl_construct.h:59, from /usr/include/c++/8.2.1/bits/stl_tempbuf.h:60, from /usr/include/c++/8.2.1/bits/stl_algo.h:62, from /usr/include/c++/8.2.1/algorithm:62, from /home/h6899/Documents/src/Floating-Sandbox/GameCore/Vectors.h:8, from /home/h6899/Documents/src/Floating-Sandbox/GameCore/Colors.h:8, from /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:8, from /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.cpp:6: /usr/include/c++/8.2.1/bits/exception.h:63:5: note: candidate: ‘std::exception::exception()’ exception() _GLIBCXX_USE_NOEXCEPT { } ^~~~~~~~~ /usr/include/c++/8.2.1/bits/exception.h:63:5: note: candidate expects 0 arguments, 1 provided /usr/include/c++/8.2.1/bits/exception.h:60:9: note: candidate: ‘constexpr std::exception::exception(const std::exception&)’ class exception ^~~~~~~~~ /usr/include/c++/8.2.1/bits/exception.h:60:9: note: no known conversion for argument 1 from ‘const char*’ to ‘const std::exception&’ In file included from /home/h6899/Documents/src/Floating-Sandbox/GameCore/GameTypes.cpp:9: /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h: At global scope: /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:61:14: error: explicit specialization in non-namespace scope ‘class Utils’ template<> ^ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:76:14: error: explicit specialization in non-namespace scope ‘class Utils’ template<> ^ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:92:29: error: too many template-parameter-lists static std::optional<T> GetOptionalJsonMember( ^~~~~~~~~~~~~~~~~~~~~ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:110:14: error: explicit specialization in non-namespace scope ‘class Utils’ template<> ^ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:122:14: error: explicit specialization in non-namespace scope ‘class Utils’ template<> ^ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:123:31: error: ‘static std::optional<int> Utils::GetOptionalJsonMember(const object&, const string&)’ cannot be overloaded with ‘static std::optional<float> Utils::GetOptionalJsonMember(const object&, const string&)’ static std::optional<int> GetOptionalJsonMember( ^~~~~~~~~~~~~~~~~~~~~ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:111:33: note: previous declaration ‘static std::optional<float> Utils::GetOptionalJsonMember(const object&, const string&)’ static std::optional<float> GetOptionalJsonMember( ^~~~~~~~~~~~~~~~~~~~~ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:153:20: error: too many template-parameter-lists static T const GetMandatoryJsonMember( ^~~~~~~~~~~~~~~~~~~~~~ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:246:24: error: too many template-parameter-lists static std::string Join(TIterable const & elements, std::string const & separator) ^~~~ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h: In static member function ‘static std::optional<float> Utils::GetOptionalJsonMember(const object&, const string&)’: /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:115:63: error: no matching function for call to ‘Utils::GetOptionalJsonMember<double>(const object&, const string&)’ auto r = GetOptionalJsonMember<double>(obj, memberName); ^ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:42:14: note: candidate: ‘template<class T> static T Utils::GetOptionalJsonMember(const object&, const string&, const T&)’ static T GetOptionalJsonMember( ^~~~~~~~~~~~~~~~~~~~~ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:42:14: note: template argument deduction/substitution failed: /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:115:63: note: candidate expects 3 arguments, 2 provided auto r = GetOptionalJsonMember<double>(obj, memberName); ^ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h: In static member function ‘static std::optional<int> Utils::GetOptionalJsonMember(const object&, const string&)’: /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:127:64: error: no matching function for call to ‘Utils::GetOptionalJsonMember<int64_t>(const object&, const string&)’ auto r = GetOptionalJsonMember<int64_t>(obj, memberName); ^ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:42:14: note: candidate: ‘template<class T> static T Utils::GetOptionalJsonMember(const object&, const string&, const T&)’ static T GetOptionalJsonMember( ^~~~~~~~~~~~~~~~~~~~~ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:42:14: note: template argument deduction/substitution failed: /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:127:64: note: candidate expects 3 arguments, 2 provided auto r = GetOptionalJsonMember<int64_t>(obj, memberName); ^ In file included from /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.cpp:6: /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h: At global scope: /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:61:14: error: explicit specialization in non-namespace scope ‘class Utils’ template<> ^ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:76:14: error: explicit specialization in non-namespace scope ‘class Utils’ template<> ^ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:92:29: error: too many template-parameter-lists static std::optional<T> GetOptionalJsonMember( ^~~~~~~~~~~~~~~~~~~~~ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:110:14: error: explicit specialization in non-namespace scope ‘class Utils’ template<> ^ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:122:14: error: explicit specialization in non-namespace scope ‘class Utils’ template<> ^ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:123:31: error: ‘static std::optional<int> Utils::GetOptionalJsonMember(const object&, const string&)’ cannot be overloaded with ‘static std::optional<float> Utils::GetOptionalJsonMember(const object&, const string&)’ static std::optional<int> GetOptionalJsonMember( ^~~~~~~~~~~~~~~~~~~~~ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:111:33: note: previous declaration ‘static std::optional<float> Utils::GetOptionalJsonMember(const object&, const string&)’ static std::optional<float> GetOptionalJsonMember( ^~~~~~~~~~~~~~~~~~~~~ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:153:20: error: too many template-parameter-lists static T const GetMandatoryJsonMember( ^~~~~~~~~~~~~~~~~~~~~~ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:246:24: error: too many template-parameter-lists static std::string Join(TIterable const & elements, std::string const & separator) ^~~~ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h: In static member function ‘static std::optional<float> Utils::GetOptionalJsonMember(const object&, const string&)’: /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:115:63: error: no matching function for call to ‘Utils::GetOptionalJsonMember<double>(const object&, const string&)’ auto r = GetOptionalJsonMember<double>(obj, memberName); ^ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:42:14: note: candidate: ‘template<class T> static T Utils::GetOptionalJsonMember(const object&, const string&, const T&)’ static T GetOptionalJsonMember( ^~~~~~~~~~~~~~~~~~~~~ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:42:14: note: template argument deduction/substitution failed: /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:115:63: note: candidate expects 3 arguments, 2 provided auto r = GetOptionalJsonMember<double>(obj, memberName); ^ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h: In static member function ‘static std::optional<int> Utils::GetOptionalJsonMember(const object&, const string&)’: /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:127:64: error: no matching function for call to ‘Utils::GetOptionalJsonMember<int64_t>(const object&, const string&)’ auto r = GetOptionalJsonMember<int64_t>(obj, memberName); ^ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:42:14: note: candidate: ‘template<class T> static T Utils::GetOptionalJsonMember(const object&, const string&, const T&)’ static T GetOptionalJsonMember( ^~~~~~~~~~~~~~~~~~~~~ /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:42:14: note: template argument deduction/substitution failed: /home/h6899/Documents/src/Floating-Sandbox/GameCore/Utils.h:127:64: note: candidate expects 3 arguments, 2 provided auto r = GetOptionalJsonMember<int64_t>(obj, memberName); ^ make[2]: *** [GameCore/CMakeFiles/GameCoreLib.dir/build.make:102: GameCore/CMakeFiles/GameCoreLib.dir/GameTypes.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [GameCore/CMakeFiles/GameCoreLib.dir/build.make:154: GameCore/CMakeFiles/GameCoreLib.dir/Utils.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:264: GameCore/CMakeFiles/GameCoreLib.dir/all] Error 2 make: *** [Makefile:130: all] Error 2