Ogre3D Basic Framework issue on Ubuntu

I have been trying to learn to use Ogre3D and have gotten to the stage where I want to start something more serious than the examples it comes with so I found and copied the Basic Ogre Framework

I am using Ubuntu 9.10, but have compiled Ogre 1.7 from the Ogre3D website, I am using the Netbeans 6.8 IDE with the c++ plugin.

The Basic Ogre Framework Demo App compiles and runs, but gets to the main loop where is checks to see if the Render Window is active, otherwise it calls sleep(1000);

The if statement that is checking if(OgreFramework::getSingletonPtr()->m_pRenderWnd->isActive()) is always returning false, despite specifically setting the m_pRenderWnd->setActive(true);

From reading the forum posts related to it, nobody else is having this issue, but they are primarily using windows or Mac.

Is there issues with Ogre3D on Ubuntu, or is it possibly a problem with the autogenerated makefiles that netbeans is generating?


Have you configured the application to use the correct video drivers for your system? Since you're on ubuntu you'll need to use OpenGL. I found some drivers didn't work on some systems when using Ogre.

链接地址: http://www.djcxy.com/p/95546.html

上一篇: 你如何设置一个对象定位到Ogre3D中的另一个对象?

下一篇: Ubuntu上的Ogre3D基础框架问题