Glu library trouble. *IMG*

This is a discussion on Glu library trouble. *IMG* within the Game Programming forums, part of the General Programming Boards category; Suddenly, as I create a project (I haven't programmed in a month or so), my glu.h file is complaining to ...

  1. #1
    Registered User
    Join Date
    Nov 2004
    Posts
    5

    Glu library trouble. *IMG*

    Suddenly, as I create a project (I haven't programmed in a month or so), my glu.h file is complaining to me when I try to compile a program that uses it.

    Example Image

    Example Image 2

    Example Image 3



    Is it likely something wrong with how I set up my program? (Start new project, select win32 console project, on next screen select "Empty project". Then add a .cpp file and begin coding)

    It's even complaining if I try to recompile previously fine old files.
    Last edited by RossMills; 01-16-2005 at 07:24 PM.

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    you need to add the libraries to the linker path... its in the project prefs somewhere

  3. #3
    Registered User
    Join Date
    Nov 2004
    Posts
    5
    Quote Originally Posted by Perspective
    you need to add the libraries to the linker path... its in the project prefs somewhere
    I've done that. It still does not work. (Well... Ti22 came round and did it. He was stumped)

  4. #4
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,267
    did you include windows.h before gl.h and glu.h? and are there any other headers before those?
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Library Wrapper
    By cusavior in forum C Programming
    Replies: 3
    Last Post: 03-25-2008, 10:27 AM
  2. Difficulty choosing graphics library
    By jdiperla in forum Game Programming
    Replies: 11
    Last Post: 02-27-2008, 05:35 PM
  3. link with C runtime library
    By George2 in forum C++ Programming
    Replies: 26
    Last Post: 02-05-2008, 12:56 AM
  4. Global variable in shared library
    By krock923 in forum C Programming
    Replies: 5
    Last Post: 01-11-2008, 03:56 PM
  5. Replies: 4
    Last Post: 11-12-2002, 05:26 AM

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