[solved] OgreNewt compilation - identifier not found errors

Acadien

17-07-2009 16:40:17

Hi there,

I'm very new at this graphics stuff.

I've got Ogre 1.6 setup and also have Newton compiling. Now I'm trying to get OgreNewt to compile so I can connect the 2, but I'm not succeeding.

When I try to compile, I get errors stating "Identifier not found". A lot of them, like for all variables and functions??

Would anyone be kind enough to give me some insight? =)

Thanks!

Zero23

18-07-2009 09:44:31

Can you pls post one of these errors.

Zero

Acadien

20-07-2009 13:03:05

Certainly,

Here is a sample of the errors I'm getting. I get them for all 9 projects in the OgreNewt solution.


d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_ContactCallback.h(41) : error C3861: 'NewtonMaterialDisableContact': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_ContactCallback.h(44) : error C3861: 'NewtonMaterialGetCurrentTimestep': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_ContactCallback.h(53) : error C2065: 'm_contact' : undeclared identifier
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_ContactCallback.h(80) : error C3861: 'NewtonMaterialSetContactStaticFrictionCoef': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_ContactCallback.h(83) : error C3861: 'NewtonMaterialSetContactKineticFrictionCoef': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(77) : error C3861: 'NewtonVehicleTireIsAirBorne': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(80) : error C3861: 'NewtonVehicleTireLostSideGrip': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(83) : error C3861: 'NewtonVehicleTireLostTraction': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(86) : error C3861: 'NewtonVehicleGetTireOmega': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(89) : error C3861: 'NewtonVehicleGetTireNormalLoad': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(92) : error C3861: 'NewtonVehicleGetTireSteerAngle': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(95) : error C3861: 'NewtonVehicleGetTireLateralSpeed': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(98) : error C3861: 'NewtonVehicleGetTireLongitudinalSpeed': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(104) : error C3861: 'NewtonVehicleSetTireTorque': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(107) : error C3861: 'NewtonVehicleSetTireSteerAngle': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(110) : error C3861: 'NewtonVehicleTireCalculateMaxBrakeAcceleration': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(113) : error C3861: 'NewtonVehicleTireSetBrakeAcceleration': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(116) : error C3861: 'NewtonVehicleSetTireMaxSideSleepSpeed': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(119) : error C3861: 'NewtonVehicleSetTireSideSleepCoeficient': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(122) : error C3861: 'NewtonVehicleSetTireMaxLongitudinalSlideSpeed': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(125) : error C3861: 'NewtonVehicleSetTireLongitudinalSlideCoeficient': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_Vehicle.h(179) : error C3861: 'NewtonVehicleReset': identifier not found
d:\documents and settings\3d-frog\my documents\visual studio 2008\projects\ogre\ogreaddons\ogrenewt\ogrenewt_main\inc\OgreNewt_BodyIterator.h(55) : error C3861: 'NewtonWorldForEachBodyDo': identifier not found
Generating Code...
Build log was saved at "file://d:\Documents and Settings\3D-Frog\My Documents\Visual Studio 2008\Projects\ogre\ogreaddons\OgreNewt\demos\Demo08_RagdollExample\Build\Release\BuildLog.htm"
Demo08_RagdollExample - 175 error(s), 4 warning(s)
========== Build: 0 succeeded, 9 failed, 0 up-to-date, 0 skipped ==========

Zero23

20-07-2009 13:33:45

Do you use the newest OgreNewt? With Newton 2?
In some Newton Versions is the Vehicle disabled, so the compiler cant find this!

Acadien

20-07-2009 13:42:37

Yes, I was using Newton 2.02, however this error wasn't only for the vehicle, but for everything pretty much =P, the errors I posted were only a small sample.

I have just now tried downgrading to Newton 1.53 and that seems to have taken care of these "Identifier not found" errors. I still have a few but I think I'll be able to take care of them.