hanatos / vkdt

raw photography workflow that sucks less
https://jo.dreggn.org/vkdt
BSD 2-Clause "Simplified" License
389 stars 36 forks source link

Unable to Compile #155

Closed jedypod closed 1 week ago

jedypod commented 1 week ago

Hello! I was curious to compile the latest stuff you've been working on this weekend. It looks like I'm running into a compilation error:

make[2]: Entering directory '/work/dev/image/vkdt/vkdt-20241110/src'
clang -Wall -pipe -I. -D_GNU_SOURCE -std=c11 -fPIC -Wall -pipe -O3 -march=x86-64 -DNDEBUG   -c gui/gui.c -o gui/gui.o
gui/gui.c:77:24: error: use of undeclared identifier 'GLFW_WAYLAND_APP_ID'
   77 |   glfwWindowHintString(GLFW_WAYLAND_APP_ID, "vkdt");
      |                        ^
1 error generated.

It seems to be related to 6c52ada ... I'm on Rocky Linux 9.4 on X11... Let me know if I'm doing something wrong or can provide any more info!

hanatos commented 1 week ago

aw sorry about that, seems this is a newish thing in glfw. if you're compiling yourself it's safe to just comment out the line of code. it identifies the vkdt window on wayland, so i can have rules in the window manager for it. will have to add a compile guard i suppose.