nobody wrote on Wednesday, December 19, 2007:
When I try to compile using Kubuntu ( I did make x11-install btw, and have run the script)
I get this:
linking glfwtest (g++)
linking glfwtest (g++)
/usr/local/lib/libglfw.a(x11_init.o): In function `_glfwPlatformTerminate’:
x11_init.c:(.text+0x39): undefined reference to `pthread_kill’
What have I done wrong? I will provide the code I used if you need it.
It’s not using anything to do with threads ( to my knowledge, probably something to do with when the program exits? I have no experience with threads ).
I’m using kdevelop with automake. I have included -lGL -lglfw in the linker flags.
Do I need to change the order?
I have included cstdlib and GL/glfw.
I would appreciate it if you could give me a run through of how to install GLFW in kubuntu incase I’ve done something wrong
I have got the code running brilliantly on windows and glfw looks excellent!
Thanks in advance for your help,
Matt-W