Imagination PowerVR SDK Blog

I cannot run some demos


#1

Hi, everyone, some demos shows cannot load the .pod file in SDK1.1. Did you meet the same problem? How to handle it?

Thanks.


#2

I need to know a bit more before I can help you, I think. Which platform are you running the SDK demos on? Are these the binary versions we supply or have you built them yourself from source? Which particular demos?

G


#3

Thanks, sorry for the late response. I use Windows XP and Visual C++  2005 to compile the demo codes.

I can run some demos, such as Vase, Mouse. But regarding to ChameleonMan, OptimizedMesh, PhantomMask and ShadowTechniques, I cannot run since it says, “Failed to load POD scene” or “Failed to load Sphere_*.pod”, do you know why is that?

Thanks a lot!


#4

These demos need to load .POD files, which have to be in the current working directory.


If you want to run them in Visual Studio, go to Project->Properties, select Debugging on the left side and set Working Directory to “…”. The .POD files are generally two levels up from the project file, e.g. if the project file is in DemosChameleonManOGLESBuildWindowsPC, the .POD files are in DemosChameleonManOGLES.


#5

Thanks, I select the working directory, but it shows the same error information, that "failed to load POD scene"!

Is there any other cause? Thank you!


#6

Could you try to copy the .POD files to where the executable is, and run it outside of Visual C++?