Page 1 of 1

Texture Problem with RTTI(RealTime Type Info)

Posted: Mon Dec 13, 2010 6:11 pm
by iRobo
Hi,
I've implemented LUA script (using LUABIND) in my project. to do that I had to build Irrlicht again with RTTI (RealTime Type Info) enabled.

since I built Irrlicht with RTTI enabled I get this error on using driver->getTexture or driver->addTexture commands :

Code: Select all

0xC0000005: Access violation reading location 0x00000001
It's funny, it wouldn't be any error if getTexture doesn't find the texture file! just my model stays white! but the error occurs when it finds the texture file.

I didn't have this problem before.

I tried several things and I'm almost sure that RTTI is my problem.

am I right about the RTTI? does it have anything to do with Irrlicht Textures?
how can I fix this?

Posted: Tue Dec 14, 2010 7:49 pm
by iRobo
No replies?! :?: :!:

Posted: Tue Dec 14, 2010 8:08 pm
by serengeor
Did you use multitreading for scripting?

Posted: Wed Dec 15, 2010 9:08 pm
by iRobo
thanks for reply
if you mean as runtime library, yeah I used "Multi-threaded Debug DLL". but if you mean in my scripting , no I didn't do any multi threading.