Page 1 of 1

Running samples

Posted: Tue Dec 05, 2006 18:40
by Sesshomurai
Hi,
I downloaded the 0.5.0b release and tried to run the samples. It complained I was missing a d3dx9d_31.dll . Any tips to fix it appreciated.

Posted: Tue Dec 05, 2006 19:24
by scriptkid
Maybe you have a Dx SDK and a different DX runtime? Just a guess...

[EDIT] Assuming that you built the Direct3D renderer of course. If not, please update the 'config.lua' file in the makefiles/premake directory. [/EDIT]

Posted: Wed Dec 06, 2006 00:58
by Sesshomurai
Ok. I see it was configured for opengl. thanks for the tip.

[EDIT] Got it to build in VS2005 fine now. no errors, but when trying to run one of the samples it complains it cannot find CEGUIBase_d.dll. I have added that directory to the options/VC++ directories. I even added the base CEGUI solution with the samples and built from scratch. no errors. Doesn't run. [/EDIT]

Thanks for any suggestions!

Posted: Wed Dec 06, 2006 08:27
by scriptkid
You should be fine when copying the dll's from Cegui/bin to Cegui/Samples/Bin. Or play around with target build directories and startup folders when running in debug mode. Adding projects to the sample solution is not required.

Welcom to CEGUI and the forums btw :-)

Posted: Wed Dec 13, 2006 01:44
by Sesshomurai
Hi again,
I'm afraid I need some help. I have all the projects loaded into VC studio and they build fine. But to start small I built the CEGUIBase, then one of the samples. They both built fine, however I cannot execute the sample because it says it cannot find CEGUIBase.dll. The only way I could run the sample was to debug it in VC studio, unless there is an easier way.

How is it possible it cannot find it when I just compiled with it? Please help. It is confusing me.

Sessh

EDIT: I also copied all the .dlls into the bin directory and tried to run a sample.exe there and it also said it could not find the .dll when it is right in the same dir. Odd.