glGenProgramsARB undefined??

Posted on 2003-03-08
Medium Priority
Last Modified: 2013-12-26
Hello all,

I'm running Mesa under Mandrake Linux.  Every time I go to compile my example, I get the a bunch of errors saying that functions like
glProgrtamEnvParameter4fARB , glBindProgramARB, glGenPRogramsARB are undefined.  I'm at a completely loss.  I have tried to include the glext.h file, i have tried to include the glxext.h file and i have no idea.  I have an NVidea GForce2 MX200 card...any help would be greatly aprreciated.

Question by:Corey080698
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

solarforge earned 1500 total points
ID: 8108394
The functions you are talking about are defined by the ARB_vertex_program extension... this function is for writing your own vertex processing pipeline...

As it is an extension, and as the standard OpenGL implementation (currently at 1.4) does not include vertex programs, you need to get a handle to each of the functions manually at run time.

The glext header file provides function definitions for those functions, but as MESA doesn't support the ARB vertex program extension, it won't be able to link to any functions at compile time, and you won't be able to use those function at run time either!

How much have you used OpenGL, and are you aware of how extensions work under GL?


Author Comment

ID: 8108697
Thanks solarforge.  I actually had figured out the problem...I had two versionso fo the gl.h, glext.h and glxtokens.h files on my system.  I had to remove the old version and make sure the program was using the new files, which support the extneions, in the /usr/share/doc/NVIDIA_GLX-1.0/include.  Thanks for your help!

Featured Post

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question