OPENGL Dev C++; Fualty LIBS

This is a discussion on OPENGL Dev C++; Fualty LIBS within the C++ Programming forums, part of the General Programming Boards category; I got almost every tutorial on Ogl on Dev CPP, and i get these erors: 1135-1164: systax errors before void ...

  1. #1
    Linux Forever
    Join Date
    Oct 2002
    Posts
    373

    OPENGL Dev C++; Fualty LIBS

    I got almost every tutorial on Ogl on Dev CPP, and i get these erors:


    1135-1164: systax errors before void and ( (gl.h)

    and CDS_FULLSCREEN undeclared.

    Can i get 2 things:
    1: A tutor guy to help me learn OpenGL in Dev C++ (i made 2 games in SDL, but i want to do 3D in pure OGL.)
    and 2: a working OGL library

    Thanks in advance!
    This war, like the next war, is a war to end war.

  2. #2
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    Show us some code.

  3. #3
    Linux Forever
    Join Date
    Oct 2002
    Posts
    373
    You can get the code from www.gametutorials.com under OpenGL, and other code from nehes OGL tutorials. Nehes gets the CDS_FULLSCREEN Undeclared, and GT gets the syntax errors.
    This war, like the next war, is a war to end war.

  4. #4
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    For the NeHe tutorials, just put this at the top of your code.
    Code:
    #ifndef CDS_FULLSCREEN
    #define CDS_FULLSCREEN 4
    #endif
    And the reason that the GameTutorials.com ones aren't working is that all of them are written to be compiled in the .NET environment.
    Last edited by XSquared; 12-28-2003 at 08:58 AM.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  5. #5
    Linux Forever
    Join Date
    Oct 2002
    Posts
    373
    Thanks, ill try it out when i log back into windows and not linux.
    This war, like the next war, is a war to end war.

  6. #6
    Registered User
    Join Date
    Oct 2003
    Posts
    83
    Originally posted by XSquared
    For the NeHe tutorials, just put this at the top of your code.
    Code:
    #ifndef CDS_FULLSCREEN
    #define CDS_FULLSCREEN 4
    #endif
    And the reason that the GameTutorials.com ones aren't working is that all of them are written to be compiled in the .NET environment.
    Yeah, he hit the spot. I had the same problem earlier and thats the way to fix it! Just an undefined marco

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 12:34 PM
  2. openGL programming - From MSVC++ to Dev C++
    By WDT in forum Game Programming
    Replies: 3
    Last Post: 03-08-2004, 07:47 PM
  3. openGL programming - From MSVC++ to Dev C++
    By WDT in forum Game Programming
    Replies: 1
    Last Post: 03-08-2004, 04:19 PM
  4. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 06:57 PM
  5. Using OpenGL with Dev C++
    By Patrdm83 in forum C++ Programming
    Replies: 4
    Last Post: 02-04-2003, 04:57 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21