Sign in to follow this  
raydog

Lesson47

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
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
I have to agree with you raydog on one point, there should be a link to the correct file in the tutorial. And maybe the tutorial should be updated with some text explaining the problem with shader vesions.

As to error messages, from the program/code, I don't agree. The tutorials are made for programmers that want to learn how to do one spesific thing. All errorhandling stuff is usually left out so it doesn't "disturb" the main objective(?) of the tutorial.

Endre

Share this post


Link to post
Share on other sites
Lessons are supposed to be fast, quick, and dirty, right? No nonsense, no fuss, no missing
dependency files, no error messages? The demo either works or it doesn't?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this