Results 1 to 7 of 7

Thread: OpenGL support in different compilers

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2000
    Posts
    1

    OpenGL support in different compilers

    I currently use DJGPP as my compiler (but I have MSVC++ and BCC), and I use Allegro. I want to get into OpenGL, but only if I can use it with DJGPP or Borland (BCC), because I like them (especially DJGPP). How would I go about doing this, if at all possible?
    -----
    "If you ain't gonna be part of the greatest, you gotta be the greatest yourself"

    AlienX
    -----

  2. #2
    Member Contributor
    Join Date
    Apr 2000
    Location
    Salt Lake City, UT
    Posts
    52

    Re: OpenGL support in different compilers

    Have you checked out Paul's website on the tutorials page? http://home.clara.net/paulyg/ogl.htm

    Greg

  3. #3
    Junior Member Newbie
    Join Date
    Apr 2000
    Location
    FRANCE
    Posts
    22

    Re: OpenGL support in different compilers

    I successfully used Borland free compiler. The only thing to do is to create a .a file for glut32.dll and glut.dll (with the tools provided implib, check help), and pick the GL headers somewhere...

    I was unsucessfull yet with minimum GCC port on win32 (mingw32)...

  4. #4
    Junior Member Newbie
    Join Date
    Jan 2002
    Location
    Berlin,Germany
    Posts
    11

    Re: OpenGL support in different compilers

    MC could you go through the steps on how to compile ogl code with the free Borland Compiler??

    Much appreciated,
    glfan.

  5. #5
    Junior Member Newbie
    Join Date
    Jan 2002
    Location
    Berlin,Germany
    Posts
    11

    Re: OpenGL support in different compilers

    I tried to follow the instructions on paul's website but I can't get it to worrk

  6. #6
    Junior Member Newbie
    Join Date
    Apr 2000
    Location
    Belo Horizonte, MG, Brazil
    Posts
    8

    Re: OpenGL support in different compilers

    Hi !

    I'm using Borland 5.02 , with no problems!
    -----------------------
    Viva o Brasil !
    ------------------------

  7. #7
    Junior Member Newbie
    Join Date
    Apr 2000
    Location
    FRANCE
    Posts
    22

    Re: OpenGL support in different compilers

    glfan>

    1- Get the tools

    2- Find gl.h and glu.h and glaux.h I picked them at work from VC6.0. But you could find them at microsoft's web site under the platform SDK. Put them in <bcc path>/include/GL/ subdir.

    3- Get precompiled glut32.dll and glut.dll on the web (official beta3.7 site got them) and also glut.h (put glut.h in GL subdir)

    4- run implib.exe tool to create a glut.lib and glut32.lib (see the helpfile). Put them in <bcc path>/lib/

    5- compile!

    6- if there is undefined reference add to the compile line some of this commands: -lglut -lglut32 -lglu -lglu32 (it tells the linker to use the .lib files). It is better to use a Makefile to have simple compile command

Similar Threads

  1. OpenGL lighting changes between compilers
    By nexusone in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 01-22-2003, 10:49 AM
  2. Lighting changes between compilers?
    By nexusone in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-27-2002, 10:01 AM
  3. VP compilers?
    By LoLJester in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 01-27-2002, 10:31 AM
  4. Compilers
    By Dehaz in forum OpenGL: Basic Coding
    Replies: 18
    Last Post: 10-31-2001, 02:48 PM
  5. COMPILERS
    By JLawson in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 07-08-2001, 05:19 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