Results 1 to 5 of 5

Thread: borland c++

  1. #1
    Guest

    borland c++

    i got a question (probably a stupid one). i'm trying to use borland c++ 5.02 and i can't get the glGenTextures function to work. Says it doesn't exist! Same thing happens with the glBindTexture function. But they work fine on VC++.NET. What's up with that? please help!!

  2. #2
    Senior Member Regular Contributor
    Join Date
    Feb 2003
    Location
    Westerville, Oh, USA
    Posts
    201

    Re: borland c++

    Are these compile errors or linker errors? Some exact error messages might help...

  3. #3
    Guest

    Re: borland c++

    they're compiler errors. 'call to undefined function glGenTextures' and same thing for glBindTexture.
    any clues??

  4. #4
    Senior Member Regular Contributor
    Join Date
    Feb 2003
    Location
    Westerville, Oh, USA
    Posts
    201

    Re: borland c++

    Those look like linker errors. How are you compiling? Are you using a makefile? If so, post it here. You're not linking with the opengl library.

  5. #5
    Senior Member Regular Contributor
    Join Date
    May 2001
    Location
    Omaha, NE US
    Posts
    119

    Re: borland c++

    You need to generate your own opengl32.def and opengl32.lib file from opengl32.dll, using impdef.exe and implib.exe, and then you need to link opengl32.lib to your project. I used to poke around with borland 5.02 myself, until I made the wise decision and switched to Dev-C++, where the licensing gave me overwhelmingly more freedom than 5.02 ever will.

Similar Threads

  1. Please help with Borland 5.5.1...
    By ArniZ in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-01-2003, 08:47 AM
  2. Borland C++ and AUX
    By adeon in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-28-2001, 10:39 AM
  3. borland 5.5
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 11-23-2001, 08:28 PM
  4. Borland C++
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 02-08-2001, 04:27 PM
  5. Borland
    By Jellomancer in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 09-06-2000, 09:20 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