Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7836001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T13:54:45+00:00 2026-06-02T13:54:45+00:00

I have to implement VBOs in a very old OpenGL program made in Broldand

  • 0

I have to implement VBOs in a very old OpenGL program made in Broldand 5.02, but im getting the folowing error when i try to include GL/glew.h :

Info :Compiling C:\fontesusr\vertexbuffer.cpp
Error:  glew.h(269,25):Too many types in declaration
Error:  glew.h(270,27):Too many types in declaration
Error:  glew.h(13275,185):Multiple declaration for 'PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3F'
Error:  glew.h(13274,185):Earlier declaration of 'PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3F'

the problem appear in the folowing glew code:

#elif defined(_MSC_VER) || defined(__BORLANDC__)
    typedef signed long long GLint64EXT;
    typedef unsigned long long GLuint64EXT;
#else

i think that happens because borland 5.02 is a 32bit compiler…

Someone can give me a suggest on what can i do to solve this problem? or another way to implement VBOs without make use of glew libraries?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T13:54:48+00:00Added an answer on June 2, 2026 at 1:54 pm

    I am 99% sure Borland C++ 5 didn’t have a 64-bit bit integer type. It seems to be interpreting long long as “many types” and borking at it.

    The version of glew you are using wasn’t written to support older versions of Borland C++.

    You could attempt to hack the glew header files to remove the references to 64-bit types and functions.

    Also this might work but I’m not sure:

    #undefine __BORLANDC__
    #include <glew.h>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have to implement a one linked list but it should put object in
I have to implement simple ray tracing algorithm, but I can not figure out
i have implement binary search tree in c++ #include <iostream> #include <cstdlib> using namespace
I'm attempting to implement this paper . I've have most of it down, but
I have implement the ValueChanged event, but I found it will be triggered only
I have implement dining philosophers problem in java but something goes wrong and it
I have to implement a digital envelope using AES and RSA, but I am
I have implement a scrollview with paging but it not work ok. For every
I have implement the exact same concept for my project- http://blog.perplexedlabs.com/2009/05/04/php-jquery-ajax-javascript-long-polling/ My question is,
I have implement a scenario which involves two way communication between child and parent

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.