Jump to content
  • Advertisement
Sign in to follow this  
TheUmpteenth

cg.dll not found

This topic is 4129 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
×

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!