Results 1 to 3 of 3

Thread: glext.h... HELP!!!

  1. #1
    Member Contributor
    Join Date
    Jul 2001
    Camarillo, CA, USA

    glext.h... HELP!!!

    everytime I try to compile my source code, my Borland 3.1 gives me about 31 errors saying that there were multiple declarations in glext.h...I DIDNT WRITE THE FILE!! i thought it was supposed to work.. Ive downloaded the same file from about 30 locations, and I cant find one that wont give me errors...what should I do?

  2. #2
    Senior Member Regular Contributor
    Join Date
    Jul 2001

    Re: glext.h... HELP!!!

    AAAAAAAh now here's the point ! You are using Borland C++ Builder. I've used a borland compiler for much time, and I've met some compatibility problems, too.
    glext.h has probably been written for MSVC++. My only idea for you is the following : at the top of glext.h, there is :
    #ifndef __glext_h_
    #define __glext_h_
    This should prevent you from getting the errors you get. If is does not, maybe __glext_h_ is some reserved name(because of the two _ on the left) so try replacing it with FOO123 :

    #ifndef FOO123
    #define FOO123

    I hope this will help (but there are few chances !)

    [This message has been edited by Morglum (edited 07-09-2001).]

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2001
    Grenade, Spain

    Re: glext.h... HELP!!!

    The other solution:

    Change the compiler.

    If you don't want it to be for LiNUX (the best chance), you can get DJGPP, being better than BC31. I supose you can obtain the VC++ compiler too.

Similar Threads

  1. glext.h bug
    By imported_Groovounet in forum OpenGL: Drivers
    Replies: 3
    Last Post: 07-15-2010, 10:32 AM
  2. glext.h
    By lufisp in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-08-2009, 03:46 AM
  3. glext.h
    By in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 03-17-2004, 10:22 AM
  4. glext with VBO
    By vgarcia in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 04-29-2003, 03:10 AM
  5. glext.h
    By Questions Burner in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 09-06-2002, 08:13 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