A simple hello world app will compile fine, but on linking it will return:
ld.exe cannot find -l0gremain_d
Very likely, you have done both of the following:
1. added the Ogremain_d library to
global compiler options (so even HelloWorld links against it)
2. set up the library path incorrectly, or not set it up at all, so the linker cannot find the Ogre libs
Solution:
1. Remove Ogremain_d from the global compiler settings, instead add it to the
projects that need it.
2. Add the path to where you keep your Ogre libraries to the projects that use Ogre.