Problems Compiling

jlulian38

19-04-2006 07:45:27

Another Compiler problem :(

I'm trying to compile from the latest rar on walaber.com, but it won't compile right. I can't find the CVS either.

Anyway, I'm using V C++ version 8 and it doesn't want to compile right.


I don't have time to sift through the log right now so I'm gonna put up the most relevant part

------ Build started: Project: OgreNewt_Main, Configuration: Release Win32 ------
Compiling...
OgreNewt_World.cpp
OgreNewt_Vehicle.cpp
OgreNewt_TreeCollisionSerializer.cpp
OgreNewt_Tools.cpp
OgreNewt_RayCast.cpp
.\src\OgreNewt_RayCast.cpp(83) : warning C4018: '>' : signed/unsigned mismatch
OgreNewt_MaterialPair.cpp
OgreNewt_MaterialID.cpp
OgreNewt_Joint.cpp
OgreNewt_Debugger.cpp
OgreNewt_ContactCallback.cpp
OgreNewt_CollisionPrimitives.cpp
.\src\OgreNewt_CollisionPrimitives.cpp(391) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
.\src\OgreNewt_CollisionPrimitives.cpp(437) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
OgreNewt_Collision.cpp
OgreNewt_Body.cpp
OgreNewt_BasicJoints.cpp
OgreNewt_BasicFrameListener.cpp
c:\ogrenew\ogreaddons\demos\Include\ExampleFrameListener.h(256) : error C2039: 'setDetailLevel' : is not a member of 'Ogre::Camera'
c:\ogrenew\ogremain\include\OgreCamera.h(76) : see declaration of 'Ogre::Camera'
c:\ogrenew\ogreaddons\demos\Include\ExampleFrameListener.h(256) : error C2065: 'SDL_SOLID' : undeclared identifier
c:\ogrenew\ogreaddons\demos\Include\ExampleFrameListener.h(257) : error C2039: 'setDetailLevel' : is not a member of 'Ogre::Camera'
c:\ogrenew\ogremain\include\OgreCamera.h(76) : see declaration of 'Ogre::Camera'
c:\ogrenew\ogreaddons\demos\Include\ExampleFrameListener.h(257) : error C2065: 'SDL_WIREFRAME' : undeclared identifier
c:\ogrenew\ogreaddons\demos\Include\ExampleFrameListener.h(258) : error C2039: 'setDetailLevel' : is not a member of 'Ogre::Camera'
c:\ogrenew\ogremain\include\OgreCamera.h(76) : see declaration of 'Ogre::Camera'
c:\ogrenew\ogreaddons\demos\Include\ExampleFrameListener.h(258) : error C2065: 'SDL_POINTS' : undeclared identifier
Generating Code...
Build log was saved at "file://c:\ogrenew\ogreaddons\OgreNewt_Main\obj\Release\BuildLog.htm"
OgreNewt_Main - 6 error(s), 3 warning(s)


That's the log for OrgeNewt_Main

I thought i had it working but now it stopped working and i am sad :'(

walaber

19-04-2006 16:31:07

please delete the example*.hpp files in ogrenewt/demos/include.

they are old and no longer needed.

that should fix it.

jlulian38

20-04-2006 00:13:00

YAY!
*Dances like a 4 year old*
It finnally compilied correctly.
It also turns out i forgot to add my Ogre Library linkings, but it all works now :D

jlulian38

20-04-2006 05:38:51

Well ya happy happy, I got it to compile and after a long time finding dll's I got it to run. With the exception that it gives me an error log saying that it can't find materials when They're in the file they should be.

For you're enjoyment this is the error log:

-----------------------------------
Details:
-----------------------------------
Error #: 8
Function: FileSystemArchive::changeDirectory
Description: Cannot open requested directory ../../Media/materials/programs.
File: ..\src\OgreFileSystem.cpp
Line: 141
Stack unwinding: <<beginning of stack>>
20:49:47: *-*-* OGRE Shutdown
20:49:47: Unregistering ResourceManager for type Compositor
20:49:47: Unregistering ResourceManager for type Font
20:49:47: Unregistering ResourceManager for type Skeleton
20:49:47: Unregistering ResourceManager for type Mesh
20:49:47: Unregistering ResourceManager for type HighLevelGpuProgram
20:49:47: Unregistering ResourceManager for type Material
20:49:47: Unloading library OgrePlatform.dll



Aparently as of my many tests now, Most of the required files for the Demos are NOT in the correct places :(. I also happen to have no idea where i can get these Files.

walaber

20-04-2006 22:55:17

remove the ../media/materials/programs line from your resources.cfg file.

the .cfg files that come with the OgreNewt download should work perfectly right out of the box, you must have copied this resource.cfg from another Ogre directory.

OvermindDL1

24-04-2006 04:29:34

This is a properly named thread and only a few days old, so...

I just updated Ogre from CVS, just updated OgreNewt from CVS, Ogre built perfect, OgreNewt failed building with these errors:

------ Rebuild All started: Project: OgreNewt_Main, Configuration: Release Win32 ------

Deleting intermediate files and output files for project 'OgreNewt_Main', configuration 'Release|Win32'.
Compiling...
OgreNewt_World.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_Vehicle.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Vehicle.cpp(23) : error C2664: 'NewtonVehicleAddTire' : cannot convert parameter 3 from 'Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Vehicle.cpp(83) : error C2664: 'NewtonConstraintCreateVehicle' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_TreeCollisionSerializer.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_Tools.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Tools.cpp(105) : error C2664: 'NewtonCollisionPointDistance' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const float *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Tools.cpp(122) : error C2664: 'NewtonCollisionClosestPoint' : cannot convert parameter 6 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Tools.cpp(138) : error C2664: 'NewtonCollisionCollide' : cannot convert parameter 7 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Tools.cpp(156) : error C2664: 'NewtonCollisionCollideContinue' : cannot convert parameter 6 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Tools.cpp(163) : error C2664: 'NewtonCollisionRayCast' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Tools.cpp(172) : error C2664: 'NewtonCollisionCalculateAABB' : cannot convert parameter 3 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_RayCast.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_RayCast.cpp(83) : warning C4018: '>' : signed/unsigned mismatch
OgreNewt_MaterialPair.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_MaterialID.cpp
OgreNewt_Joint.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Joint.cpp(122) : error C2664: 'NewtonUserJointAddLinearRow' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Joint.cpp(127) : error C2664: 'NewtonUserJointAddAngularRow' : cannot convert parameter 3 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_Debugger.cpp
OgreNewt_ContactCallback.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_ContactCallback.cpp(64) : error C2664: 'NewtonMaterialGetContactForce' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_ContactCallback.cpp(71) : error C2664: 'NewtonMaterialGetContactPositionAndNormal' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_ContactCallback.cpp(77) : error C2664: 'NewtonMaterialGetContactTangentDirections' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_CollisionPrimitives.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_CollisionPrimitives.cpp(391) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
src\OgreNewt_CollisionPrimitives.cpp(437) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
OgreNewt_Collision.cpp
inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Collision.cpp(30) : error C2664: 'NewtonCollisionCalculateAABB' : cannot convert parameter 3 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_Body.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Body.cpp(264) : error C2664: 'NewtonBodyGetMassMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Body.cpp(269) : error C2664: 'NewtonBodyGetInvMass' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Body.cpp(275) : error C2664: 'NewtonBodyGetOmega' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Body.cpp(282) : error C2664: 'NewtonBodyGetVelocity' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Body.cpp(289) : error C2664: 'NewtonBodyGetAngularDamping' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Body.cpp(296) : error C2664: 'NewtonBodyGetCentreOfMass' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_Body.cpp(309) : error C2664: 'NewtonBodyAddBuoyancyForce' : cannot convert parameter 5 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_BasicJoints.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_BasicJoints.cpp(17) : error C2664: 'NewtonConstraintCreateBall' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_BasicJoints.cpp(19) : error C2664: 'NewtonConstraintCreateBall' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_BasicJoints.cpp(37) : error C2664: 'NewtonBallGetJointAngle' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_BasicJoints.cpp(47) : error C2664: 'NewtonBallGetJointOmega' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_BasicJoints.cpp(57) : error C2664: 'NewtonBallGetJointForce' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_BasicJoints.cpp(75) : error C2664: 'NewtonConstraintCreateHinge' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_BasicJoints.cpp(80) : error C2664: 'NewtonConstraintCreateHinge' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_BasicJoints.cpp(99) : error C2664: 'NewtonHingeGetJointForce' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_BasicJoints.cpp(177) : error C2664: 'NewtonConstraintCreateSlider' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_BasicJoints.cpp(182) : error C2664: 'NewtonConstraintCreateSlider' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_BasicJoints.cpp(200) : error C2664: 'NewtonSliderGetJointForce' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_BasicJoints.cpp(279) : error C2664: 'NewtonConstraintCreateUniversal' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_BasicJoints.cpp(284) : error C2664: 'NewtonConstraintCreateUniversal' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_BasicJoints.cpp(302) : error C2664: 'NewtonUniversalGetJointForce' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_BasicJoints.cpp(391) : error C2664: 'NewtonConstraintCreateUpVector' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
src\OgreNewt_BasicJoints.cpp(406) : error C2664: 'NewtonUpVectorGetPin' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_BasicFrameListener.cpp
Line3D.cpp
\OgreSDK\ogreaddons\ogrenewt\demos\Include\Line3D.cpp(79) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data

Build Time 0:38
Build log was saved at "file://g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\obj\Release\BuildLog.htm"
OgreNewt_Main - 49 error(s), 4 warning(s)


------ Rebuild All started: Project: OgreNewt_Main, Configuration: Debug Win32 ------

Deleting intermediate files and output files for project 'OgreNewt_Main', configuration 'Debug|Win32'.
Compiling...
OgreNewt_World.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_Vehicle.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Vehicle.cpp(23) : error C2664: 'NewtonVehicleAddTire' : cannot convert parameter 3 from 'Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Vehicle.cpp(83) : error C2664: 'NewtonConstraintCreateVehicle' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_TreeCollisionSerializer.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_Tools.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Tools.cpp(105) : error C2664: 'NewtonCollisionPointDistance' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const float *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Tools.cpp(122) : error C2664: 'NewtonCollisionClosestPoint' : cannot convert parameter 6 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Tools.cpp(138) : error C2664: 'NewtonCollisionCollide' : cannot convert parameter 7 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Tools.cpp(156) : error C2664: 'NewtonCollisionCollideContinue' : cannot convert parameter 6 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Tools.cpp(163) : error C2664: 'NewtonCollisionRayCast' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Tools.cpp(172) : error C2664: 'NewtonCollisionCalculateAABB' : cannot convert parameter 3 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_RayCast.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_RayCast.cpp(83) : warning C4018: '>' : signed/unsigned mismatch
OgreNewt_MaterialPair.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_MaterialID.cpp
OgreNewt_Joint.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Joint.cpp(122) : error C2664: 'NewtonUserJointAddLinearRow' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Joint.cpp(127) : error C2664: 'NewtonUserJointAddAngularRow' : cannot convert parameter 3 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_Debugger.cpp
OgreNewt_ContactCallback.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_ContactCallback.cpp(64) : error C2664: 'NewtonMaterialGetContactForce' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_ContactCallback.cpp(71) : error C2664: 'NewtonMaterialGetContactPositionAndNormal' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_ContactCallback.cpp(77) : error C2664: 'NewtonMaterialGetContactTangentDirections' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_CollisionPrimitives.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_CollisionPrimitives.cpp(391) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_CollisionPrimitives.cpp(437) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
OgreNewt_Collision.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Collision.cpp(30) : error C2664: 'NewtonCollisionCalculateAABB' : cannot convert parameter 3 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_Body.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Body.cpp(264) : error C2664: 'NewtonBodyGetMassMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Body.cpp(269) : error C2664: 'NewtonBodyGetInvMass' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Body.cpp(275) : error C2664: 'NewtonBodyGetOmega' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Body.cpp(282) : error C2664: 'NewtonBodyGetVelocity' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Body.cpp(289) : error C2664: 'NewtonBodyGetAngularDamping' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Body.cpp(296) : error C2664: 'NewtonBodyGetCentreOfMass' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_Body.cpp(309) : error C2664: 'NewtonBodyAddBuoyancyForce' : cannot convert parameter 5 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_BasicJoints.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_BasicJoints.cpp(17) : error C2664: 'NewtonConstraintCreateBall' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_BasicJoints.cpp(19) : error C2664: 'NewtonConstraintCreateBall' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_BasicJoints.cpp(37) : error C2664: 'NewtonBallGetJointAngle' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_BasicJoints.cpp(47) : error C2664: 'NewtonBallGetJointOmega' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_BasicJoints.cpp(57) : error C2664: 'NewtonBallGetJointForce' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_BasicJoints.cpp(75) : error C2664: 'NewtonConstraintCreateHinge' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_BasicJoints.cpp(80) : error C2664: 'NewtonConstraintCreateHinge' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_BasicJoints.cpp(99) : error C2664: 'NewtonHingeGetJointForce' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_BasicJoints.cpp(177) : error C2664: 'NewtonConstraintCreateSlider' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_BasicJoints.cpp(182) : error C2664: 'NewtonConstraintCreateSlider' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_BasicJoints.cpp(200) : error C2664: 'NewtonSliderGetJointForce' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_BasicJoints.cpp(279) : error C2664: 'NewtonConstraintCreateUniversal' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_BasicJoints.cpp(284) : error C2664: 'NewtonConstraintCreateUniversal' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_BasicJoints.cpp(302) : error C2664: 'NewtonUniversalGetJointForce' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_BasicJoints.cpp(391) : error C2664: 'NewtonConstraintCreateUpVector' : cannot convert parameter 2 from 'const Ogre::Real *__w64 ' to 'const dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\src\OgreNewt_BasicJoints.cpp(406) : error C2664: 'NewtonUpVectorGetPin' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewt_BasicFrameListener.cpp
Line3D.cpp
g:\OgreSDK\ogreaddons\ogrenewt\demos\Include\Line3D.cpp(79) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data

Build Time 0:44
Build log was saved at "file://g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\obj\Debug\BuildLog.htm"
OgreNewt_Main - 49 error(s), 4 warning(s)


And the individual projects had a pretty universal error set:
------ Rebuild All started: Project: Demo07_CustomJoints, Configuration: Debug_DLL Win32 ------

Deleting intermediate files and output files for project 'Demo07_CustomJoints', configuration 'Debug_DLL|Win32'.
Compiling...
OgreNewtonFrameListener.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
OgreNewtonApplication.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
MyCustomBallSocket.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Line3D.cpp
g:\OgreSDK\ogreaddons\ogrenewt\demos\Include\Line3D.cpp(79) : warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
Demo07.cpp
g:\OgreSDK\ogreaddons\ogrenewt\OgreNewt_Main\inc\OgreNewt_Collision.h(87) : error C2664: 'NewtonConvexCollisionCalculateInertialMatrix' : cannot convert parameter 2 from 'Ogre::Real *__w64 ' to 'dFloat *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
Generating Code...

Build Time 0:12
Build log was saved at "file://g:\OgreSDK\ogreaddons\ogrenewt\demos\Demo07_CustomJoints\Debug_DLL\BuildLog.htm"
Demo07_CustomJoints - 4 error(s), 1 warning(s)


And yes, I delete the original files before an update from cvs.

walaber

24-04-2006 04:50:01

did you compile Ogre in 64-bit float mode or something?

OvermindDL1

24-04-2006 06:32:57

Yep, testing speed impacts of various things. From what I've learned about Ogre, they state not to assume Ogre::Real will be anything you know, and to always cast if you need to convert it to/from float/double/etc... My code compiled clean with it, not even a single warning, and it is rather complex now.

walaber

24-04-2006 07:24:55

well, OgreNewt is definately not ready for that then. I assume Ogre::Real is just a float throughout the code.

there is a 64 bit version of Newton though... so I guess eventually I should take the time and make OgreNewt compatible with 64bit as well...

I definately don't have the time lately though to go through all of that...

OvermindDL1

24-04-2006 08:33:20

No problem, I already removed the ogrenewt (and plsm2) code from my test app, just for testing right now. :)