Results 1 to 8 of 8

Thread: opengl setup for MSVisual c++

  1. #1

    Thread Starter
    Ya ya Baby!!!Me is Back
    Join Date
    Jul 2002
    Posts
    362

    opengl setup for MSVisual c++

    Anyone can help me to setup OpenGl sdk. I have gone to opengl.org but when I try to run an example from the book I got today for x-mas I always got : "glut32.lib" fail to link or something like that... I think I miss something in the installation or in the configuration.

    Any one can help me please.

  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    mine setup really by itself, didn't really do much...but i just wanted to say you're going to love OpenGL...I've spent really all day over at NeHe reading tutorials....its great!!!

    hope you had a good xmas by the way

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Ah. GLUT isn't technically a part of OpenGL in the way that the gl* functions are. glu* functions are more-or-less part of the accepted standard, and they give extra useful bits.

    GLUT is a (somewhat older now) method for abstracting away the messing around with creating windows -- GLUT programs work on X or Windows fairly interchangeably

    Look for the GLUT libs on opengl.org, you can download and compile them (as well as all the example programs). Then just move glut32.lib to the correct place, and set the includes path to point at the headers
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  4. #4
    Fanatic Member
    Join Date
    Oct 1999
    Location
    England
    Posts
    982
    The infamous OpenGL book 'The Red Book' is available as a PDF

    http://orakel.tihlde.org/kurs/3d/dow...theredbook.pdf

    Also if you are looking for good OpenGL tutorials then got to http://nehe.gamedev.net/ I am going through the tutorials myself, to start using OGL with VC++ you only need to link 3 libraries as explained in the tutorials.

    Good Luck.

  5. #5

    Thread Starter
    Ya ya Baby!!!Me is Back
    Join Date
    Jul 2002
    Posts
    362

    Thx you all

    I will check all your thread, thx for all answer and have good x-mas time. For your information, I just got this book : "OpenGL game programming"

    Daok

  6. #6

    Thread Starter
    Ya ya Baby!!!Me is Back
    Join Date
    Jul 2002
    Posts
    362
    Linking...
    LINK : fatal error LNK1104: cannot open file "glut32.lib"


    This is what I still got, all other GL file work well but not this one

  7. #7

    Thread Starter
    Ya ya Baby!!!Me is Back
    Join Date
    Jul 2002
    Posts
    362
    File Location
    -----------------------
    [compiler]\include\gl
    gl.h
    glut.h
    glu.h

    [compiler]\lib
    Opengl32.lib
    glut32.lib
    glu32.lib

    [system]
    Opengl32.dll
    glut32.dll
    glu32.dll


    Here you go

  8. #8
    Hyperactive Member
    Join Date
    Sep 2001
    Posts
    396
    I just bought that book too! Cheers!

Posting Permissions

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



Click Here to Expand Forum to Full Width