<solved>Problem compiling/running the Example...

fassihi

24-06-2007 06:42:54

Hi,

I am trying to compile the QuickGUI sources and run the example application, however I get a run time error on this line:

Ogre::Font* f = dynamic_cast<Ogre::Font*>(fm->getByName(mFont).get());

This is the error:
Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.

Any help is appreciated.

fassihi

24-06-2007 07:16:04

Ok so it seems like there was a version problem.

I had compiled against Eihort SDK but I used the Eihort Source DLLs. The problem goes away when I used the Eihort SDK DLLs for runtime.

kungfoomasta

24-06-2007 08:11:04

Glad its working! :)