iDevGames Forums
OGL SDK sample code compile problems - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Graphics & Audio Programming (/forum-9.html)
+--- Thread: OGL SDK sample code compile problems (/thread-7741.html)



OGL SDK sample code compile problems - sealfin - May 26, 2002 01:58 AM

I've been trying, in vain, to compile with MPW one of the samples which are included with the OGL SDK.
problem is, every one of them dies at compile with 'qd identifier unknown' errors. only I've #include'd practically every header file trying to fix this...

[update] tried another sample (listing 1-1, page 7-8 of the AGL Ref 1.2) which dies with different errors :

'Reference to unresolved symbol ".aglChoosePixelFormat" down to ".glFinish"'

'Unresolved external references: .aglChoosePixelFormat down to .glFinish'

'Error 3034 while linking'

right now I'm so lovin' the MPW experience Sad I've probably overlooked something really obvious, but :confused:


OGL SDK sample code compile problems - sealfin - May 26, 2002 03:13 PM

...hadn't linked the stubs properly (MPW's usual problem with non-contigous names i.e. 'sealsName' == good, 'seals Name' == bad) so, now I've got an app which freezes, but at least I've got an app Wink


OGL SDK sample code compile problems - henryj - May 26, 2002 04:45 PM

To fix 'qd identifier unknown' put this line before your main()

QDGlobals qd;