Running samples

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Sesshomurai
Just popping in
Just popping in
Posts: 10
Joined: Tue Dec 05, 2006 17:20

Running samples

Postby Sesshomurai » Tue Dec 05, 2006 18:40

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.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Tue Dec 05, 2006 19:24

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]

Sesshomurai
Just popping in
Just popping in
Posts: 10
Joined: Tue Dec 05, 2006 17:20

Postby Sesshomurai » Wed Dec 06, 2006 00:58

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!

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Wed Dec 06, 2006 08:27

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 :-)

Sesshomurai
Just popping in
Just popping in
Posts: 10
Joined: Tue Dec 05, 2006 17:20

Postby Sesshomurai » Wed Dec 13, 2006 01:44

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.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 29 guests