Updating my dev environment to the latest version of DMD, which means I updated to the latest versions of all of the Derelict libraries I use. Everything seems to be mostly in order(changed all the old references to "import derelict.opengl3.gl" to "import derelict.opengl"), except I'm getting a bunch of missing references that I can't for the life of me figure out what I'm doing wrong.

||=== Build: testbench in Materium D (compiler: Digital Mars D Compiler) ===| materium\core\display.d|366|Error: undefined identifier `glTranslatef`| materium\core\display.d|371|Error: undefined identifier `glEnableClientState`| materium\core\display.d|376|Error: undefined identifier `glEnableClientState`| materium\core\display.d|452|Error: undefined identifier `glDisableClientState`| materium\core\display.d|455|Error: undefined identifier `glDisableClientState`| materium\core\display.d|517|Error: undefined identifier `glShadeModel`| materium\core\display.d|1379|Error: undefined identifier `glMatrixMode`| materium\core\display.d|1380|Error: undefined identifier `glLoadIdentity`| materium\core\display.d|1390|Error: undefined identifier `glOrtho`| materium\core\display.d|1404|Error: undefined identifier `glFrustum`| materium\core\display.d|1410|Error: undefined identifier `glMatrixMode`| materium\core\display.d|1411|Error: undefined identifier `glLoadIdentity`| ||=== Build failed: 12 error(s), 0 warning(s) (0 minute(s), 3 second(s)) ===|

I've been searching for about a day and I thought I might be trying to use deprecated functionality, but attempting to load the deprecated functions according to the documentation page did a whole lot of nothing, and I can't imagine things like "glEnable/DisableClientState" are deprecated.

I'm in the middle of adding shader support to the project I'm working on, finally bringing it out of the OpenGL 1.1-era dark ages and into the present day, but otherwise everything was working pretty well before the update.

Reply via email to