Can't find GLU symbols when compiling SimpleGL.d found in GtkD/demos

Enjoys Math enjoysmath at gmail.com
Sun May 19 10:08:04 PDT 2013


I've built GtkD from the latest on github and linked with 
gtkd.lib gtkdgl.lib and still have the undefined symbols:

OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
Debug\ConsoleApp2.obj(ConsoleApp2)
  Error 42: Symbol Undefined _glFlush at 0
Debug\ConsoleApp2.obj(ConsoleApp2)
  Error 42: Symbol Undefined _gluLookAt at 72
Debug\ConsoleApp2.obj(ConsoleApp2)
  Error 42: Symbol Undefined _glBegin at 4
Debug\ConsoleApp2.obj(ConsoleApp2)
  Error 42: Symbol Undefined _glClear at 4
Debug\ConsoleApp2.obj(ConsoleApp2)
  Error 42: Symbol Undefined _glColor3f at 12
Debug\ConsoleApp2.obj(ConsoleApp2)
  Error 42: Symbol Undefined _glVertex3f at 12
Debug\ConsoleApp2.obj(ConsoleApp2)
  Error 42: Symbol Undefined _glEnd at 0
Debug\ConsoleApp2.obj(ConsoleApp2)
  Error 42: Symbol Undefined _glLoadIdentity at 0
Debug\ConsoleApp2.obj(ConsoleApp2)
  Error 42: Symbol Undefined _glMatrixMode at 4
Debug\ConsoleApp2.obj(ConsoleApp2)
  Error 42: Symbol Undefined _glViewport at 16
Debug\ConsoleApp2.obj(ConsoleApp2)
  Error 42: Symbol Undefined _gluPerspective at 32


More information about the Digitalmars-d-learn mailing list