SDK 18 december 2006 problems

Dirso

20-12-2006 13:59:20

Hi,
Are you sure the SDK is already updated? I tried to download it but they looks like the same... I couldn't find the new stuff.

Thanks,
Dirso

tuan kuranes

20-12-2006 14:38:58

It is updated. check for terrain05.raw in demos/media folder, if it's in there it's new version.

Dirso

20-12-2006 16:05:36

Hi,

It's there, but when I build the OgreOde solution shouldn't it create the new OgreOde_Loader.dll? It's is inside the "OgreOdeDemo" folder but not in the SDK.
Is there any history lines I could check inside the source code?
I just want to be sure I'm using the right version of this wonderful library.

Thanks a lot,
Dirso.

tuan kuranes

20-12-2006 16:46:31

if not using VC8 you might need to "backsource" the vc8 vcproj

luis

20-12-2006 21:56:44

hi Tuan,
could you explain a bit more this change?

fix forwardinterpolated stepper + fixed frame rate


i don't have the time to test and see this new version, but i'm really interested in the "fixed frame rate" and the patch in dHeightField :)

Any plans to make a multi-threaded version ? (sorry but i couldnt resist to ask this!! :) )

Dirso

20-12-2006 22:39:13

The SDK is not updated, then I tried to compile it from the source code and I still got an error: can't load OgreOde_Loader_SDK" - and I couldn't find it.

tuan kuranes

21-12-2006 14:27:22

@dirso : what link you're downloading it from ? no loader folder in it ? what compiler do you use ?

@luis: forwad interpolater has orientation problem, that are now fixed, and you can now fix a frame rate at which stepper is called, but that's wip.

Dirso

21-12-2006 21:55:06

The folder is there but the project isn't :( The url i'm dl it from is http://tuan.kuranes.free.fr/OgreOde.zip
I'm using VC8.

Thanks,
Dirso

tdev

24-12-2006 12:13:30

hi all,

i tried my best, but i cannot get it to build under linux. I will try to port this to the latest Ogre CVS HEAD, because of the better directory-structure and better input system. Has anybody done this already?

regards
thomas

luis

24-12-2006 13:43:41

The folder is there but the project isn't Sad The url i'm dl it from is http://tuan.kuranes.free.fr/OgreOde.zip

yes Dirso, i have the same here :( all OgreOde\loader\scripts are empty.

i'm using VC8 and OgreOde_Source.sln.

there is something strange also with this:
ogrenew\OgreOde\prefab\src\OgreOdeDotLoader.cpp
ogrenew\OgreOde\loader\src\OgreOdeDotLoader.cpp

completly different files but the same name, wich one should i use?

luis

24-12-2006 15:52:24

replying my self:
there is something strange also with this:
ogrenew\OgreOde\prefab\src\OgreOdeDotLoader.cpp
ogrenew\OgreOde\loader\src\OgreOdeDotLoader.cpp


since the only OgreOde_Loader.h is in ogrenew\OgreOde\loader\include then i guess ogrenew\OgreOde\prefab\src\OgreOdeDotLoader.cpp is deprecated..... ?

those are the errors i get:

1)
------ Build started: Project: ode, Configuration: ReleaseDLL Win32 ------
Linking...
Creating library ../../lib/ReleaseDLL/ode.lib and object ../../lib/ReleaseDLL/ode.exp
collision_kernel.obj : error LNK2001: unresolved external symbol "void __cdecl opcode_collider_cleanup(void)" (?opcode_collider_cleanup@@YAXXZ)
../../lib/ReleaseDLL/ode.dll : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://d:\auxi\c\apis\ogre\ogre-win32-v1-2-4\ogrenew\OgreOde\ode\build\vs2005\obj\ode\ReleaseDLL\BuildLog.htm"
ode - 2 error(s), 0 warning(s)

2)
------ Build started: Project: OgreOde_Core, Configuration: Release Win32 ------
Linking...
Creating library ..\..\lib\Release/OgreOde_Core.lib and object ..\..\lib\Release/OgreOde_Core.exp
OgreOdeGeometry.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreOde::DebugContact::update(class OgreOde::Contact * const)" (?update@DebugContact@OgreOde@@QAEXQAVContact@2@@Z)
OgreOdeGeometry.obj : error LNK2001: unresolved external symbol "public: void __thiscall OgreOde::DebugContact::setEnabled(bool)" (?setEnabled@DebugContact@OgreOde@@QAEX_N@Z)
OgreOdeGeometry.obj : error LNK2001: unresolved external symbol "public: bool __thiscall OgreOde::DebugContact::isEnabled(void)const " (?isEnabled@DebugContact@OgreOde@@QBE_NXZ)
OgreOdeGeometry.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreOde::DebugContact::~DebugContact(void)" (??1DebugContact@OgreOde@@QAE@XZ)
OgreOdeGeometry.obj : error LNK2001: unresolved external symbol "public: __thiscall OgreOde::DebugContact::DebugContact(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class OgreOde::World *)" (??0DebugContact@OgreOde@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAVWorld@1@@Z)
..\..\lib\Release/OgreOde_Core.dll : fatal error LNK1120: 5 unresolved externals
Build log was saved at "file://d:\auxi\c\apis\ogre\ogre-win32-v1-2-4\ogrenew\OgreOde\obj\Release\BuildLog.htm"
OgreOde_Core - 6 error(s), 0 warning(s)

3)
------ Build started: Project: Demo_Landscape, Configuration: Release Win32 ------
Compiling...
Landscape.cpp
d:\auxi\c\apis\ogre\ogre-win32-v1-2-4\ogrenew\OgreOde\demos\Landscape\include\Landscape.h(4) : fatal error C1083: Cannot open include file: 'OgreOde_Loader.h': No such file or directory
Build log was saved at "file://d:\auxi\c\apis\ogre\ogre-win32-v1-2-4\ogrenew\OgreOde\demos\Landscape\obj\Release\BuildLog.htm"
Demo_Landscape - 1 error(s), 0 warning(s)

In order to compile&link Ode (error #1) i removed the file (from de project) collision_trimesh.cpp and added OgreOde\ode\ode\src\collision_trimesh_opcode.cpp

Error #2
added OgreOdeDebugContact.cpp to OgeOde_Core vcproj.

Error #3:
added ..\..\..\..\loader\include to the "aditional include directories" in all demos.

After all those modifications now i'm having (obviously):
Linking...
SimpleScenes.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall OgreOde_Loader::DotLoader::DotLoader(class OgreOde::World *,class OgreOde::Space *)" (__imp_??0DotLoader@OgreOde_Loader@@QAE@PAVWorld@OgreOde@@PAVSpace@3@@Z) referenced in function "public: __thiscall SimpleScenes::SimpleScenes(class OgreOde::World *)" (??0SimpleScenes@@QAE@PAVWorld@OgreOde@@@Z)

i'm going to make a .vcproj to build OgreOde_Loader....

luis

24-12-2006 16:45:32

can't make it work, i give up :(

Dirso

24-12-2006 20:14:35

I couldn't do it too. I think it's just the project file that is missing (the loader one).

douglaz

24-12-2006 20:57:01

Try something like this (I'm a linux user, but I've fixed linux build in this way):

1) Copy the scripts from Prefab to Loader, and change the files to work with Loader
2) Add Loader to the demos build scripts in the same way that Prefab is used.

Loader works like Prefab, if Prefab is working you can make Loader work too.

luis

25-12-2006 12:44:44

1) Copy the scripts from Prefab to Loader, and change the files to work with Loader
2) Add Loader to the demos build scripts in the same way that Prefab is used.


I did exactly what you said! but then i got link errors:

OgreOdeDotLoader.obj : error LNK2001: unresolved external symbol "protected: static unsigned int OgreOde_Prefab::Object::instanceNumber" (?instanceNumber@Object@OgreOde_Prefab@@1IA)
OgreOdeDotLoader.obj : error LNK2001: unresolved external symbol "public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > OgreOde_Prefab::RagdollFactory::FACTORY_TYPE_NAME" (?FACTORY_TYPE_NAME@RagdollFactory@OgreOde_Prefab@@2V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A)
..\..\lib\Debug/OgreOde_Loader_d.dll : fatal error LNK1120: 2 unresolved externals

And i lost my patience :(

how did you solve this ?

luis

01-01-2007 18:44:21

It is updated. check for terrain05.raw in demos/media folder, if it's in there it's new version.

i think it would be much better if the release file has the date or its version number....

SDK 18 december 2006 ---> 20061218_OgreOde.zip
or something like that.

still i couldnt build this release :(

Dirso

06-01-2007 14:38:52

Hi guys!

Did any of you have anyluck building this release under VS2005? If so, could you please tell me where did you get the missing project file?

Thanks a lot,
Dirso.

tuan kuranes

12-01-2007 14:44:18

Ok, I'll fix the Zip asap.

The Source installer should work meanwhile.

About date, thing is that I use scripts, so I'll need someone to make a batch script that does that...

tuan kuranes

12-01-2007 15:44:05

Should be fixed now.