Integrating Newton 1.53 with Irrlicht

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Mania-92
Posts: 16
Joined: Sat May 19, 2007 2:21 pm

Integrating Newton 1.53 with Irrlicht

Post by Mania-92 »

The tutorial on the subject is outdated, it only works with newton versions before 1.53. I can't find version 1.52 and have no experience with Newton to tweak the tutorials code.

So does have anyone a clue what to change in the tutorial's code, or has someone the Newton 1.52 SDK?
Mania-92
Posts: 16
Joined: Sat May 19, 2007 2:21 pm

Post by Mania-92 »

Tried compiling today and I get this error:
error C2259: 'CGame' : cannot instantiate abstract class
1> due to following members:
1> 'bool irr::IEventReceiver::OnEvent(const irr::SEvent &)' : is abstract
1> c:\users\ed\documents\opengl\irrlicht-1.5\include\ieventreceiver.h(351) : see declaration of 'irr::IEventReceiver::OnEvent'
Anyone who could help me on this one?
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

See the FAQ thread, the OnEvent method has changed.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
MarcinS
Posts: 25
Joined: Tue Feb 17, 2009 3:14 pm
Location: Poland

Post by MarcinS »

probably the method was override in wrong way

check if in your code of class based on IReceiver there is "const irr::SEvent &" in header (and body) of OnEvent becouse there is probably irr::SEvent* or something else
Mania-92
Posts: 16
Joined: Sat May 19, 2007 2:21 pm

Post by Mania-92 »

Fixed it but it came up with some new errors, fixed many of them but got stuck with one:
error C2248: 'irr::core::CMatrix4<T>::M' : cannot access private member declared in class 'irr::core::CMatrix4<T>'
1> with
1> [
1> T=irr::f32
1> ]
1> ...\irrlicht-1.5\include\matrix4.h(320) : see declaration of 'irr::core::CMatrix4<T>::M'
1> with
1> [
1> T=irr::f32
1> ]
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

use matrix.pointer() instead, or the other methods.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Post Reply