Texture Problem with RTTI(RealTime Type Info)

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
iRobo
Posts: 26
Joined: Mon Aug 23, 2010 1:41 pm
Location: Iran
Contact:

Texture Problem with RTTI(RealTime Type Info)

Post 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?
iRobo
Posts: 26
Joined: Mon Aug 23, 2010 1:41 pm
Location: Iran
Contact:

Post by iRobo »

No replies?! :?: :!:
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Post by serengeor »

Did you use multitreading for scripting?
Working on game: Marrbles (Currently stopped).
iRobo
Posts: 26
Joined: Mon Aug 23, 2010 1:41 pm
Location: Iran
Contact:

Post 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.
Post Reply