May 19, 2013 Re: Can't find GLU symbols when compiling SimpleGL.d found in GtkD/demos | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Wey | On Sunday, 19 May 2013 at 17:16:01 UTC, Mike Wey wrote:
> 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@0
>> Debug\ConsoleApp2.obj(ConsoleApp2)
>> Error 42: Symbol Undefined _gluLookAt@72
>> Debug\ConsoleApp2.obj(ConsoleApp2)
>> Error 42: Symbol Undefined _glBegin@4
>> Debug\ConsoleApp2.obj(ConsoleApp2)
>> Error 42: Symbol Undefined _glClear@4
>> Debug\ConsoleApp2.obj(ConsoleApp2)
>> Error 42: Symbol Undefined _glColor3f@12
>> Debug\ConsoleApp2.obj(ConsoleApp2)
>> Error 42: Symbol Undefined _glVertex3f@12
>> Debug\ConsoleApp2.obj(ConsoleApp2)
>> Error 42: Symbol Undefined _glEnd@0
>> Debug\ConsoleApp2.obj(ConsoleApp2)
>> Error 42: Symbol Undefined _glLoadIdentity@0
>> Debug\ConsoleApp2.obj(ConsoleApp2)
>> Error 42: Symbol Undefined _glMatrixMode@4
>> Debug\ConsoleApp2.obj(ConsoleApp2)
>> Error 42: Symbol Undefined _glViewport@16
>> Debug\ConsoleApp2.obj(ConsoleApp2)
>> Error 42: Symbol Undefined _gluPerspective@32
>
> Are you linking with opengl and glu ?
You mean in addition to GtkD.lib GtkDGL.lib I should also link wigh glu32.lib & opengl32.lib?
|
May 19, 2013 Re: Can't find GLU symbols when compiling SimpleGL.d found in GtkD/demos | ||||
---|---|---|---|---|
| ||||
Posted in reply to Mike Wey | On Sunday, 19 May 2013 at 17:16:01 UTC, Mike Wey wrote:
>
> Are you linking with opengl and glu ?
That fixed it! Thanks!
^_^
|
Copyright © 1999-2021 by the D Language Foundation