Wintermute Engine Forum

Wintermute Engine => Technical forum => WME sources discussion => Topic started by: qvist on July 14, 2012, 10:20:14 AM

Title: Compile difficulties with VS2008 Express
Post by: qvist on July 14, 2012, 10:20:14 AM
Hi everyone again!

I am trying to compile WME source code with Visual Studio 2008 Express but I have had some difficulties.

First off I had a problem with "fatal error RC1015: cannot open include file 'afxres.h'.". What I understand it's because VS 2008 express don't support MFC.
I changed afxres.h to include windows.h instead.
Then i got the error "error RC2104 : undefined keyword or key name: IDC_STATIC". I figured out that IDC_STATIC is define in afxres.h.
So i define to IDC_STATIC (-1)
All my errors is now gone. But I have now got 85 "warning LNK4099: PDB 'vc80.pdb'". When I compile it says "Some of the essential game files cannot be loaded. Please reinstall the game and try again."

Do anyone know to do? or must i get visual studio pro?
I will be grateful for any help - Hampus.
Title: Re: Compile difficulties with VS2008 Express
Post by: Jerrot on August 01, 2012, 11:04:55 AM
It sounds to me like you actually got it running already.
The error message you read is normal, if there is no game data found next to the executable. Just move it into place of your project (or to test it, get some free wintermute engine game and replace the exe by your own).