Missing include files?

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

MrDoom
Just popping in
Just popping in
Posts: 12
Joined: Sun May 04, 2008 00:24

Missing include files?

Postby MrDoom » Sun May 04, 2008 00:34

Hey all, I am currently trying to get CEGUI built. I'm using Visual Studio 2005 Professional and have run the bat file in the premake directory to make a solution file.

When I go to build the solution however, I get the following errors:
1>c:\downloads\software\game engines\cegui-0.6.0\cegui-0.6.0\src\elements\ceguieditbox.cpp(34) : fatal error C1083: Cannot open include file: 'pcre.h': No such file or directory

...

1>c:\downloads\software\game engines\cegui-0.6.0\cegui-0.6.0\include\ceguifreetypefont.h(37) : fatal error C1083: Cannot open include file: 'ft2build.h': No such file or directory

...

1>c:\downloads\software\game engines\cegui-0.6.0\cegui-0.6.0\include\ceguifreetypefont.h(37) : fatal error C1083: Cannot open include file: 'ft2build.h': No such file or directory

...

1>c:\downloads\software\game engines\cegui-0.6.0\cegui-0.6.0\include\ceguifreetypefont.h(37) : fatal error C1083: Cannot open include file: 'ft2build.h': No such file or directory


Suggestions please. Thank you.

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 » Sun May 04, 2008 10:38

Hi and welcome :)

Seems that you are missing the dependencies:
http://sourceforge.net/project/showfile ... _id=128389

Pick the one for your VC version (in your case VC8) and unzip them into your cegui root directory.

Good luck!
Check out my released snake game using Cegui!

MrDoom
Just popping in
Just popping in
Posts: 12
Joined: Sun May 04, 2008 00:24

Postby MrDoom » Sun May 04, 2008 13:47

Ok, I'll give that a go later when I'm back at my dev computer.

Do you know which Service Pack of VS 2005 those libs were built with? I have one computer with SP1 installed and another without any service packs installed; reason I ask is that VS can get grouchy with you if you try and link to a lib built with a different SP.

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 » Sun May 04, 2008 18:59

Hi,

i wouldn't know. I built the 2005 SDK with the Express Edition.

HTH.
Check out my released snake game using Cegui!

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Mon May 05, 2008 08:19

Hi,

The dependencies were built using a compiler with SP1 applied.

Note to Scriptkid:
If you did not apply SP1 for VC++ 2005 express when building the SDK, then we may have an issue :lol:

CE.

MrDoom
Just popping in
Just popping in
Posts: 12
Joined: Sun May 04, 2008 00:24

Postby MrDoom » Mon May 05, 2008 18:52

Right, I had got this working on my Vista laptop (since I was working on the go), now I'm back at home and am trying to get this compiling on XP again.

It compiles fine, exactly the same as I did for Vista, the problem comes when I try and run my application. I get some errors when loading the CEGUI dll's.

Image

'I3D2.exe': Loaded 'C:\Documents and Settings\Jamie\My Documents\SVN\Terrain\I3D2\debug\CEGUIBase_d.dll', Symbols loaded.
LDR: LdrpWalkImportDescriptor() failed to probe c:\Documents and Settings\Jamie\My Documents\SVN\Terrain\I3D2\debug\CEGUIBase_d.dll for its manifest, ntstatus 0xc0150002
Debugger:: An unhandled non-continuable exception was thrown during process load
The program '[2464] I3D2.exe: Native' has exited with code -1072365566 (0xc0150002).


Do you think this could be because this compiler is not patched to SP1? I always held back on the upgrade since the PCs at Uni don't have it and I wanted to ensure that my assignment code would be compatible between there and here; as it stands now, next year is my placement year so I don't have to worry about assignment code for a while meaning I can now run the update (it would also fix the memory leak issue in std::stringstream :D).

Think it might fix it?

EDIT
Yeah, it was the SP issue. Installing SP1 and rebuilding fixed all.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 20 guests