Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ====================[ Build | sandbox | Debug ]=================================
- /home/nikee/.local/share/JetBrains/Toolbox/apps/clion/bin/cmake/linux/x64/bin/cmake --build /home/nikee/dev/snow/cmake-build-debug --target sandbox -- -j 3
- [ 16%] Built target glad
- [ 66%] Built target snow
- [ 75%] Linking CXX executable sandbox
- /usr/bin/ld: ../snow/libsnow.a(Application.cpp.o): warning: relocation against `glad_glClearColor' in read-only section `.text'
- /usr/bin/ld: ../snow/libsnow.a(Application.cpp.o): in function `Application::loop()':
- /home/nikee/dev/snow/snow/src/core/Application.cpp:60:(.text+0x4de): undefined reference to `glad_glClearColor'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Application.cpp:62:(.text+0x5ab): undefined reference to `glad_glClear'
- /usr/bin/ld: ../snow/libsnow.a(Application.cpp.o): in function `Application::~Application()':
- /home/nikee/dev/snow/snow/src/core/Application.cpp:96:(.text+0x702): undefined reference to `glad_glDeleteProgram'
- /usr/bin/ld: ../snow/libsnow.a(Shader.cpp.o): in function `Shader::Shader(char const*, char const*)':
- /home/nikee/dev/snow/snow/src/core/Shader.cpp:43:(.text+0x255): undefined reference to `glad_glCreateShader'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:44:(.text+0x269): undefined reference to `glad_glShaderSource'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:45:(.text+0x28c): undefined reference to `glad_glCompileShader'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:47:(.text+0x29d): undefined reference to `glad_glGetShaderiv'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:51:(.text+0x2c4): undefined reference to `glad_glGetShaderInfoLog'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:59:(.text+0x32a): undefined reference to `glad_glCreateShader'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:60:(.text+0x33e): undefined reference to `glad_glShaderSource'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:61:(.text+0x361): undefined reference to `glad_glCompileShader'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:63:(.text+0x372): undefined reference to `glad_glGetShaderiv'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:67:(.text+0x399): undefined reference to `glad_glGetShaderInfoLog'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:75:(.text+0x3ff): undefined reference to `glad_glCreateProgram'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:76:(.text+0x411): undefined reference to `glad_glAttachShader'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:77:(.text+0x42d): undefined reference to `glad_glAttachShader'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:78:(.text+0x449): undefined reference to `glad_glLinkProgram'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:80:(.text+0x45d): undefined reference to `glad_glGetProgramiv'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:83:(.text+0x487): undefined reference to `glad_glGetProgramInfoLog'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:87:(.text+0x4f0): undefined reference to `glad_glDeleteShader'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:88:(.text+0x501): undefined reference to `glad_glDeleteShader'
- /usr/bin/ld: ../snow/libsnow.a(Shader.cpp.o): in function `Shader::use() const':
- /home/nikee/dev/snow/snow/src/core/Shader.cpp:94:(.text+0x679): undefined reference to `glad_glUseProgram'
- /usr/bin/ld: ../snow/libsnow.a(Shader.cpp.o): in function `Shader::setBool(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) const':
- /home/nikee/dev/snow/snow/src/core/Shader.cpp:99:(.text+0x6a7): undefined reference to `glad_glUniform1i'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:99:(.text+0x6b2): undefined reference to `glad_glGetUniformLocation'
- /usr/bin/ld: ../snow/libsnow.a(Shader.cpp.o): in function `Shader::setInt(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) const':
- /home/nikee/dev/snow/snow/src/core/Shader.cpp:104:(.text+0x6ff): undefined reference to `glad_glUniform1i'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:104:(.text+0x706): undefined reference to `glad_glGetUniformLocation'
- /usr/bin/ld: ../snow/libsnow.a(Shader.cpp.o): in function `Shader::setFloat(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float) const':
- /home/nikee/dev/snow/snow/src/core/Shader.cpp:109:(.text+0x757): undefined reference to `glad_glUniform1f'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:109:(.text+0x75e): undefined reference to `glad_glGetUniformLocation'
- /usr/bin/ld: ../snow/libsnow.a(Shader.cpp.o): in function `Shader::setVec2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, glm::vec<2, float, (glm::qualifier)0> const&) const':
- /home/nikee/dev/snow/snow/src/core/Shader.cpp:114:(.text+0x7b2): undefined reference to `glad_glUniform2fv'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:114:(.text+0x7cd): undefined reference to `glad_glGetUniformLocation'
- /usr/bin/ld: ../snow/libsnow.a(Shader.cpp.o): in function `Shader::setVec2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float, float) const':
- /home/nikee/dev/snow/snow/src/core/Shader.cpp:118:(.text+0x826): undefined reference to `glad_glUniform2f'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:118:(.text+0x82d): undefined reference to `glad_glGetUniformLocation'
- /usr/bin/ld: ../snow/libsnow.a(Shader.cpp.o): in function `Shader::setVec3(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, glm::vec<3, float, (glm::qualifier)0> const&) const':
- /home/nikee/dev/snow/snow/src/core/Shader.cpp:123:(.text+0x88a): undefined reference to `glad_glUniform3fv'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:123:(.text+0x8a5): undefined reference to `glad_glGetUniformLocation'
- /usr/bin/ld: ../snow/libsnow.a(Shader.cpp.o): in function `Shader::setVec3(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float, float, float) const':
- /home/nikee/dev/snow/snow/src/core/Shader.cpp:127:(.text+0x903): undefined reference to `glad_glUniform3f'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:127:(.text+0x90a): undefined reference to `glad_glGetUniformLocation'
- /usr/bin/ld: ../snow/libsnow.a(Shader.cpp.o): in function `Shader::setVec4(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, glm::vec<4, float, (glm::qualifier)0> const&) const':
- /home/nikee/dev/snow/snow/src/core/Shader.cpp:132:(.text+0x96e): undefined reference to `glad_glUniform4fv'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:132:(.text+0x989): undefined reference to `glad_glGetUniformLocation'
- /usr/bin/ld: ../snow/libsnow.a(Shader.cpp.o): in function `Shader::setVec4(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float, float, float, float) const':
- /home/nikee/dev/snow/snow/src/core/Shader.cpp:136:(.text+0x9ec): undefined reference to `glad_glUniform4f'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:136:(.text+0x9f3): undefined reference to `glad_glGetUniformLocation'
- /usr/bin/ld: ../snow/libsnow.a(Shader.cpp.o): in function `Shader::setMat2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, glm::mat<2, 2, float, (glm::qualifier)0> const&) const':
- /home/nikee/dev/snow/snow/src/core/Shader.cpp:141:(.text+0xa60): undefined reference to `glad_glUniformMatrix2fv'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:141:(.text+0xa88): undefined reference to `glad_glGetUniformLocation'
- /usr/bin/ld: ../snow/libsnow.a(Shader.cpp.o): in function `Shader::setMat3(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, glm::mat<3, 3, float, (glm::qualifier)0> const&) const':
- /home/nikee/dev/snow/snow/src/core/Shader.cpp:146:(.text+0xae2): undefined reference to `glad_glUniformMatrix3fv'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:146:(.text+0xb0a): undefined reference to `glad_glGetUniformLocation'
- /usr/bin/ld: ../snow/libsnow.a(Shader.cpp.o): in function `Shader::setMat4(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, glm::mat<4, 4, float, (glm::qualifier)0> const&) const':
- /home/nikee/dev/snow/snow/src/core/Shader.cpp:151:(.text+0xb64): undefined reference to `glad_glUniformMatrix4fv'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:151:(.text+0xb8c): undefined reference to `glad_glGetUniformLocation'
- /usr/bin/ld: ../snow/libsnow.a(Shader.cpp.o): in function `Shader::setMat42QuatCast(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, glm::qua<float, (glm::qualifier)0> const&) const':
- /home/nikee/dev/snow/snow/src/core/Shader.cpp:156:(.text+0xbf8): undefined reference to `glad_glUniformMatrix4fv'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Shader.cpp:156:(.text+0xc36): undefined reference to `glad_glGetUniformLocation'
- /usr/bin/ld: ../snow/libsnow.a(Window.cpp.o): in function `framebuffer_size_callback(GLFWwindow*, int, int)':
- /home/nikee/dev/snow/snow/src/core/Window.cpp:5:(.text+0x15): undefined reference to `glad_glViewport'
- /usr/bin/ld: ../snow/libsnow.a(Window.cpp.o): in function `Window::Window(char const*, glm::vec<2, float, (glm::qualifier)0>)':
- /home/nikee/dev/snow/snow/src/core/Window.cpp:33:(.text+0x13a): undefined reference to `gladLoadGLLoader'
- /usr/bin/ld: ../snow/libsnow.a(Camera.cpp.o): in function `Camera::update(glm::vec<2, float, (glm::qualifier)0>) const':
- /home/nikee/dev/snow/snow/src/core/Camera.cpp:18:(.text+0x106): undefined reference to `glad_glMatrixMode'
- /usr/bin/ld: /home/nikee/dev/snow/snow/src/core/Camera.cpp:19:(.text+0x114): undefined reference to `glad_glLoadMatrixf'
- /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
- collect2: error: ld returned 1 exit status
- make[3]: *** [sandbox/CMakeFiles/sandbox.dir/build.make:132: sandbox/sandbox] Error 1
- make[2]: *** [CMakeFiles/Makefile2:145: sandbox/CMakeFiles/sandbox.dir/all] Error 2
- make[1]: *** [CMakeFiles/Makefile2:152: sandbox/CMakeFiles/sandbox.dir/rule] Error 2
- make: *** [Makefile:137: sandbox] Error 2
Add Comment
Please, Sign In to add comment