Thread: Link errors...again

  1. #1
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321

    Link errors...again

    I've just downloaded the irrlicht game engine and when i compile it i get these errors... but i'm not sure how to fix them in Dev C++:

    Code:
    [Linker error] undefined reference to `gluCheckExtension@8' 
    
    more undefined references to `gluCheckExtension@8' follow'

  2. #2
    The Right Honourable psychopath's Avatar
    Join Date
    Mar 2004
    Location
    Where circles begin.
    Posts
    1,071
    You're not linking with the GLU library. Add glu32.lib in your linker options, and make sure you're including glu.h.
    M.Eng Computer Engineering Candidate
    B.Sc Computer Science

    Robotics and graphics enthusiast.

  3. #3
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    I know that part, i just want to know how i add them to my linker options.

  4. #4
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    You should search the board as this question has been asked and answered many times in the past.

    Once more won't hurt, though:

    Add(Dev-Cpp specific)
    Code:
    -lopengl32
    -lglu32
    to Project menu --> project options --> parameters tab, 'linker' field.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  5. #5
    Sanity is for the weak! beene's Avatar
    Join Date
    Jul 2006
    Posts
    321
    They are already included, but i still seem to get the same errors.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linked List, Please Help!
    By CodeMonkeyZ in forum C Programming
    Replies: 5
    Last Post: 02-17-2009, 06:23 AM
  2. Multi link errors
    By swgh in forum C++ Programming
    Replies: 4
    Last Post: 01-31-2006, 05:20 PM
  3. Winsock compilation errors
    By jmd15 in forum Networking/Device Communication
    Replies: 2
    Last Post: 08-03-2005, 08:00 AM
  4. executing errors
    By s0ul2squeeze in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2002, 01:43 PM