[solved]Dynamics_Demos problem

pawka

12-05-2008 20:39:09

Hi, I'm trying to compile the Dynamics_Demos but i have two exceptions (I'm using vc9 and OGRE 1.4.7 Eihort, in debug mode; in release mode i have error that libbulletcollision.lib couldn't be found - in fact there is no such lib on my disc):


...
OGRE EXCEPTION(2:InvalidParametersException): Parameter called lightSpecularColor does not exist. in GpuProgramParameters::_findNamedConstantDefinition at f:\ogre_cvs_vc9\ogrenew_146\ogremain\src\ogregpuprogram.cpp (line 883)
19:25:06: Error at line 29 of deferred_post_minilight.hlsl.program: Invalid param_named_auto attribute - Parameter called lightSpecularColor does not exist.

...

OGRE EXCEPTION(5:ItemIdentityException): Could not find material OgreBulletDemos/TargetSights in OverlayElement::setMaterialName at f:\ogre_cvs_vc9\ogrenew_146\ogremain\src\ogreoverlayelement.cpp (line 332)
...


can anyone help me how to resolve that problems or how to get libbulletcollision.lib (there is only with _d postfix)??

pepel

25-05-2008 12:59:59

The second exception is because the demo is not loading the Media folder correctly...

No idea respect the first one.

regards,

pepel

IFMaster_2005

25-05-2008 17:19:10

I think both problems are for the same, because Ogre can't find the media necesary, take a look the resources.cfg file and make sure there are the folders to all folders in "OgreBullet\demos\media".

I hope it can help :P

pawka

25-05-2008 18:15:53

Ok, I think we solved problem, I pasted all cfg files from ogreSDK and replaced those files in OgreBullet:/ (such a stupid thing:/)