Giter VIP home page Giter VIP logo

cg_labs's People

Contributors

erikprantare avatar husenap avatar jos-rosenqvist-3812 avatar marcusklang avatar michaeldoggett avatar oskardamkjaer avatar pierremoreau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cg_labs's Issues

Upgrading ImGui to the docking branch

It would be nice to upgrade ImGui to the docking branch, what do you think?

I've tested it both on Windows(Natively and through WSL) and on Linux.
It works fine on both OpenGL 4.1 and OpenGL 3.3.
I'm not able to test it on OSX though since I don't have a Mac.

I think just enabling the docking is enough to make it worth it and would probably work on all platforms without any issues.

Here's a screenshot:
image

The texture change to src/core/node.cpp breaks textureless objects.

As the title says. Not all OpenGL implementations (possibly even not any?) reset unset uniforms to all zeroes between render calls, so the new has_{texture_name} variables are basically useless. So far I've seen this problem occur on the lab computers and on my Macbook Pro.

Originally posted by @4onen in eca0cdf#commitcomment-30892214

Screenshots of issue: https://imgur.com/a/jd8gKHE

To correct this, the only thing I can think of is a global set of texture names, so that the glUniform1i for each texture name can be reset to false on each object. But that's inefficient as heck!

Perhaps another "fix" could be to warn students of this particular behaviour of OpenGL in advance?

Another option is to remove the has_texture variables entirely, so that any shader program is forced to run with or without textures. This would also necessitate explaining that textures will stick around in the GL_TEXTUREn units, thanks to the state machine, so that people aren't confused by the texture system's behaviour.

Your call, of course.

Can't get to build on either Linux or Windows

My folder structure:

CG_Labs
├── build
└── ...

I used the command

cd build; cmake ../

Output:

-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so  
-- As GLFW was not found on your computer, we will fetch it from the source.
-- As Dear ImGUI was not found on your computer, we will fetch it from the source.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/erb/Programming/C++/CG_Labs/build

Looked fine, then tried:

cmake --build .

Output:

Scanning dependencies of target glfw
[  3%] Creating directories for 'glfw'
[  6%] Performing download step (git clone) for 'glfw'
Cloning into 'glfw'...
Note: checking out '3.2.1'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 999f355... Documentation work
[  9%] No patch step for 'glfw'
[ 12%] Performing update step for 'glfw'
[ 15%] Performing configure step for 'glfw'
-- The C compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Could NOT find Vulkan (missing:  VULKAN_LIBRARY VULKAN_INCLUDE_DIR) 
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
-- Using X11 for window creation
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so
-- Looking for XOpenDisplay in /usr/lib/x86_64-linux-gnu/libX11.so;/usr/lib/x86_64-linux-gnu/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/erb/Programming/C++/CG_Labs/build/glfw/build
[ 18%] Performing build step for 'glfw'
Scanning dependencies of target glfw
[  1%] Building C object src/CMakeFiles/glfw.dir/context.c.o
[  1%] Building C object src/CMakeFiles/glfw.dir/init.c.o
[  2%] Building C object src/CMakeFiles/glfw.dir/input.c.o
[  3%] Building C object src/CMakeFiles/glfw.dir/monitor.c.o
[  4%] Building C object src/CMakeFiles/glfw.dir/vulkan.c.o
[  5%] Building C object src/CMakeFiles/glfw.dir/window.c.o
[  6%] Building C object src/CMakeFiles/glfw.dir/x11_init.c.o
[  7%] Building C object src/CMakeFiles/glfw.dir/x11_monitor.c.o
[  8%] Building C object src/CMakeFiles/glfw.dir/x11_window.c.o
[  9%] Building C object src/CMakeFiles/glfw.dir/xkb_unicode.c.o
[ 10%] Building C object src/CMakeFiles/glfw.dir/linux_joystick.c.o
[ 11%] Building C object src/CMakeFiles/glfw.dir/posix_time.c.o
[ 12%] Building C object src/CMakeFiles/glfw.dir/posix_tls.c.o
[ 13%] Building C object src/CMakeFiles/glfw.dir/glx_context.c.o
[ 14%] Building C object src/CMakeFiles/glfw.dir/egl_context.c.o
[ 15%] Linking C static library libglfw3.a
[ 15%] Built target glfw
Scanning dependencies of target heightmap
[ 16%] Building C object examples/CMakeFiles/heightmap.dir/heightmap.c.o
[ 17%] Building C object examples/CMakeFiles/heightmap.dir/__/deps/glad.c.o
[ 18%] Linking C executable heightmap
[ 18%] Built target heightmap
Scanning dependencies of target gears
[ 19%] Building C object examples/CMakeFiles/gears.dir/gears.c.o
[ 20%] Building C object examples/CMakeFiles/gears.dir/__/deps/glad.c.o
[ 21%] Linking C executable gears
[ 21%] Built target gears
Scanning dependencies of target particles
[ 22%] Building C object examples/CMakeFiles/particles.dir/particles.c.o
[ 23%] Building C object examples/CMakeFiles/particles.dir/__/deps/tinycthread.c.o
[ 24%] Building C object examples/CMakeFiles/particles.dir/__/deps/getopt.c.o
[ 25%] Building C object examples/CMakeFiles/particles.dir/__/deps/glad.c.o
[ 26%] Linking C executable particles
[ 26%] Built target particles
Scanning dependencies of target wave
[ 27%] Building C object examples/CMakeFiles/wave.dir/wave.c.o
[ 28%] Building C object examples/CMakeFiles/wave.dir/__/deps/glad.c.o
[ 29%] Linking C executable wave
[ 29%] Built target wave
Scanning dependencies of target boing
[ 29%] Building C object examples/CMakeFiles/boing.dir/boing.c.o
[ 30%] Building C object examples/CMakeFiles/boing.dir/__/deps/glad.c.o
[ 31%] Linking C executable boing
[ 31%] Built target boing
Scanning dependencies of target simple
[ 32%] Building C object examples/CMakeFiles/simple.dir/simple.c.o
[ 32%] Building C object examples/CMakeFiles/simple.dir/__/deps/glad.c.o
[ 33%] Linking C executable simple
[ 33%] Built target simple
Scanning dependencies of target splitview
[ 34%] Building C object examples/CMakeFiles/splitview.dir/splitview.c.o
[ 35%] Building C object examples/CMakeFiles/splitview.dir/__/deps/glad.c.o
[ 36%] Linking C executable splitview
[ 36%] Built target splitview
Scanning dependencies of target reopen
[ 37%] Building C object tests/CMakeFiles/reopen.dir/reopen.c.o
[ 38%] Building C object tests/CMakeFiles/reopen.dir/__/deps/glad.c.o
[ 39%] Linking C executable reopen
[ 39%] Built target reopen
Scanning dependencies of target joysticks
[ 40%] Building C object tests/CMakeFiles/joysticks.dir/joysticks.c.o
[ 41%] Building C object tests/CMakeFiles/joysticks.dir/__/deps/glad.c.o
[ 42%] Linking C executable joysticks
[ 42%] Built target joysticks
Scanning dependencies of target monitors
[ 43%] Building C object tests/CMakeFiles/monitors.dir/monitors.c.o
[ 44%] Building C object tests/CMakeFiles/monitors.dir/__/deps/getopt.c.o
[ 45%] Building C object tests/CMakeFiles/monitors.dir/__/deps/glad.c.o
[ 46%] Linking C executable monitors
[ 46%] Built target monitors
Scanning dependencies of target iconify
[ 47%] Building C object tests/CMakeFiles/iconify.dir/iconify.c.o
[ 47%] Building C object tests/CMakeFiles/iconify.dir/__/deps/getopt.c.o
[ 48%] Building C object tests/CMakeFiles/iconify.dir/__/deps/glad.c.o
[ 49%] Linking C executable iconify
[ 49%] Built target iconify
Scanning dependencies of target glfwinfo
[ 50%] Building C object tests/CMakeFiles/glfwinfo.dir/glfwinfo.c.o
[ 51%] Building C object tests/CMakeFiles/glfwinfo.dir/__/deps/getopt.c.o
[ 52%] Building C object tests/CMakeFiles/glfwinfo.dir/__/deps/glad.c.o
[ 53%] Linking C executable glfwinfo
[ 53%] Built target glfwinfo
Scanning dependencies of target gamma
[ 54%] Building C object tests/CMakeFiles/gamma.dir/gamma.c.o
[ 55%] Building C object tests/CMakeFiles/gamma.dir/__/deps/getopt.c.o
[ 56%] Building C object tests/CMakeFiles/gamma.dir/__/deps/glad.c.o
[ 57%] Linking C executable gamma
[ 57%] Built target gamma
Scanning dependencies of target icon
[ 58%] Building C object tests/CMakeFiles/icon.dir/icon.c.o
[ 59%] Building C object tests/CMakeFiles/icon.dir/__/deps/glad.c.o
[ 60%] Linking C executable icon
[ 60%] Built target icon
Scanning dependencies of target tearing
[ 61%] Building C object tests/CMakeFiles/tearing.dir/tearing.c.o
[ 62%] Building C object tests/CMakeFiles/tearing.dir/__/deps/getopt.c.o
[ 63%] Building C object tests/CMakeFiles/tearing.dir/__/deps/glad.c.o
[ 64%] Linking C executable tearing
[ 64%] Built target tearing
Scanning dependencies of target empty
[ 65%] Building C object tests/CMakeFiles/empty.dir/empty.c.o
[ 66%] Building C object tests/CMakeFiles/empty.dir/__/deps/tinycthread.c.o
[ 67%] Building C object tests/CMakeFiles/empty.dir/__/deps/glad.c.o
[ 68%] Linking C executable empty
[ 68%] Built target empty
Scanning dependencies of target cursor
[ 69%] Building C object tests/CMakeFiles/cursor.dir/cursor.c.o
[ 70%] Building C object tests/CMakeFiles/cursor.dir/__/deps/glad.c.o
[ 71%] Linking C executable cursor
[ 71%] Built target cursor
Scanning dependencies of target threads
[ 72%] Building C object tests/CMakeFiles/threads.dir/threads.c.o
[ 73%] Building C object tests/CMakeFiles/threads.dir/__/deps/tinycthread.c.o
[ 74%] Building C object tests/CMakeFiles/threads.dir/__/deps/glad.c.o
[ 75%] Linking C executable threads
[ 75%] Built target threads
Scanning dependencies of target clipboard
[ 76%] Building C object tests/CMakeFiles/clipboard.dir/clipboard.c.o
[ 77%] Building C object tests/CMakeFiles/clipboard.dir/__/deps/getopt.c.o
[ 78%] Building C object tests/CMakeFiles/clipboard.dir/__/deps/glad.c.o
[ 79%] Linking C executable clipboard
[ 79%] Built target clipboard
Scanning dependencies of target title
[ 80%] Building C object tests/CMakeFiles/title.dir/title.c.o
[ 81%] Building C object tests/CMakeFiles/title.dir/__/deps/glad.c.o
[ 82%] Linking C executable title
[ 82%] Built target title
Scanning dependencies of target sharing
[ 83%] Building C object tests/CMakeFiles/sharing.dir/sharing.c.o
[ 84%] Building C object tests/CMakeFiles/sharing.dir/__/deps/glad.c.o
[ 85%] Linking C executable sharing
[ 85%] Built target sharing
Scanning dependencies of target windows
[ 86%] Building C object tests/CMakeFiles/windows.dir/windows.c.o
[ 87%] Building C object tests/CMakeFiles/windows.dir/__/deps/getopt.c.o
[ 88%] Building C object tests/CMakeFiles/windows.dir/__/deps/glad.c.o
[ 89%] Linking C executable windows
[ 89%] Built target windows
Scanning dependencies of target events
[ 90%] Building C object tests/CMakeFiles/events.dir/events.c.o
[ 91%] Building C object tests/CMakeFiles/events.dir/__/deps/getopt.c.o
[ 92%] Building C object tests/CMakeFiles/events.dir/__/deps/glad.c.o
[ 93%] Linking C executable events
[ 93%] Built target events
Scanning dependencies of target msaa
[ 94%] Building C object tests/CMakeFiles/msaa.dir/msaa.c.o
[ 95%] Building C object tests/CMakeFiles/msaa.dir/__/deps/getopt.c.o
[ 96%] Building C object tests/CMakeFiles/msaa.dir/__/deps/glad.c.o
[ 97%] Linking C executable msaa
[ 97%] Built target msaa
Scanning dependencies of target timeout
[ 98%] Building C object tests/CMakeFiles/timeout.dir/timeout.c.o
[ 99%] Building C object tests/CMakeFiles/timeout.dir/__/deps/glad.c.o
[100%] Linking C executable timeout
[100%] Built target timeout
[ 21%] Performing install step for 'glfw'
[ 15%] Built target glfw
[ 18%] Built target heightmap
[ 21%] Built target gears
[ 26%] Built target particles
[ 29%] Built target wave
[ 31%] Built target boing
[ 33%] Built target simple
[ 36%] Built target splitview
[ 39%] Built target reopen
[ 42%] Built target joysticks
[ 46%] Built target monitors
[ 49%] Built target iconify
[ 53%] Built target glfwinfo
[ 57%] Built target gamma
[ 60%] Built target icon
[ 64%] Built target tearing
[ 68%] Built target empty
[ 71%] Built target cursor
[ 75%] Built target threads
[ 79%] Built target clipboard
[ 82%] Built target title
[ 85%] Built target sharing
[ 89%] Built target windows
[ 93%] Built target events
[ 97%] Built target msaa
[100%] Built target timeout
Install the project...
-- Install configuration: ""
-- Installing: /home/erb/Programming/C++/CG_Labs/build/glfw/include/GLFW
-- Installing: /home/erb/Programming/C++/CG_Labs/build/glfw/include/GLFW/glfw3.h
-- Installing: /home/erb/Programming/C++/CG_Labs/build/glfw/include/GLFW/glfw3native.h
-- Installing: /home/erb/Programming/C++/CG_Labs/build/glfw/lib/cmake/glfw3/glfw3Config.cmake
-- Installing: /home/erb/Programming/C++/CG_Labs/build/glfw/lib/cmake/glfw3/glfw3ConfigVersion.cmake
-- Installing: /home/erb/Programming/C++/CG_Labs/build/glfw/lib/cmake/glfw3/glfw3Targets.cmake
-- Installing: /home/erb/Programming/C++/CG_Labs/build/glfw/lib/cmake/glfw3/glfw3Targets-noconfig.cmake
-- Installing: /home/erb/Programming/C++/CG_Labs/build/glfw/lib/pkgconfig/glfw3.pc
-- Installing: /home/erb/Programming/C++/CG_Labs/build/glfw/lib/libglfw3.a
[ 24%] Completed 'glfw'
[ 24%] Built target glfw
Scanning dependencies of target imgui
[ 27%] Creating directories for 'imgui'
[ 30%] Performing download step (git clone) for 'imgui'
Cloning into 'imgui'...
Note: checking out 'v1.46'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 72dde4d... Version 1.46
[ 33%] No patch step for 'imgui'
[ 36%] Performing update step for 'imgui'
[ 39%] Performing configure step for 'imgui'
-- The CXX compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/erb/Programming/C++/CG_Labs/build/imgui/build
[ 42%] Performing build step for 'imgui'
Scanning dependencies of target imgui
[ 33%] Building CXX object CMakeFiles/imgui.dir/imgui.cpp.o
/home/erb/Programming/C++/CG_Labs/build/imgui/src/imgui/imgui.cpp: In function ‘bool ImGui::ColorEdit4(const char*, float*, bool)’:
/home/erb/Programming/C++/CG_Labs/build/imgui/src/imgui/imgui.cpp:8484:193: warning: too many arguments for format [-Wformat-extra-args]
         ImGui::SetTooltip("Color:\n(%.2f,%.2f,%.2f,%.2f)\n#%08X", col[0], col[1], col[2], col[3], IM_F32_TO_INT8(col[0]), IM_F32_TO_INT8(col[1]), IM_F32_TO_INT8(col[2]), IM_F32_TO_INT8(col[3]));
                                                                                                                                                                                                 ^
[ 66%] Building CXX object CMakeFiles/imgui.dir/imgui_draw.cpp.o
[100%] Linking CXX static library libimgui.a
[100%] Built target imgui
[ 45%] Performing install step for 'imgui'
[100%] Built target imgui
Install the project...
-- Install configuration: ""
-- Installing: /home/erb/Programming/C++/CG_Labs/build/imgui/lib/libimgui.a
-- Installing: /home/erb/Programming/C++/CG_Labs/build/imgui/include/imgui.h
-- Installing: /home/erb/Programming/C++/CG_Labs/build/imgui/include/imgui_internal.h
-- Installing: /home/erb/Programming/C++/CG_Labs/build/imgui/include/imconfig.h
-- Installing: /home/erb/Programming/C++/CG_Labs/build/imgui/include/stb_rect_pack.h
-- Installing: /home/erb/Programming/C++/CG_Labs/build/imgui/include/stb_textedit.h
-- Installing: /home/erb/Programming/C++/CG_Labs/build/imgui/include/stb_truetype.h
[ 48%] Completed 'imgui'
[ 48%] Built target imgui
Scanning dependencies of target project_dep
[ 48%] Built target project_dep
Scanning dependencies of target external_libs
[ 51%] Building C object src/external/CMakeFiles/external_libs.dir/glad.c.o
[ 54%] Building CXX object src/external/CMakeFiles/external_libs.dir/imgui_impl_glfw_gl3.cpp.o
[ 57%] Building CXX object src/external/CMakeFiles/external_libs.dir/lodepng.cpp.o
[ 60%] Linking CXX static library libexternal_libs.a
[ 60%] Built target external_libs
Scanning dependencies of target bonobo
[ 63%] Building CXX object src/core/CMakeFiles/bonobo.dir/Bonobo.cpp.o
[ 66%] Building CXX object src/core/CMakeFiles/bonobo.dir/InputHandler.cpp.o
[ 69%] Building CXX object src/core/CMakeFiles/bonobo.dir/Log.cpp.o
[ 72%] Building CXX object src/core/CMakeFiles/bonobo.dir/LogView.cpp.o
/home/erb/Programming/C++/CG_Labs/src/core/LogView.cpp: In static member function ‘static void Log::View::Render()’:
/home/erb/Programming/C++/CG_Labs/src/core/LogView.cpp:61:28: warning: format not a string literal and no format arguments [-Wformat-security]
  ImGui::TextWrapped(mOutput);
                            ^
[ 75%] Building CXX object src/core/CMakeFiles/bonobo.dir/Misc.cpp.o
[ 78%] Building CXX object src/core/CMakeFiles/bonobo.dir/opengl.cpp.o
[ 81%] Building CXX object src/core/CMakeFiles/bonobo.dir/Types.cpp.o
[ 84%] Building CXX object src/core/CMakeFiles/bonobo.dir/various.cpp.o
[ 87%] Building CXX object src/core/CMakeFiles/bonobo.dir/Window.cpp.o
[ 90%] Linking CXX static library libbonobo.a
[ 90%] Built target bonobo
Scanning dependencies of target EDA221_Assignment1
[ 93%] Building CXX object src/EDA221_Assignment1/CMakeFiles/EDA221_Assignment1.dir/main.cpp.o
[ 96%] Building CXX object src/EDA221_Assignment1/CMakeFiles/EDA221_Assignment1.dir/SolarSystem.cpp.o
/home/erb/Programming/C++/CG_Labs/src/EDA221_Assignment1/SolarSystem.cpp: In member function ‘glm::mat4x4 Node::get_transform() const’:
/home/erb/Programming/C++/CG_Labs/src/EDA221_Assignment1/SolarSystem.cpp:219:13: warning: variable ‘scaling’ set but not used [-Wunused-but-set-variable]
  auto const scaling =  glm::scale(glm::mat4(), _scaling);
             ^
/home/erb/Programming/C++/CG_Labs/src/EDA221_Assignment1/SolarSystem.cpp:224:13: warning: variable ‘rotating’ set but not used [-Wunused-but-set-variable]
  auto const rotating = rotation_z * rotation_y * rotation_x;
             ^
/home/erb/Programming/C++/CG_Labs/src/EDA221_Assignment1/SolarSystem.cpp: In member function ‘void SolarSystem::run()’:
/home/erb/Programming/C++/CG_Labs/src/EDA221_Assignment1/SolarSystem.cpp:387:15: warning: variable ‘parent_matrix’ set but not used [-Wunused-but-set-variable]
    auto const parent_matrix = matrix_stack.top();
               ^
/home/erb/Programming/C++/CG_Labs/src/EDA221_Assignment1/SolarSystem.cpp:326:7: warning: unused variable ‘sun_texture’ [-Wunused-variable]
  auto sun_texture = loadTexture2D("sunmap.png");
       ^
[100%] Linking CXX executable EDA221_Assignment1
../external/libexternal_libs.a(glad.c.o): In function `gladLoadGLLoader.part.1.constprop.3':
glad.c:(.text+0x3efe): undefined reference to `dlsym'
glad.c:(.text+0x3f16): undefined reference to `dlsym'
glad.c:(.text+0x3f36): undefined reference to `dlsym'
glad.c:(.text+0x3f56): undefined reference to `dlsym'
glad.c:(.text+0x3f76): undefined reference to `dlsym'
../external/libexternal_libs.a(glad.c.o):glad.c:(.text+0x3f96): more undefined references to `dlsym' follow
../external/libexternal_libs.a(glad.c.o): In function `gladLoadGL':
glad.c:(.text+0x445c): undefined reference to `dlopen'
glad.c:(.text+0x4477): undefined reference to `dlopen'
glad.c:(.text+0x4499): undefined reference to `dlsym'
glad.c:(.text+0x44f5): undefined reference to `dlclose'
glad.c:(.text+0x4521): undefined reference to `dlsym'
../external/libexternal_libs.a(glad.c.o): In function `get_proc':
glad.c:(.text+0x1335): undefined reference to `dlsym'
../../glfw/lib/libglfw3.a(vulkan.c.o): In function `_glfwInitVulkan':
vulkan.c:(.text+0x4a): undefined reference to `dlopen'
vulkan.c:(.text+0x95): undefined reference to `dlsym'
../../glfw/lib/libglfw3.a(vulkan.c.o): In function `_glfwTerminateVulkan':
vulkan.c:(.text+0x496): undefined reference to `dlclose'
../../glfw/lib/libglfw3.a(vulkan.c.o): In function `glfwGetInstanceProcAddress':
vulkan.c:(.text+0x803): undefined reference to `dlsym'
../../glfw/lib/libglfw3.a(x11_init.c.o): In function `translateKeyCode':
x11_init.c:(.text+0x6a): undefined reference to `XkbKeycodeToKeysym'
x11_init.c:(.text+0x14a): undefined reference to `XkbKeycodeToKeysym'
x11_init.c:(.text+0x177): undefined reference to `XGetKeyboardMapping'
x11_init.c:(.text+0x191): undefined reference to `XFree'
../../glfw/lib/libglfw3.a(x11_init.c.o): In function `createKeyTables':
x11_init.c:(.text+0xc3e): undefined reference to `XkbGetMap'
x11_init.c:(.text+0xc61): undefined reference to `XkbGetNames'
x11_init.c:(.text+0x137e): undefined reference to `XkbFreeNames'
x11_init.c:(.text+0x1394): undefined reference to `XkbFreeKeyboard'
../../glfw/lib/libglfw3.a(x11_init.c.o): In function `hasUsableInputMethodStyle':
x11_init.c:(.text+0x14ac): undefined reference to `XGetIMValues'
x11_init.c:(.text+0x1506): undefined reference to `XFree'
../../glfw/lib/libglfw3.a(x11_init.c.o): In function `getSupportedAtom':
x11_init.c:(.text+0x1555): undefined reference to `XInternAtom'
../../glfw/lib/libglfw3.a(x11_init.c.o): In function `detectEWMH':
x11_init.c:(.text+0x15e4): undefined reference to `XInternAtom'
x11_init.c:(.text+0x160a): undefined reference to `XInternAtom'
x11_init.c:(.text+0x1653): undefined reference to `XFree'
x11_init.c:(.text+0x168e): undefined reference to `XFree'
x11_init.c:(.text+0x16a7): undefined reference to `XFree'
x11_init.c:(.text+0x16d0): undefined reference to `XFree'
x11_init.c:(.text+0x16dc): undefined reference to `XFree'
../../glfw/lib/libglfw3.a(x11_init.c.o):x11_init.c:(.text+0x16ed): more undefined references to `XFree' follow
../../glfw/lib/libglfw3.a(x11_init.c.o): In function `initExtensions':
x11_init.c:(.text+0x196d): undefined reference to `XF86VidModeQueryExtension'
x11_init.c:(.text+0x19ae): undefined reference to `XRRQueryExtension'
x11_init.c:(.text+0x19e8): undefined reference to `XRRQueryVersion'
x11_init.c:(.text+0x1a75): undefined reference to `XRRGetScreenResources'
x11_init.c:(.text+0x1aa8): undefined reference to `XRRGetCrtcGammaSize'
x11_init.c:(.text+0x1adf): undefined reference to `XRRFreeScreenResources'
x11_init.c:(.text+0x1b0b): undefined reference to `XRRSelectInput'
x11_init.c:(.text+0x1b3d): undefined reference to `XineramaQueryExtension'
x11_init.c:(.text+0x1b57): undefined reference to `XineramaIsActive'
x11_init.c:(.text+0x1bea): undefined reference to `XkbQueryExtension'
x11_init.c:(.text+0x1c29): undefined reference to `XkbSetDetectableAutoRepeat'
x11_init.c:(.text+0x1c56): undefined reference to `dlopen'
x11_init.c:(.text+0x1c97): undefined reference to `dlsym'
x11_init.c:(.text+0x1cd4): undefined reference to `XInternAtom'
x11_init.c:(.text+0x1d07): undefined reference to `XInternAtom'
x11_init.c:(.text+0x1d3a): undefined reference to `XInternAtom'
x11_init.c:(.text+0x1d6d): undefined reference to `XInternAtom'
x11_init.c:(.text+0x1da0): undefined reference to `XInternAtom'
../../glfw/lib/libglfw3.a(x11_init.c.o):x11_init.c:(.text+0x1dd3): more undefined references to `XInternAtom' follow
../../glfw/lib/libglfw3.a(x11_init.c.o): In function `_glfwGrabErrorHandlerX11':
x11_init.c:(.text+0x2364): undefined reference to `XSetErrorHandler'
../../glfw/lib/libglfw3.a(x11_init.c.o): In function `_glfwReleaseErrorHandlerX11':
x11_init.c:(.text+0x2386): undefined reference to `XSync'
x11_init.c:(.text+0x2390): undefined reference to `XSetErrorHandler'
../../glfw/lib/libglfw3.a(x11_init.c.o): In function `_glfwInputErrorX11':
x11_init.c:(.text+0x23e9): undefined reference to `XGetErrorText'
../../glfw/lib/libglfw3.a(x11_init.c.o): In function `_glfwCreateCursorX11':
x11_init.c:(.text+0x244f): undefined reference to `XcursorImageCreate'
x11_init.c:(.text+0x257c): undefined reference to `XcursorImageLoadCursor'
x11_init.c:(.text+0x258c): undefined reference to `XcursorImageDestroy'
../../glfw/lib/libglfw3.a(x11_init.c.o): In function `_glfwPlatformInit':
x11_init.c:(.text+0x259f): undefined reference to `XInitThreads'
x11_init.c:(.text+0x25a9): undefined reference to `XOpenDisplay'
x11_init.c:(.text+0x2686): undefined reference to `XrmUniqueQuark'
x11_init.c:(.text+0x26c3): undefined reference to `XSupportsLocale'
x11_init.c:(.text+0x26d7): undefined reference to `XSetLocaleModifiers'
x11_init.c:(.text+0x26fc): undefined reference to `XOpenIM'
x11_init.c:(.text+0x273f): undefined reference to `XCloseIM'
../../glfw/lib/libglfw3.a(x11_init.c.o): In function `_glfwPlatformTerminate':
x11_init.c:(.text+0x27aa): undefined reference to `dlclose'
x11_init.c:(.text+0x27f6): undefined reference to `XFreeCursor'
x11_init.c:(.text+0x2847): undefined reference to `XCloseIM'
x11_init.c:(.text+0x2887): undefined reference to `XCloseDisplay'
../../glfw/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwSetVideoModeX11':
x11_monitor.c:(.text+0x332): undefined reference to `XRRGetScreenResources'
x11_monitor.c:(.text+0x361): undefined reference to `XRRGetCrtcInfo'
x11_monitor.c:(.text+0x390): undefined reference to `XRRGetOutputInfo'
x11_monitor.c:(.text+0x4be): undefined reference to `XRRSetCrtcConfig'
x11_monitor.c:(.text+0x4ce): undefined reference to `XRRFreeOutputInfo'
x11_monitor.c:(.text+0x4da): undefined reference to `XRRFreeCrtcInfo'
x11_monitor.c:(.text+0x4e6): undefined reference to `XRRFreeScreenResources'
../../glfw/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwRestoreVideoModeX11':
x11_monitor.c:(.text+0x596): undefined reference to `XRRGetScreenResources'
x11_monitor.c:(.text+0x5c2): undefined reference to `XRRGetCrtcInfo'
x11_monitor.c:(.text+0x632): undefined reference to `XRRSetCrtcConfig'
x11_monitor.c:(.text+0x642): undefined reference to `XRRFreeCrtcInfo'
x11_monitor.c:(.text+0x64e): undefined reference to `XRRFreeScreenResources'
../../glfw/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwPlatformGetMonitors':
x11_monitor.c:(.text+0x6e1): undefined reference to `XRRGetScreenResources'
x11_monitor.c:(.text+0x70c): undefined reference to `XRRGetOutputPrimary'
x11_monitor.c:(.text+0x758): undefined reference to `XineramaQueryScreens'
x11_monitor.c:(.text+0x79d): undefined reference to `XRRGetCrtcInfo'
x11_monitor.c:(.text+0x7e2): undefined reference to `XRRGetOutputInfo'
x11_monitor.c:(.text+0x7ff): undefined reference to `XRRFreeOutputInfo'
x11_monitor.c:(.text+0x997): undefined reference to `XRRFreeOutputInfo'
x11_monitor.c:(.text+0xa38): undefined reference to `XRRFreeCrtcInfo'
x11_monitor.c:(.text+0xa58): undefined reference to `XRRFreeScreenResources'
x11_monitor.c:(.text+0xa6b): undefined reference to `XFree'
../../glfw/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwPlatformGetMonitorPos':
x11_monitor.c:(.text+0xbfa): undefined reference to `XRRGetScreenResourcesCurrent'
x11_monitor.c:(.text+0xc26): undefined reference to `XRRGetCrtcInfo'
x11_monitor.c:(.text+0xc5e): undefined reference to `XRRFreeCrtcInfo'
x11_monitor.c:(.text+0xc6a): undefined reference to `XRRFreeScreenResources'
../../glfw/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwPlatformGetVideoModes':
x11_monitor.c:(.text+0xce7): undefined reference to `XRRGetScreenResourcesCurrent'
x11_monitor.c:(.text+0xd13): undefined reference to `XRRGetCrtcInfo'
x11_monitor.c:(.text+0xd3f): undefined reference to `XRRGetOutputInfo'
x11_monitor.c:(.text+0xe82): undefined reference to `XRRFreeOutputInfo'
x11_monitor.c:(.text+0xe8e): undefined reference to `XRRFreeCrtcInfo'
x11_monitor.c:(.text+0xe9a): undefined reference to `XRRFreeScreenResources'
../../glfw/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwPlatformGetVideoMode':
x11_monitor.c:(.text+0xf57): undefined reference to `XRRGetScreenResourcesCurrent'
x11_monitor.c:(.text+0xf83): undefined reference to `XRRGetCrtcInfo'
x11_monitor.c:(.text+0xfdb): undefined reference to `XRRFreeCrtcInfo'
x11_monitor.c:(.text+0xfe7): undefined reference to `XRRFreeScreenResources'
../../glfw/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwPlatformGetGammaRamp':
x11_monitor.c:(.text+0x1136): undefined reference to `XRRGetCrtcGammaSize'
x11_monitor.c:(.text+0x1160): undefined reference to `XRRGetCrtcGamma'
x11_monitor.c:(.text+0x11ec): undefined reference to `XRRFreeGamma'
x11_monitor.c:(.text+0x1230): undefined reference to `XF86VidModeGetGammaRampSize'
x11_monitor.c:(.text+0x1293): undefined reference to `XF86VidModeGetGammaRamp'
../../glfw/lib/libglfw3.a(x11_monitor.c.o): In function `_glfwPlatformSetGammaRamp':
x11_monitor.c:(.text+0x12f2): undefined reference to `XRRAllocGamma'
x11_monitor.c:(.text+0x1395): undefined reference to `XRRSetCrtcGamma'
x11_monitor.c:(.text+0x13a1): undefined reference to `XRRFreeGamma'
x11_monitor.c:(.text+0x1405): undefined reference to `XF86VidModeSetGammaRamp'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `waitForVisibilityNotify':
x11_window.c:(.text+0x3cc): undefined reference to `XCheckTypedWindowEvent'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `getWindowState':
x11_window.c:(.text+0x463): undefined reference to `XFree'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `findWindowByHandle':
x11_window.c:(.text+0x65b): undefined reference to `XFindContext'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `sendEventToWM':
x11_window.c:(.text+0x789): undefined reference to `XSendEvent'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `updateNormalHints':
x11_window.c:(.text+0x7b7): undefined reference to `XAllocSizeHints'
x11_window.c:(.text+0x966): undefined reference to `XSetWMNormalHints'
x11_window.c:(.text+0x972): undefined reference to `XFree'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `updateWindowMode':
x11_window.c:(.text+0xafa): undefined reference to `XChangeWindowAttributes'
x11_window.c:(.text+0xb5d): undefined reference to `XChangeProperty'
x11_window.c:(.text+0xbbf): undefined reference to `XDeleteProperty'
x11_window.c:(.text+0xc6a): undefined reference to `XChangeWindowAttributes'
x11_window.c:(.text+0xcb0): undefined reference to `XDeleteProperty'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `updateCursorImage':
x11_window.c:(.text+0xf75): undefined reference to `XDefineCursor'
x11_window.c:(.text+0xf9b): undefined reference to `XUndefineCursor'
x11_window.c:(.text+0xfcf): undefined reference to `XDefineCursor'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `createNativeWindow':
x11_window.c:(.text+0x1037): undefined reference to `XCreateColormap'
x11_window.c:(.text+0x10e4): undefined reference to `XCreateWindow'
x11_window.c:(.text+0x1164): undefined reference to `XSaveContext'
x11_window.c:(.text+0x11db): undefined reference to `XChangeProperty'
x11_window.c:(.text+0x132d): undefined reference to `XChangeProperty'
x11_window.c:(.text+0x1382): undefined reference to `XSetWMProtocols'
x11_window.c:(.text+0x13da): undefined reference to `XChangeProperty'
x11_window.c:(.text+0x1466): undefined reference to `XChangeProperty'
x11_window.c:(.text+0x146f): undefined reference to `XAllocWMHints'
x11_window.c:(.text+0x14ea): undefined reference to `XSetWMHints'
x11_window.c:(.text+0x14f9): undefined reference to `XFree'
x11_window.c:(.text+0x1534): undefined reference to `XAllocClassHint'
x11_window.c:(.text+0x1594): undefined reference to `XSetClassHint'
x11_window.c:(.text+0x15a3): undefined reference to `XFree'
x11_window.c:(.text+0x160e): undefined reference to `XChangeProperty'
x11_window.c:(.text+0x1699): undefined reference to `XCreateIC'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `writeTargetToProperty':
x11_window.c:(.text+0x1849): undefined reference to `XChangeProperty'
x11_window.c:(.text+0x1984): undefined reference to `XChangeProperty'
x11_window.c:(.text+0x1a0b): undefined reference to `XChangeProperty'
x11_window.c:(.text+0x1a1b): undefined reference to `XFree'
x11_window.c:(.text+0x1a93): undefined reference to `XChangeProperty'
x11_window.c:(.text+0x1b3a): undefined reference to `XChangeProperty'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `handleSelectionRequest':
x11_window.c:(.text+0x1ca4): undefined reference to `XSendEvent'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `pushSelectionToManager':
x11_window.c:(.text+0x1d2a): undefined reference to `XConvertSelection'
x11_window.c:(.text+0x1da9): undefined reference to `XCheckIfEvent'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `acquireMonitor':
x11_window.c:(.text+0x1e51): undefined reference to `XGetScreenSaver'
x11_window.c:(.text+0x1e7c): undefined reference to `XSetScreenSaver'
x11_window.c:(.text+0x1f40): undefined reference to `XMoveResizeWindow'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `releaseMonitor':
x11_window.c:(.text+0x2032): undefined reference to `XSetScreenSaver'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `processEvent':
x11_window.c:(.text+0x2175): undefined reference to `XFilterEvent'
x11_window.c:(.text+0x21b8): undefined reference to `XRRUpdateConfiguration'
x11_window.c:(.text+0x2366): undefined reference to `Xutf8LookupString'
x11_window.c:(.text+0x23d0): undefined reference to `Xutf8LookupString'
x11_window.c:(.text+0x24ad): undefined reference to `XLookupString'
x11_window.c:(.text+0x257c): undefined reference to `XEventsQueued'
x11_window.c:(.text+0x25a0): undefined reference to `XPeekEvent'
x11_window.c:(.text+0x2ced): undefined reference to `XSendEvent'
x11_window.c:(.text+0x2da5): undefined reference to `XConvertSelection'
x11_window.c:(.text+0x2f32): undefined reference to `XSendEvent'
x11_window.c:(.text+0x2f48): undefined reference to `XFlush'
x11_window.c:(.text+0x3046): undefined reference to `XFree'
x11_window.c:(.text+0x310e): undefined reference to `XSendEvent'
x11_window.c:(.text+0x3124): undefined reference to `XFlush'
x11_window.c:(.text+0x319d): undefined reference to `XSetICFocus'
x11_window.c:(.text+0x322a): undefined reference to `XUnsetICFocus'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwGetWindowPropertyX11':
x11_window.c:(.text+0x3420): undefined reference to `XGetWindowProperty'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformCreateWindow':
x11_window.c:(.text+0x3652): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformDestroyWindow':
x11_window.c:(.text+0x36db): undefined reference to `XDestroyIC'
x11_window.c:(.text+0x3749): undefined reference to `XGetSelectionOwner'
x11_window.c:(.text+0x3799): undefined reference to `XDeleteContext'
x11_window.c:(.text+0x37bd): undefined reference to `XUnmapWindow'
x11_window.c:(.text+0x37e1): undefined reference to `XDestroyWindow'
x11_window.c:(.text+0x3824): undefined reference to `XFreeColormap'
x11_window.c:(.text+0x3849): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformSetWindowTitle':
x11_window.c:(.text+0x389b): undefined reference to `Xutf8SetWMProperties'
x11_window.c:(.text+0x38fa): undefined reference to `XChangeProperty'
x11_window.c:(.text+0x3959): undefined reference to `XChangeProperty'
x11_window.c:(.text+0x3973): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformSetWindowIcon':
x11_window.c:(.text+0x3bd3): undefined reference to `XChangeProperty'
x11_window.c:(.text+0x3c17): undefined reference to `XDeleteProperty'
x11_window.c:(.text+0x3c2d): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformGetWindowPos':
x11_window.c:(.text+0x3c9e): undefined reference to `XTranslateCoordinates'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformSetWindowPos':
x11_window.c:(.text+0x3d13): undefined reference to `XAllocSizeHints'
x11_window.c:(.text+0x3d40): undefined reference to `XGetWMNormalHints'
x11_window.c:(.text+0x3d9a): undefined reference to `XSetWMNormalHints'
x11_window.c:(.text+0x3da6): undefined reference to `XFree'
x11_window.c:(.text+0x3dcd): undefined reference to `XMoveWindow'
x11_window.c:(.text+0x3de3): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformGetWindowSize':
x11_window.c:(.text+0x3e57): undefined reference to `XGetWindowAttributes'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformSetWindowSize':
x11_window.c:(.text+0x3f25): undefined reference to `XResizeWindow'
x11_window.c:(.text+0x3f3b): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformSetWindowSizeLimits':
x11_window.c:(.text+0x3fa7): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformSetWindowAspectRatio':
x11_window.c:(.text+0x4020): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformGetWindowFrameSize':
x11_window.c:(.text+0x41c3): undefined reference to `XCheckIfEvent'
x11_window.c:(.text+0x42a7): undefined reference to `XFree'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformIconifyWindow':
x11_window.c:(.text+0x4326): undefined reference to `XIconifyWindow'
x11_window.c:(.text+0x433c): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformRestoreWindow':
x11_window.c:(.text+0x43a7): undefined reference to `XMapWindow'
x11_window.c:(.text+0x4472): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformMaximizeWindow':
x11_window.c:(.text+0x452e): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformShowWindow':
x11_window.c:(.text+0x4571): undefined reference to `XMapWindow'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformHideWindow':
x11_window.c:(.text+0x45b2): undefined reference to `XUnmapWindow'
x11_window.c:(.text+0x45c8): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformFocusWindow':
x11_window.c:(.text+0x464a): undefined reference to `XRaiseWindow'
x11_window.c:(.text+0x4675): undefined reference to `XSetInputFocus'
x11_window.c:(.text+0x468b): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformSetWindowMonitor':
x11_window.c:(.text+0x4718): undefined reference to `XMoveResizeWindow'
x11_window.c:(.text+0x479a): undefined reference to `XMapRaised'
x11_window.c:(.text+0x47ec): undefined reference to `XMoveResizeWindow'
x11_window.c:(.text+0x4802): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformWindowFocused':
x11_window.c:(.text+0x4843): undefined reference to `XGetInputFocus'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformWindowVisible':
x11_window.c:(.text+0x48e3): undefined reference to `XGetWindowAttributes'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformWindowMaximized':
x11_window.c:(.text+0x49d0): undefined reference to `XFree'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformPollEvents':
x11_window.c:(.text+0x4a1e): undefined reference to `XPending'
x11_window.c:(.text+0x4a46): undefined reference to `XNextEvent'
x11_window.c:(.text+0x4aa7): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformWaitEvents':
x11_window.c:(.text+0x4ae4): undefined reference to `XPending'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformWaitEventsTimeout':
x11_window.c:(.text+0x4b25): undefined reference to `XPending'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformPostEmptyEvent':
x11_window.c:(.text+0x4bf2): undefined reference to `XSendEvent'
x11_window.c:(.text+0x4c08): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformGetCursorPos':
x11_window.c:(.text+0x4c86): undefined reference to `XQueryPointer'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformSetCursorPos':
x11_window.c:(.text+0x4d62): undefined reference to `XWarpPointer'
x11_window.c:(.text+0x4d7c): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformSetCursorMode':
x11_window.c:(.text+0x4e39): undefined reference to `XGrabPointer'
x11_window.c:(.text+0x4e80): undefined reference to `XUngrabPointer'
x11_window.c:(.text+0x4ed8): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformGetKeyName':
x11_window.c:(.text+0x4f89): undefined reference to `XkbKeycodeToKeysym'
x11_window.c:(.text+0x4fd7): undefined reference to `XkbTranslateKeySym'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformCreateStandardCursor':
x11_window.c:(.text+0x509a): undefined reference to `XCreateFontCursor'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformDestroyCursor':
x11_window.c:(.text+0x5110): undefined reference to `XFreeCursor'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformSetCursor':
x11_window.c:(.text+0x5153): undefined reference to `XFlush'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformSetClipboardString':
x11_window.c:(.text+0x51cd): undefined reference to `XSetSelectionOwner'
x11_window.c:(.text+0x51f4): undefined reference to `XGetSelectionOwner'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformGetClipboardString':
x11_window.c:(.text+0x52a8): undefined reference to `XGetSelectionOwner'
x11_window.c:(.text+0x5358): undefined reference to `XConvertSelection'
x11_window.c:(.text+0x5386): undefined reference to `XCheckTypedEvent'
x11_window.c:(.text+0x53f2): undefined reference to `XFree'
x11_window.c:(.text+0x5419): undefined reference to `XDeleteProperty'
../../glfw/lib/libglfw3.a(x11_window.c.o): In function `_glfwPlatformGetPhysicalDevicePresentationSupport':
x11_window.c:(.text+0x55cd): undefined reference to `XVisualIDFromVisual'
../../glfw/lib/libglfw3.a(posix_tls.c.o): In function `_glfwInitThreadLocalStoragePOSIX':
posix_tls.c:(.text+0x18): undefined reference to `pthread_key_create'
../../glfw/lib/libglfw3.a(posix_tls.c.o): In function `_glfwTerminateThreadLocalStoragePOSIX':
posix_tls.c:(.text+0x7a): undefined reference to `pthread_key_delete'
../../glfw/lib/libglfw3.a(posix_tls.c.o): In function `_glfwPlatformSetCurrentContext':
posix_tls.c:(.text+0xa4): undefined reference to `pthread_setspecific'
../../glfw/lib/libglfw3.a(posix_tls.c.o): In function `_glfwPlatformGetCurrentContext':
posix_tls.c:(.text+0xbf): undefined reference to `pthread_getspecific'
../../glfw/lib/libglfw3.a(glx_context.c.o): In function `chooseGLXFBConfig':
glx_context.c:(.text+0x3f4): undefined reference to `XFree'
../../glfw/lib/libglfw3.a(glx_context.c.o): In function `getProcAddressGLX':
glx_context.c:(.text+0x6fe): undefined reference to `dlsym'
../../glfw/lib/libglfw3.a(glx_context.c.o): In function `_glfwInitGLX':
glx_context.c:(.text+0x81d): undefined reference to `dlopen'
glx_context.c:(.text+0x8a7): undefined reference to `dlsym'
glx_context.c:(.text+0x8d5): undefined reference to `dlsym'
glx_context.c:(.text+0x903): undefined reference to `dlsym'
glx_context.c:(.text+0x931): undefined reference to `dlsym'
glx_context.c:(.text+0x95f): undefined reference to `dlsym'
../../glfw/lib/libglfw3.a(glx_context.c.o):glx_context.c:(.text+0x98d): more undefined references to `dlsym' follow
../../glfw/lib/libglfw3.a(glx_context.c.o): In function `_glfwTerminateGLX':
glx_context.c:(.text+0x1012): undefined reference to `dlclose'
../../glfw/lib/libglfw3.a(glx_context.c.o): In function `_glfwChooseVisualGLX':
glx_context.c:(.text+0x1a12): undefined reference to `XFree'
../../glfw/lib/libglfw3.a(egl_context.c.o): In function `getProcAddressEGL':
egl_context.c:(.text+0x6a1): undefined reference to `dlsym'
../../glfw/lib/libglfw3.a(egl_context.c.o): In function `destroyContextEGL':
egl_context.c:(.text+0x70b): undefined reference to `dlclose'
../../glfw/lib/libglfw3.a(egl_context.c.o): In function `_glfwInitEGL':
egl_context.c:(.text+0x820): undefined reference to `dlopen'
egl_context.c:(.text+0x8dd): undefined reference to `dlsym'
egl_context.c:(.text+0x90b): undefined reference to `dlsym'
egl_context.c:(.text+0x939): undefined reference to `dlsym'
egl_context.c:(.text+0x967): undefined reference to `dlsym'
egl_context.c:(.text+0x995): undefined reference to `dlsym'
../../glfw/lib/libglfw3.a(egl_context.c.o):egl_context.c:(.text+0x9c3): more undefined references to `dlsym' follow
../../glfw/lib/libglfw3.a(egl_context.c.o): In function `_glfwTerminateEGL':
egl_context.c:(.text+0xef9): undefined reference to `dlclose'
../../glfw/lib/libglfw3.a(egl_context.c.o): In function `_glfwCreateContextEGL':
egl_context.c:(.text+0x18d7): undefined reference to `dlopen'
../../glfw/lib/libglfw3.a(egl_context.c.o): In function `_glfwChooseVisualEGL':
egl_context.c:(.text+0x1aec): undefined reference to `XGetVisualInfo'
egl_context.c:(.text+0x1b41): undefined reference to `XFree'
collect2: error: ld returned 1 exit status
src/EDA221_Assignment1/CMakeFiles/EDA221_Assignment1.dir/build.make:126: recipe for target 'src/EDA221_Assignment1/EDA221_Assignment1' failed
make[2]: *** [src/EDA221_Assignment1/EDA221_Assignment1] Error 1
CMakeFiles/Makefile2:309: recipe for target 'src/EDA221_Assignment1/CMakeFiles/EDA221_Assignment1.dir/all' failed
make[1]: *** [src/EDA221_Assignment1/CMakeFiles/EDA221_Assignment1.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Couldn't get it to work on the WIndows computer in E-huset either, apparently git isn't installed so it fails to clone assimp (error: could not find git for clone of assimp). This was with the CMake GUI.

It would be helpful if you could set up a CI build using Travis CI (for Linux, macOS) or AppVeyor (for Windows).

Build only works with internet connection

Hej!

make only works with an internet connection. An internet connection is needed obviously the first time to fetch dependencies, but should not be required after. However, the assimp dependency tries to fetch a git repo and thus fails:

[  2%] Performing update step for 'assimp'
[  4%] Performing configure step for 'assimp'
-- Looking for ZLIB...
-- Checking for module 'zzip-zlib-config'
--   No package 'zzip-zlib-config' found
-- Found ZLIB: optimized;/usr/lib/libz.dylib;debug;/usr/lib/libz.dylib
-- Checking for module 'minizip'
--   No package 'minizip' found
-- Build an import-only version of Assimp.
-- Enabled formats: 3DS AC ASE ASSBIN ASSXML B3D BVH COLLADA DXF CSM HMP IRRMESH IRR LWO LWS MD2 MD3 MD5 MDC MDL NFF NDO OFF OBJ OGRE OPENGEX PLY MS3D COB BLEND IFC XGL FBX Q3D Q3BS
P RAW SIB SMD STL TERRAGEN 3D X GLTF 3MF
-- Disabled formats:
-- Configuring done
CMake Warning (dev):
  Policy CMP0042 is not set: MACOSX_RPATH is enabled by default.  Run "cmake
  --help-policy CMP0042" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

  MACOSX_RPATH is not specified for the following targets:

   assimp

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: /home/j/git/lund-cg/build/assimp/build
[  7%] Performing build step for 'assimp'
[ 79%] Built target assimp
[ 79%] Performing update step for 'gtest'
fatal: unable to access 'https://github.com/google/googletest.git/': Could not resolve host: github.com
CMake Error at /home/j/git/lund-cg/build/assimp/build/test/gtest/tmp/gtest-gitupdate.cmake:58 (message):
  Failed to fetch repository 'https://github.com/google/googletest.git'


make[5]: *** [test/gtest/src/gtest-stamp/gtest-update] Error 1
make[4]: *** [test/CMakeFiles/gtest.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [assimp/src/assimp-stamp/assimp-build] Error 2
make[1]: *** [CMakeFiles/assimp.dir/all] Error 2
make: *** [all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.