Menu

GLFW D support

Using GLFW
2007-12-06
2012-11-08
  • David A. Medlock

    I use glfw with D and I recently upgraded to the latest D 1.x compiler(1.024).

    I found that the opengl libraries do not link with any version after 1.017.

    Apparently the extern declarations have changed and an extern statement now stops at the end of a version() block.
    Also the system-specific linkage is specified with extern(System).

    So the code:

    version (Win32) {
    extern (Windows):
    }
    version (linux) {
    extern (C):
    }

    should not read:

    version(System):

    -David

     
    • elmindreda

      elmindreda - 2007-12-06

      I'm afraid we don't have a maintainer of the D bindings, so any updates are the result of individual members of the D community submitting patches.

      If you know what should be changed, please submit a patch to the patch tracker and I'll include it in the upcoming 2.6.1 release. Also, if you know of someone who might be interested in keeping the D bindings up to date on a regular basis, please point em to me.

      Thank you.