• Advertisement
Sign in to follow this  

cg.dll not found

This topic is 3952 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

Hi, I've been trying to work on a little project, and I was about to start work on some simple shaders. I wrote a little cg initialiser, and linked cg in the vs2005 linker (include, lib, bin). When I tryed to run my project i got a message box reading : "This application has failed to start because cg.dll was not found. Re-installing the application may fix this problem." I've re-installed, checked and re-checked my linker directories and additional dependancies (all .lib files) anybody got any idea how to fix this?

Share this post


Link to post
Share on other sites
Advertisement
I don't think it's an error with compiling anything, you just need the dll file to run the program. Look in the bin section of your compiler and see if you have cg.dll, if you do put it in the same folder as your application.

Share this post


Link to post
Share on other sites
You can also put it in C:\Windows\system32 for windows xp so that you don't need it to be in the current directory to run the program.

Share this post


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

  • Advertisement