Thread: More linker problems

  1. #1
    myNegReal
    Join Date
    Jun 2005
    Posts
    100

    More linker problems

    This one is really annoying me. All of a sudden, I'm having linking problems with glu.h, OpenGL Utility. I'm using Dev-C++ and I'm creating an OpenGL project, Dev-C++ already had OpenGL installed with it, so I don't know why it's not linking. It used to. But now it's not. I get this trying to use gluPerspective():
    [Linker error] undefined reference to `gluPerspective@32'
    Any idea why it may have stopped working and how to fix it?

  2. #2
    Slave MadCow257's Avatar
    Join Date
    Jan 2005
    Posts
    735
    Are you linking Glu32.lib?

  3. #3
    myNegReal
    Join Date
    Jun 2005
    Posts
    100
    I'm assuming it would be in the lib folder? I have libglu32.a
    I can't even find any .lib files with Dev-C++

  4. #4
    Registered User
    Join Date
    Jul 2005
    Posts
    22
    They should be under Project/Project Settings -> Parameters tab

  5. #5
    myNegReal
    Join Date
    Jun 2005
    Posts
    100
    Ah, I see, thanks, it wasn't linked, is there anyway I can set it to automatically link it with that type of project?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linker errors
    By jw232 in forum C++ Programming
    Replies: 3
    Last Post: 06-12-2009, 12:56 PM
  2. Linker problem... no idea
    By cyreon in forum C Programming
    Replies: 2
    Last Post: 04-03-2009, 02:53 PM
  3. No clue how to make a code to solve problems!
    By ctnzn in forum C Programming
    Replies: 8
    Last Post: 10-16-2008, 02:59 AM
  4. winsock linking problems
    By Calef13 in forum Windows Programming
    Replies: 2
    Last Post: 08-29-2007, 08:54 AM
  5. MSVis-Studio C++ libraries and linker errors
    By kellydj in forum Windows Programming
    Replies: 10
    Last Post: 03-12-2002, 02:03 PM