Results 1 to 2 of 2

Thread: Ignorant Newbie and Visual Studio library :)

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    Idaho Falls, ID, USA
    Posts
    2

    Ignorant Newbie and Visual Studio library :)

    I know this is probably really simple.. but I have tried several tutorials and I get this error even when I download someone elses code.. I think I just need to set something up right in my libraries, but I even have a hard time finding this stuff.. anyway.. here is the error I get:

    c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2144: syntax error : missing ';' before type 'void'
    c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2501: 'WINGDIAPI' : missing storage-class or type specifiers
    c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : fatal error C1004: unexpected end of file found
    Error executing cl.exe.

    Any help is greatly appreciated.. THANKS!

  2. #2
    Senior Member Regular Contributor
    Join Date
    May 2001
    Location
    London UK
    Posts
    195

    Re: Ignorant Newbie and Visual Studio library :)

    Include windows.h before gl.h

Similar Threads

  1. OpenGL and Visual Studio 2010 Visual C++
    By Matt SA in forum OpenGL: Windows
    Replies: 1
    Last Post: 09-21-2012, 09:43 PM
  2. Replies: 10
    Last Post: 10-27-2006, 09:05 AM
  3. what library to link against with visual studio
    By graphicsxp in forum OpenGL ES
    Replies: 1
    Last Post: 10-25-2004, 05:47 AM
  4. Visual Studio.net ?
    By tbecker in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 10-01-2003, 08:11 PM
  5. Visual Studio help
    By jacquestrappe in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-01-2001, 03:16 PM

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