I have run into two problems(:oops: ) and one question.
1. I am using the svn version of Irrlicht. When I compile the program it says I cannot store pointer (to class) IEventReceiver to variable receiver. I think there is a change in the api for the svn. What do I need to do to fix this?
2. I have included the libirrlicht.a, IPhysics.lib, and Newton.lib libraries into my project settings. I also have included IPhysics.h and made sure that Newton.h is in the same folder as IPhysics.h. However, when I compile the program in Dev-C++ I get the following linker problem:
C:\cplus\Irrlicht\Copy of helios_racer\main.o(.text+0x5b5) In function `main':
[Linker error] undefined reference to `CPhysics::CPhysics()'
[Linker error] undefined reference to `CPhysics::init(irr::ITimer*)'
[Linker error] undefined reference to `CPhysics::addCar(SPhysicsCar*)'
[Linker error] undefined reference to `CPhysics::addEntity(SPhysicsStaticMesh*)'
[Linker error] undefined reference to `CPhysics::addEntity(SPhysicsStaticMesh*)'
C:\cplus\Irrlicht\Copy of helios_racer\main.o(.text+0x155b) In function `main':
[Linker error] undefined reference to `CPhysics::update()'
[Linker error] undefined reference to `CPhysics::~CPhysics()'
[Linker error] undefined reference to `CPhysics::~CPhysics()'
51:7 C:\cplus\Irrlicht\Copy of helios_racer\main.o(.text+0x155b) ld returned 1 exit status
C:\cplus\Irrlicht\Copy of helios_racer\Makefile.win [Build Error] [Helios_Racer.exe] Error 1
How do I fix this?:?:
And finally, how do I make the car and wheels out of meshes rather than just letting IPhysics display them as spheres and rectangles? Currently there is not an example for this. If someone could post some example code for using this fuction that would be great!
Otherwise, I think IPhysics is great. Keep up the good work, Nick_Japan! I like the Irrlicht style coding a lot!:lol:
3ddev