Archived

This topic is now archived and is closed to further replies.

KittiK

Can't run tutorial for Cg

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites
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!"

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites