Page 1 of 1

[SOLVED] Error while compiling IrrNewt with Irrlicht 1.4.2

Posted: Sun Dec 21, 2008 8:09 pm
by Def5
I am getting error messages while compiling IrrNewt with Newton SDK 1.5 and Irrlicht 1.4.2. Here is are the messages:
error C2668: 'pow' : ambiguous call to overloaded function
error C2248: 'irr::core::CMatrix4<T>::M' : cannot access private member declared in class 'irr::core::CMatrix4<T>'
error C2039: 'Textures' : is not a member of 'irr::video::SMaterial'
There are no other error messages, just that three. Trying to compile in MSVC++ 2005.

Posted: Sun Dec 21, 2008 9:51 pm
by hybrid
You're using pretty outdated tutorials. You need to use the proper API calls into Irrlicht (pow should be fixed once math.h is included).

Posted: Mon Dec 22, 2008 1:21 am
by zillion42

Posted: Mon Dec 22, 2008 10:16 am
by Def5
Thanks, zillion42 :D . Everything what I need is in that topic.
P.S. - I didnĀ“t know that using search really helps. :wink: