Results 1 to 5 of 5

Thread: OpenGL libraries for borlan c++ 5.0 ?

  1. #1
    Member Newbie
    Join Date
    Feb 2004
    Posts
    41

    OpenGL libraries for borlan c++ 5.0 ?

    Hi! I think its a beginners problem. I tried to install opengl libraries in borland c++ 5.0 and it comes with an erro \opengl\GLUT32.lib contains invalid OMF record type 0x21 (possible COFF), but when i install them in microsoft visual they work. I was wondering if someone could help me to install them in borland c++ 5.0 as I am trying to make a program work.

    Many thanks
    Pran

  2. #2
    Member Contributor
    Join Date
    Nov 2001
    Posts
    77

    Re: OpenGL libraries for borlan c++ 5.0 ?

    Microsoft Visual C++ uses a library format known as COFF. Borland C++ uses a format called OMF. They're not compatible, but you can still use OpenGL. Open a command prompt window, and change directory to the location of the OpenGL libraries. Then, type the following:

    coff2omf glut32.lib glut32b.lib

    This will convert glut32.lib into an OMF version of glut32.lib and save it as glut32b.lib. Then, go into Borland C++, and add that library to the project, removing the COFF version. Should work fine now. ^_^

  3. #3
    Member Contributor
    Join Date
    Jul 2003
    Location
    va beach
    Posts
    63

    Re: OpenGL libraries for borlan c++ 5.0 ?

    I have read on another board of a similar problem and I've had this issue myself. If I remember correctly you need to change the COFF using coff2omf utility to OMF.
    http://public.kitware.com/pipermail/...er/020364.html

    The issues are similar, I think it should solve your problem.

  4. #4
    Junior Member Newbie
    Join Date
    Jan 2004
    Location
    Brasil
    Posts
    11

    Re: OpenGL libraries for borlan c++ 5.0 ?

    Try it:

    implib glut32.lib <windows folder>\system32\glut32.dll

    Other errors will appear, the solution is analogous

  5. #5
    Member Newbie
    Join Date
    Feb 2004
    Posts
    41

    Re: OpenGL libraries for borlan c++ 5.0 ?

    Hey sorry to bother you guys again.. but apparently I had to convert all the library files listed in glut.h but now it comes up with new erroed like UNABLE TO OPEN WINMM.LIB and CANNOT CREATE CREATE A PRE-COMPILED HEADER: CODE IN HEADER.
    would appriciate any help.
    Many Thanks for your time

    cheers
    pran

    [This message has been edited by pran1 (edited 02-20-2004).]

    [This message has been edited by pran1 (edited 02-20-2004).]

Similar Threads

  1. OpenGL libraries
    By allenm in forum OpenGL: Linux
    Replies: 8
    Last Post: 04-07-2007, 08:50 PM
  2. OpenGL libraries
    By ctibaldi in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-24-2005, 03:25 AM
  3. OpenGL libraries for borlan c++ 5.0 ?
    By pran1 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-19-2004, 12:34 PM
  4. when or where can i get the OpenGL ES libraries?
    By habilmu in forum OpenGL ES
    Replies: 1
    Last Post: 11-26-2003, 02:43 PM
  5. OpenGL libraries
    By NNland in forum OpenGL: User Software
    Replies: 2
    Last Post: 09-25-2000, 08:09 AM

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