help! Can`t compile with OgreOde_Core with VS8 and OGRE1.4.x

la8154

12-12-2008 07:28:25

compiler shows the message

error C2065:ogreodegeometry.cpp(881) : error C2664: 'dGeomTriMeshDataBuildSimple' : cannot convert parameter 4 from 'int *' to 'const dTriIndex *'
What should I do....

I have included the right ode/ogre.dll file.

very thanks!!

rewb0rn

13-12-2008 10:52:36

http://www.ogre3d.org/wiki/index.php/Co ... e_Ode_Core

la8154

15-12-2008 02:53:27

thanks for your help very much

I check the wiki and do similiar steps but still have some errors..

the compiler shows the errors as follow..

ogreode\include\ogreodejoint.h(59) : error C2065: 'dParamERP' : undeclared identifier

ogreode\src\ogreodejoint.cpp(273) : error C3861: 'dJointSetBallParam': identifier not found

ogreode\src\ogreodejoint.cpp(278) : error C3861: 'dJointGetBallParam': identifier not found

ogreodejoint.h(59) : error C2065: 'dParamERP' : undeclared identifier


so what shold I do for these errors...

:cry:

thanks very much~~

P.S I have the OGRE 1.4.4 version and VC8.1 and ode 0.10.1

rewb0rn

15-12-2008 18:13:41

sorry i dont know. i havent built ogreode since i wrote the tutorial and i am currently not going to. if you find out whats wrong please share results e.g. by expanding the tutorial.

la8154

16-12-2008 05:48:19

I have solved this problem by mark these line which causes error message.

Finally I can compile the OgreOde_core and get the lib..and it works.

I guess the problem is that my ode version difference with the author`s ..

Fumero

26-03-2009 01:14:17

I have a new problem that i can't solve...i need your opinion please...
it happen after compile very good the OgreOde_Core but i don't know to do with this error... please help me...

1>Linking...
1> Creating library ..\..\lib\Debug/OgreOde_Core_d.lib and object ..\..\lib\Debug/OgreOde_Core_d.exp
1>Embedding manifest...
1>Performing Post-Build Event...
1>The system cannot find the path specified.
1> 0 file(s) copied.
1>Project : error PRJ0019: A tool returned an error code from "Performing Post-Build Event..."
1>Project : warning PRJ0018 : The following environment variables were not found:
1>$(ODE_HOME)
1>Build log was saved at "file://c:\Program Files\OgreOde\obj\Debug\BuildLog.htm"
1>OgreOde_Core - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Chernetcov

26-03-2009 20:30:56

I think, that you made mistake in definition of properties of linker in project properties. Look, what you wroted in Additional Library Directories.