Building a GLFW app w/ GDC on a Mac

Johan Granberg lijat.meREM at OVEgmail.com
Sun Oct 21 00:28:17 PDT 2007


Max kaufmann wrote:

> Trying to build this app on a mac:
...
> Initially ~/src/dlib/glfw.d was giving me compile errors because of two
> "const" parameters in line 344 and 347, so I just nixed those type
> specifiers, and it compiled fine, however now I'm getting the link error:
> 
> /usr/bin/ld: Undefined symbols:
> __D2gl7glClearFkZv
> collect2: ld returned 1 exit status

Is glClear in ~/src/dlib/gl.d defined as extern(C)? If not that's probably
the problem.



More information about the Digitalmars-d mailing list