Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: Glut.lib and Glu.lib error

  1. #1
    Guest

    Glut.lib and Glu.lib error

    Hello,
    Ahhhhhh one problem fixed then another pops up.. Well anyway my problem is that when my compiler is linking it comes up with an error :

    "'C:\windows\desktop\test\glut32.lib' contains invalid OMF record, type 0x21"

    Please help!!!!
    Thank you

  2. #2
    Guest

    Re: Glut.lib and Glu.lib error

    Oh ya im using Borland C++ verion 5
    but the gl code alone works perfectly but not the glut or glu stuff. Also i forgat to tell you that i get the same error with glu32.lib.

    Thanks for the time.

  3. #3
    Advanced Member Frequent Contributor
    Join Date
    Feb 2001
    Location
    Australia
    Posts
    587

    Re: Glut.lib and Glu.lib error

    I don't use Borland myself (VC++6) but I think you have to rebuild the GLUT library for Borland. I think that the one you are using may have been built for VC++. Do a search on this board for "Borland glut" or similar. This has been discussed before.

    [This message has been edited by ffish (edited 04-16-2001).]

  4. #4
    Junior Member Newbie
    Join Date
    Apr 2001
    Location
    Malaysia
    Posts
    25

    Re: Glut.lib and Glu.lib error

    yeah...
    just like ffish said..
    i think that you have to build the glut especially for borland..

    you have to convert the GLUT library to the borland format..
    first, you try to go to the command prompt..find the folder which contain the glut32.dll. And then, you type this: -

    Code :
    implib bcglut32.lib glut32.lib
    try that first..
    <-- V R E M P I R E -->

  5. #5
    Guest

    Re: Glut.lib and Glu.lib error

    Wow!

    Thank you guys really helped! and now i can finally get to play around with Opengl!!

    Thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •