OGL SDK sample code compile problems

Posts: 691
Joined: 2002.04
Post: #1
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:

Mark Bishop
Quote this message in a reply
Posts: 691
Joined: 2002.04
Post: #2
...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

Mark Bishop
Quote this message in a reply
Post: #3
To fix 'qd identifier unknown' put this line before your main()

QDGlobals qd;
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Sample Code Apple removed? SaxMan 12 6,214 Jan 17, 2009 05:26 PM
Last Post: AnotherJake
  New Apple Render to Vertex Buffer Sample OneSadCookie 13 7,210 Oct 15, 2006 01:10 AM
Last Post: OneSadCookie
  FBO sample code posted arekkusu 5 4,361 Sep 20, 2006 09:23 PM
Last Post: Frank C.
  How to read an iTunes playlist, sample code TomorrowPlusX 4 4,800 Sep 9, 2005 11:06 PM
Last Post: LongJumper
  TextureRange sample Red Marble Game 1 2,807 Dec 9, 2004 12:04 PM
Last Post: arekkusu