Building samples with VS2005

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

Pencheff
Just popping in
Just popping in
Posts: 5
Joined: Fri Aug 29, 2008 11:34

Building samples with VS2005

Postby Pencheff » Fri Aug 29, 2008 12:02

Hi all,

I'm using VS2005 (no SP1), DirectX 9.0 SDK (april 2005), Windows XP.

I'm trying to run the CEGUI 0.6.1 samples, I comiled all of them, tried different options - Debug_Static, Debug, Release...non of the samples start running, all of them crash in the line:

Code: Select all

// initialise the gui system
new CEGUI::System(pimpl->d_renderer);

This happens both with OpenGL and Direct3D renderers.

I have all the required binaries in the bin folder (where the samples put their output executables), so I'm assuming I've "installed" the CEGUI correctly. What have I missed ?

PS: I'm sorry if double posting, it's quite hard to find an answer for this in the huge amount of topics with similar problems.

UPDATE:
In Debug and Release modes, the samples are outputing error:
---------------------------
Sample_Demo7_d.exe - Unable To Locate Component
---------------------------
This application has failed to start because d3dx9d_37.dll was not found. Re-installing the application may fix this problem.

I've downloaded the latest DX SDK (august 2008), there is no such file there, I also got the latest DX runtime, both in Debug and Retail modes of DX I get this error.

I'm pretty stuck, need help...thanks
Last edited by Pencheff on Fri Aug 29, 2008 15:22, edited 1 time in total.

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Re: Building samples with VS2005

Postby Jamarr » Fri Aug 29, 2008 15:20

Pencheff wrote:(no SP1)

Pencheff
Just popping in
Just popping in
Posts: 5
Joined: Fri Aug 29, 2008 11:34

Postby Pencheff » Fri Aug 29, 2008 15:22

I got the VS2005 SP1 today, installed it already, I get the same error :(

Pencheff
Just popping in
Just popping in
Posts: 5
Joined: Fri Aug 29, 2008 11:34

Postby Pencheff » Sat Aug 30, 2008 08:11

I really must be missing something, when built in release_static mode I don't get the d3dx9_37.dll error, but I get a message saying the TaharezLook.scheme does not exist. Since I cannot debug (and I have no log from CEGUI yet) I put a messagebox to output the path that the sample searches for that scheme, it points to "..\datafiles"...and the files are there.

About that d3dx9_37.dll error, I'm not an expert, but I think the binaries of CEGUI are built with different version of the SDK rather than the one I use. I downloaded all the latest DXSDK packages I can find, I have the latest August 2008, and the runtime from June 2008. Where's this file located ?

Pencheff
Just popping in
Just popping in
Posts: 5
Joined: Fri Aug 29, 2008 11:34

Postby Pencheff » Sun Aug 31, 2008 14:43

OK got it working. I had to uninstall VS2005 and install again, then put SP1 over. I still can't explain to myself why the d3dx9_37.dll problem and where's this file located, but anyway I can now continue my work with CEGUI integration.

Thanks anyway.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 5 guests