CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 3 of 3

Thread: OpenGL

  1. #1
    Join Date
    Apr 2009


    I have tried to get some sort of graphics programming to work on my computer and it hasn't worked. I downloaded Dark GDK the Game Creators from Microsoft, but when I tried it, the header compiled with errors, even in the default "program" that Dark GDK gives you to start.
    Does anyone know what it is (maybe a setting I have to change or something) that will help me be able to use OpenGL, or any other graphics library that will work with Visual C++?


  2. #2
    Join Date
    Nov 2006

    Re: OpenGL

    An issue I had with OpenGL was that I had to include <windows.h> before <gl.h> (or <GL/gl.h>). Also, include opengl32.lib (and perhaps glu32.lib) in your additional dependencies in your linker settings.
    Good judgment is gained from experience. Experience is gained from bad judgment.
    Cosy Little Game | SDL | GM script | VLD | Syntax Hlt | Can you help me with my homework assignment?

  3. #3
    Join Date
    Apr 2009

    Re: OpenGL

    It can't find "d3dx9.h" and including windows.h doesn't help.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)