English 中文(简体)
OGRE 构建错误 - "找不到 - lOgreMain_d. dll"
原标题:OGRE build error -- "cannot find -lOgreMain_d.dll"
  • 时间:2012-05-27 20:52:01
  •  标签:
  • ogre

I ve followed the directions here: http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Setting+Up+An+Application+-+CodeBlocks

然后,我得到这个错误:

c:/program files/codeblocks/mingw/bin/../lib/gcc/mingw32/4.4.1/../../../../mingw32/bin/ld.exe: cannot find -lOgreMain_d.dll

我有OgreMain, OIS, OgreMain_d, OIS_d 放在我的项目文件夹中。 我怎样才能解决这个问题? () : () (OgreMain, OgreMain_d, OIS_d)

问题回答

这主要由于两个原因才可能发生。

  • The dll has not yet been compiled and created.
  • In the linker settings, the dll search path or the dll name to link against is wrong.

请检查 OgreMain_ d. dll 在 OGRE 文件夹中是否创建了 OgreMain_ d. dll, 如果是的话, 请确认链接搜索设置 。 同时确认此工程没有在发布构建配置中, 因为创建的 dll 将会是 OgreMain. dll 。





相关问题
Do you need to call CoInitialize() when using Direct3D9?

My understanding was since D3D is using COM, the answer is yes. But in the Ogre rendering engine, it appears this is never called. Is this fine or an oversight - if so could it have some actual ...

OGRE: Non-Standard Resolution

I am using OGRE to make a re-rendering of the film, which has a wide aspect ratio (around 1.85). The OGRE dialog seems to be showing the standard full screen resolution by default (800/600, 1024/768, ...

How to build a sample Ogre / Xcode template for iphone?

Hi I have installed Ogre 1.7 , Copied iphone dependencies and the project is running in simulator with around 25 sample projects. I need to build a template with only one sample example. Can you ...

How to get a windowless application in Ogre?

I m trying to create a windowless Ogre application, but it seems that the method RenderWindow::setVisible(false) is completely ignored by the application. Is there a way to accomplish that? Thank you ...

Integrating OGRE 1.7 in Qt

I need to integrate Ogre 3d in Qt 4. I found several codes and suggestions which are unfortunately out-dated. I liked this tutorial http://irmatden.developpez.com/tutoriels/qt/integration-ogre-qt/ ...

I need help with this ogre dependent header (Qgears)

I m 2 errors away from compiling Qgears. (Hacked Version of the Final Fantasy VII Engine) I ve messed with the preprocessors to load the actual location of the ogre header files. Here are the errors:...

热门标签