Linker error

This is a discussion on Linker error within the Game Programming forums, part of the General Programming Boards category; Hello people of the boards ! I have a question. The base code I got of Nehe came with the ...

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    183

    Unhappy Linker error

    Hello people of the boards !

    I have a question. The base code I got of Nehe came with the executable file , just a blank screen. So therefore , it should compile without any errors. When I tried to compile it , it came up with a bunch of mistakes.

    I fixed most of them , but one still remains. A " [linker error] undefined reference to 'gluPerspective@32' "

    What is this , and is there an easy way to fix it ? If you need to see the code , tell me and I'll post it.

    Any help will be greatly appriciated.
    Cya.

    P.S : I'm using Dev C++ if it helps. Thanx.

  2. #2
    For Narnia! Sentral's Avatar
    Join Date
    May 2005
    Location
    Narnia
    Posts
    719
    See my post...
    Videogame Memories!
    A site dedicated to keeping videogame memories alive!

    http://www.videogamememories.com/
    Share your experiences with us now!

    "We will game forever!"

  3. #3
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    Sentral, you should provide a link to your post. Let me see if I can find it . . . .
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  4. #4
    Registered User
    Join Date
    Aug 2003
    Posts
    1,205
    Not a link to sentrals post but a link to my post: Enable OpenGL with DevC++
    This tells you how to setup opengl with DevC++
    STL Util a small headers-only library with various utility functions. Mainly for fun but feedback is welcome.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Errors including <windows.h>
    By jw232 in forum Windows Programming
    Replies: 4
    Last Post: 07-29-2008, 01:29 PM
  2. Crazy errors caused by class, never seen before..
    By Shamino in forum C++ Programming
    Replies: 2
    Last Post: 06-10-2007, 11:54 AM
  3. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 10:03 AM
  4. pointer to array of objects of struct
    By undisputed007 in forum C++ Programming
    Replies: 12
    Last Post: 03-02-2004, 03:49 AM
  5. Linking error
    By DockyD in forum C++ Programming
    Replies: 10
    Last Post: 01-20-2003, 04:27 AM

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