GLFW Problem

revcompgeek revcompgeek at NOSPAM.gmail.com
Fri Jan 18 19:38:55 PST 2008


After making a few modifications to the GLFW D bindings, I am attempting
to compile a port of GLFW Lesson 1 from the tutorials page. It compiles
fine, but I get linker errors:
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
__D2gl10glViewportFiiiiZv
__D2gl12glClearColorFffffZv
__D2gl12glMatrixModeFkZv
__D2gl14glLoadIdentityFZv
__D2gl7glClearFkZv
__D3glu14gluPerspectiveFddddZv
__D3glu9gluLookAtFdddddddddZv
__D4glfw10glfwEnableFiZv
__D4glfw10glfwGetKeyFiZi
__D4glfw11glfwGetTimeFZd
__D4glfw13glfwTerminateFZv
__D4glfw14glfwOpenWindowFiiiiiiiiiZi
__D4glfw15glfwSwapBuffersFZv
__D4glfw17glfwGetWindowSizeFPiPiZv
__D4glfw18glfwGetWindowParamFiZi
__D4glfw18glfwSetWindowTitleFPaZv
__D4glfw8glfwInitFZi
__D6object6Object5printMFZv
__D6object6Object8toStringMFZAa

I am using dsss to build it, the dsss.conf file looks like this:

[program.d]
buildflags=-llglfw -framework OpenGL -framework AGL -framework Carbon

It doesn't make sence to me.



More information about the D.gnu mailing list