Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Compile difficulties with VS2008 Express  (Read 10880 times)

0 Members and 1 Guest are viewing this topic.

qvist

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
    • View Profile
Compile difficulties with VS2008 Express
« 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.
Logged

Jerrot

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 690
    • View Profile
Re: Compile difficulties with VS2008 Express
« Reply #1 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).
Logged
Mooh!
 

Page created in 0.038 seconds with 25 queries.