Results 1 to 3 of 3

Thread: glut problems...

  1. #1
    Guest

    glut problems...

    i have a problem:
    i have followed the oreders on : http://3dcoders.bugpower.ch/gluttut.htm
    and steel, the compiler (which goes with the dev c++ 4) gives me linker errors:
    c:\Мои документы\untitled1.o(.text+0x17):untitled1.cpp: undefined reference to `__glutInitWithExit@12'
    c:\Мои документы\untitled1.o(.text+0x3b):untitled1.cpp: undefined reference to `__glutCreateWindowWithExit@8'
    c:\Мои документы\untitled1.o(.text+0x67):untitled1.cpp: undefined reference to `__glutCreateMenuWithExit@8'

    dont mind the russian words, what do i do?
    thanks.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,978

    Re: glut problems...

    The solution is, if I remember correct, to put #define GLUT_DISABLE_ATEXIT_HACK before you include the GLUT header.

  3. #3
    Guest

    Re: glut problems...

    thank u so much, u r a life saviour....

Similar Threads

  1. problems with glut
    By Tresher in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-14-2002, 06:02 AM
  2. GLUT Problems.
    By Amp in forum OpenGL: macOS
    Replies: 0
    Last Post: 02-21-2002, 11:51 AM
  3. GLUT Problems.
    By Amp in forum OpenGL: macOS
    Replies: 0
    Last Post: 02-21-2002, 11:48 AM
  4. New GLUT Problems
    By MrShoe in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 06-07-2001, 04:20 AM
  5. Problems glut/VC++ 5
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 02-08-2001, 04:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean