Can't run tutorial for Cg

Started by
7 comments, last by KittiK 20 years, 1 month ago
I downloaded Cg and can''t make the tutorial run. It says one of two things...."computer won''t support GL_NV_texture_shader" Ot that I have a "glut32.dll" error. I have GeForce and DirectX9. Am I hopeless? I am out of my mind at the momment...feel free to leave a message.
I am out of my mind at the moment...feel free to leave a message.
Advertisement
Hello KittiK,

This might have several reasons why it isnt compiling. Either you dont have or arent including glext.h or your graphic card doesnt support it.

1) What graphic card do you have?
2) Do you have the latest drivers?
3) Do you have glext.h?
4) Is it included with the tutorial?

If you need to OpenGL DLLs, Library, and Header files you can find them here, or if you only want the DLLs you can download them here.


- [BDS]StackOverflow

[edited by - BlueDev on March 22, 2004 2:48:29 PM]
[/quote]
Yeah, what video card have you got?
For GLUT to work you need to download GLUT, search google.


"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"
"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"
Thank you for helping me...beating my head against the wall didn''t seem to be working

1)I have Nvidia GeForece4 MX Graphics
2)Don''t know....I bought it new six months ago...
3)yes
4)yes
I am out of my mind at the moment...feel free to leave a message.
Ah KittiK,

Good to hear that the last two and the first questions were solved. Now that means it might be your graphic driver.

Q. How do I know that?
A. I don't. Just from previous experience I've had trouble with some GL extensions with older drivers due to the fact they update them every month or so.

You can find the drivers on the NVIDIA site.

To navigate do the following:

Graphics Driver -> GeForce and TnT2 -> Your OS (Operating System)

It should take you to a new page. There you can download the file by clicking on the text "Primary Download Site"

After you install it, it will restart your computer and then let us know if the extension "GL_NV_texture_shader" is still having trouble.

Edit: I think some extensions are included as the following: glh_init_extensions(
"GL_NV_texture_shader "
"GL_ARB_multitexture "
); along with #include <glh/glh_extensions.h>, but that isn't important lol.


Hope this helps,
[BDS]StackOverflow

[edited by - BlueDev on March 22, 2004 3:20:36 PM]
[/quote]
Thank you!! I''ll let you know.....

I am out of my mind at the momment...feel free to leave a message.
I am out of my mind at the moment...feel free to leave a message.
I no longer have "GL_NV_texture_shader" problems....and my glut32 warning has gone away! Thank you very much.
One more dumb question, please.....
Can Microsoft Enviromental Development run these programs?
I am out of my mind at the moment...feel free to leave a message.
Hey KittiK,

Glad to hear all the errors have been resolved!

Q. Can Microsoft Environmental Development run these programs?
A. I don't know

I've actually never heard of Microsoft Environmental Development or at least I think. Is it a self-standing compiler, a program, a language or is it like an addon to MSVC? I know, I'm supposed to know this heh but when it comes to Microsoft and Development that is a no-no for me


- [BDS]StackOverflow

[edited by - BlueDev on March 22, 2004 5:10:14 PM]
[/quote]
I really do appreciate all your help! maybe it can...it generally runs HTML, CSS, etc.
My GPU is resident and everything seems to be fine...
Thanks!



I am out of my mind at the moment...feel free to leave a message.
I am out of my mind at the moment...feel free to leave a message.

This topic is closed to new replies.

Advertisement