Results 1 to 6 of 6

Thread: nother glut/borland ?

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2001
    Posts
    19

    nother glut/borland ?

    [C++ Error] GLUT.H(482): E2451 Undefined symbol 'exit'
    [C++ Error] GLUT.H(499): E2451 Undefined symbol 'exit'
    [C++ Error] GLUT.H(545): E2451 Undefined symbol 'exit'

    anyone know the possible explanations for these errors? I have the precompiled glut resources in all my lib and include folders.

  2. #2
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,753

    Re: nother glut/borland ?

    Do a search on the forum... you have to do something like

    #define GLUT_AT_EXIT_HACK

    or something like that. I've seen people give this solution for this problem with Borland, but being a VC++ user, I've never seen it myself.
    Deiussum
    Software Engineer and OpenGL enthusiast

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2001
    Posts
    19

    Re: nother glut/borland ?

    okay i used the hack thing and fixed the exit problems but now i'm getting this:
    [Linker Fatal Error] Fatal: Unable to open file 'GLU32.LIB'

    i've looked thru previous posts and have found one or 2 peopls asking this but no real answers. Just wondering if anyone has had this problem and knows how to fix it.

  4. #4
    Senior Member OpenGL Pro
    Join Date
    Oct 2000
    Location
    Fargo, ND
    Posts
    1,753

    Re: nother glut/borland ?

    Check that you've got the glu32.lib and that it is in the library search path. You also need to be sure that the glu32.lib and opengl32.lib files you have are Borland compatible, not VC++ compatible. They both have different library formats. It sounds to me like it's not even finding it, which is weird because I thought that Borland 5 came with the libraries. (It was 5 you had, wasn't it?)
    Deiussum
    Software Engineer and OpenGL enthusiast

  5. #5
    Junior Member Newbie
    Join Date
    Feb 2001
    Posts
    19

    Re: nother glut/borland ?

    Yeah i'm using bcb 5.0 standard. i've got glu32.lib glut32.lib and opengl32.lib. Not sure the problem but i'll keep messing with it. Thanx for help

  6. #6
    Guest

    Re: nother glut/borland ?

    Make sure you delete projectname.def and projectname.rc as you dont need them, nor do you need opengl32.lib if you're using borland. I don't know how to fix your problem, but this may help in the future.

Similar Threads

  1. Using glut with borland
    By Tyro in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-12-2002, 05:02 AM
  2. GLUT in Borland 5.01
    By ross367 in forum OpenGL: General
    Replies: 1
    Last Post: 02-23-2002, 08:00 PM
  3. GLUT + C++ (borland)
    By lsdi in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-12-2002, 10:39 AM
  4. GLUT 3.7 under Borland
    By xroads42 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 01-23-2001, 03:13 PM
  5. Using GLUT with Borland c++ 4.52
    By jimmytv in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 05-07-2000, 01:49 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