Jump to content
  • Advertisement
Sign in to follow this  
raydog

Lesson47

This topic is 5033 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Lesson47.exe - Unable to Locate Component This application has failed to start because cg.dll was not found. Re-installing the application may fix this problem. Sorry, but I absolutely hate lessons with dependencies on missing files. At least provide a full download link to all the necessary files. There's a lot of links here: http://developer.nvidia.com/object/cg_toolkit.html But I don't see anything that says this file contains CG.DLL.

Share this post


Link to post
Share on other sites
Advertisement
Ok, you need to download the NVIDIA Cg Toolkit.

ftp://download.nvidia.com/developer/cg/Cg_1.3/Windows/CgSetup_1.3.0408.0400.exe

10MB download just to get a lesson running.

What does it mean if I only see a flat, green 3d grid? It's not moving? Hitting the spacebar
does nothing. Aarrgh.

Share this post


Link to post
Share on other sites
No wonder why people are totally fed up with shaders. I'll come back to them in a couple years when these graphics card people make them user friendly. Too much frustration getting things to work.

Share this post


Link to post
Share on other sites
If you arent good enough of a developer to download and include the dlls with the project...

EDIT: ifi ts doing nothing for ou, you probably have an old card or something of the such.

Share this post


Link to post
Share on other sites
Quote:

If you arent good enough of a developer to download and include the dlls with the project...


I said the lesson didn't give any direct links. I don't like tutorials that give a top domain link, like microsoft.com, and then says go find it yourself. I know absolutely nothing about shaders or what I need to run this program.

I have a shader-supported graphics card, bought in the last 1-2 years. ATI, not Nvidia. This lesson
just doesn't do any error checking, telling me where it's failing. At least give me an error message
or something. Maybe should turn this into an article or tutorial instead of a lesson.

Share this post


Link to post
Share on other sites

Here is a good clue, when you need to get the dll and other tools to work with (such as a compiler) it's often all in the tool kit or the sdk.

To solve your problem get toolkit 1.2, alot of my shaders stoped working with the release of 1.3.

Share this post


Link to post
Share on other sites
Apparently, sgi has developed a new shading language that will be in OGL 2.0:

http://www.opengl.org/documentation/oglsl.html

Its called OpenGL shading language or oglsl...

Share this post


Link to post
Share on other sites
Ah, you might be right, I downloaded Release 1.3 Beta 2 of the NVIDIA Cg Toolkit.

Lesson47 says I need version 1.1. But, that's out of the question for me: 107 MB download for a CG.DLL file? Not on dialup.

Cg Toolkit 1.1 (~107 MB)

Share this post


Link to post
Share on other sites
Quote:
Original post by llvllatrix
Apparently, sgi has developed a new shading language that will be in OGL 2.0:

http://www.opengl.org/documentation/oglsl.html

Its called OpenGL shading language or oglsl...


The OpenGL shading language, or glsl, is a part of the OpenGL 2.0 specification. It's a C-like language for running shaders on GPUs with programmable pipelines. If you have a graphics card that has support for the ARB_shading_language_100 extension, I'd recommend to use glsl. Take a look at ATI's RenderMonkey.

Cg, is also a high-level language for programming shaders, albeit it's created and maintained by Nvidia.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!