Results 1 to 4 of 4

Thread: OpenGL, Vista, ATI and C++

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2009
    Location
    sweden
    Posts
    8

    OpenGL, Vista, ATI and C++

    I'm playing a little with OpenGL and it works fine as long as I stay at OpenGL 1.1. I do NOT use Visual Studio, my programming environment is Dev-C++. The documentation says my ATI card supports OpenGL 3, and I have downloaded the latest drivers, headers and the extsetup.lib. By moving around the headers and the order of linked libs I got down the number of error messages from one zillion to just one:
    .drectve `/DEFAULTLIB:"LIBC" /DEFAULTLIB:"OLDNAMES" ' unrecognized
    As I understand it that means I've missed linking a library, I've included extsetup, opengl32 and glu32 ( in that order ).
    Including glaux doesn't change anything, neither do gdi32. Could someone give a better suggestion?

  2. #2
    Senior Member Regular Contributor Heiko's Avatar
    Join Date
    Aug 2008
    Location
    the Netherlands
    Posts
    170

    Re: OpenGL, Vista, ATI and C++

    On Linux I have to include `GL/glATI.h'. Perhaps this is what you have to do as well?

    Further: I believe that for creating an OpenGL 3.x environment in Windows, you first have to create an OpenGL 1.x/2.x environment, load the necessary extensions that are needed to create an OpenGL 3.x environment, ditch the OpenGL 1.x/2.x environment and create the OpenGL 3.x environment with the just loaded extensions.

    No personal experience with that though. Its just that I think I've read something like that somewhere at some point (yes... rather vague, probably somebody can clarify/confirm this).

    Anyway: if your ATI card can do OpenGL 3 (that means its an HD2xxx, HD3xxx, HD4xxx or HD5xxx), you should in some way be able to get it running. OpenGL 3.0 is supported for a while now by Ati, OpenGL 3.1 is also supported (not sure if the support for that is complete) and OpenGL 3.2 probably won't take long anymore before its supported.

  3. #3
    Junior Member Newbie
    Join Date
    Oct 2009
    Location
    sweden
    Posts
    8

    Re: OpenGL, Vista, ATI and C++

    Thanks for the comment. By including <GL/glextsetup.h> you automatically include the other files. The extsetup is also doing all the boring PFN##proctype##PROC loading so the problem is probably not found there. I CAN indeed load the extensions "manually", but as there are more than a hundred I'd like to use the libraries I have.

  4. #4
    Junior Member Newbie
    Join Date
    Oct 2009
    Location
    sweden
    Posts
    8

    Re: OpenGL, Vista, ATI and C++

    Feedback:

    After lots of digging I found, in AMD:s radeon 3D programming, an "ATI OpenGL SDK" to download. However, to get it to work I had to modify the version checks from: ( as an example )

    if ( (majorVersion == 1) &amp;&amp; (minorVersion >=2))

    to:

    if ( ( ( majorVersion == 1 ) &amp;&amp; ( minorVersion >= 2 ) ) || ( majorVersion > 1 ) )

    the included loaders don't consider the possibility of cards supporting above GL 1.4

Similar Threads

  1. OpenGL and Vista
    By atlasdynamics in forum OpenGL: Windows
    Replies: 10
    Last Post: 06-05-2008, 02:33 PM
  2. OpenGL in .NET / Vista
    By fuggbar in forum OpenGL: Windows
    Replies: 12
    Last Post: 12-22-2007, 07:35 AM
  3. OpenGL 3.0 vs Vista
    By ManuelBast in forum OpenGL: Windows
    Replies: 4
    Last Post: 11-26-2007, 06:45 AM
  4. What's everyone take on Vista now its out and OpenGL
    By Mars_999 in forum OpenGL: Windows
    Replies: 14
    Last Post: 03-21-2007, 05:33 AM
  5. No OpenGL in Vista?
    By tamlin in forum OpenGL: Advanced Coding
    Replies: 11
    Last Post: 06-25-2006, 09:24 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean