cannot find resources_plsm2.cfg

iceman79

06-02-2008 17:48:02

Hi,

So I've built ogre from source now (eihort 1.25 for VS 2005)

I've introduced PLSM2 and have gotten it to build, ran mapsplitter, but when I try and run the demo I get the error (you guessed it) that it canot find resources_plsm2.cfg

I have this file saved:

C:\ogrenew\Tools\Common\bin\debug
C:\ogrenew\paginglandscape\Samples\Common\bin\Debug
and
C:\ogrenew\paginglandscape\Samples\PagingLandScape2\bin\debug

and my demo exe is located

C:\ogrenew\paginglandscape\Samples\Common\bin\Debug
and
C:\ogrenew\paginglandscape\Samples\PagingLandScape2\bin\debug

My $OGRE_HOME is set to:

C:\ogrenew\Tools\Common

Any ideas ?

Thanks !!!!

iceman79

06-02-2008 23:54:34

file should have been in:

C:\ogrenew\Samples\Common\bin\Debug

Who woulda thunk ?

iceman79

07-02-2008 18:16:59

By the way if anyone is having a hard time finding which directory a process is looking for a file in, add:



#include "windows.h"

char acCurDir[MAX_PATH];

GetCurrentDirectory(MAX_PATH,acCurDir);

MessageBox(NULL,acCurDir,"Current Directory",MB_OK);