OGL SDK sample code compile problems

Moderator
Posts: 704
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
--
Student and freelance OS X & iOS developer
Quote this message in a reply
Moderator
Posts: 704
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
--
Student and freelance OS X & iOS developer
Quote this message in a reply
henryj
Unregistered
 
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,721 Jan 17, 2009 05:26 PM
Last Post: AnotherJake
  FBO sample code posted arekkusu 5 4,723 Sep 20, 2006 09:23 PM
Last Post: Frank C.
  How to read an iTunes playlist, sample code TomorrowPlusX 4 5,198 Sep 9, 2005 11:06 PM
Last Post: LongJumper
  TextureRange sample Red Marble Game 1 3,004 Dec 9, 2004 12:04 PM
Last Post: arekkusu
  Does Anyone have a sample of SDL being implemented without Project Builder? tingham 10 4,558 Oct 7, 2003 11:42 AM
Last Post: Fenris