Can't find GLU symbols when compiling SimpleGL.d found in GtkD/demos
Mike Wey
mike-wey at example.com
Sun May 19 10:16:10 PDT 2013
On 05/19/2013 07:08 PM, Enjoys Math wrote:
> 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
Are you linking with opengl and glu ?
--
Mike Wey
More information about the Digitalmars-d-learn
mailing list