[SOLVED] Problem with Raycasting demo

Tano_ITA

22-04-2008 18:17:30

I don't know why, but only demo 4 and demo 6 give me some problem. When i try to open the exe file. The application crash and give me this error:



When i try to delete all CEGUI method, the application work, but i can do anything.. I tried to compile with Release, Release_DLL, Debug_DLL and Debug. But the application crash..

Anyone can help me? :cry:

pra

22-04-2008 20:47:31

if this is a cegui error, you should check cegui.log. it usually just crashes if there is an error in one of the xml files, but it writes it at least into the log

Tano_ITA

22-04-2008 22:12:56

Thanks for your reply. But i don't have any CEGUI.log, just only a ogre.log. The only CEGUI.log is in C:\OgreSDK\bin\debug, and it is not update..

How can i do to compile this demo? I tryed to compile this:

if(!dragging)
{
//user pressing the left mouse button?
if(mMouse->getMouseState().buttonDown(OIS::MB_Left))
{

CEGUI::Point mouse = CEGUI::MouseCursor::getSingleton().getPosition();

//CEGUI::Renderer* rend = CEGUI::System::getSingleton().getRenderer();

}
}


But that's crash.. :cry:

Tano_ITA

22-04-2008 22:30:19

The Intermediate Tutorial 2 work great. And that use the CEGUI.. :?

Tano_ITA

22-04-2008 22:42:43

if(!dragging)
{
//user pressing the left mouse button?
if(mMouse->getMouseState().buttonDown(OIS::MB_Left))
{

CEGUI::Point mouse = CEGUI::MouseCursor::getSingleton().getPosition();

//CEGUI::Renderer* rend = CEGUI::System::getSingleton().getRenderer();

}
}


In this case the application work, but when i click on the left mouse button, the application crash with this message:

Tano_ITA

23-04-2008 09:49:27

I'm a stupid. Just becausa i forgot to put this .dll in my directory:

CEGUIExpatParser.dll
CEGUIFalagardWRBase.dll


Now the demo work great!