Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Building WME Lite  (Read 5916 times)

0 Members and 1 Guest are viewing this topic.

Airwaffle

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
    • View Profile
Building WME Lite
« on: March 22, 2012, 04:17:26 AM »

Em, I don't know if this belongs here, but I'm having some problem building the code for wmelite with Visual Studio 2008 Express for Windows. I followed these instructions http://res.dead-code.org/doku.php/wmelite:building.

First off I get the error: "fatal error RC1015: cannot open include file 'afxres.h'." in wme.rc.
I looked around on the internet a bit, and I tried to solve it by changing it to 'windows.h', since that seemed to work for some people (on different projects though).

Now I get "error PRJ0019: A tool returned an error code from "Performing Post-Build Event..." instead. So yeah, I look at the post-build events,

@copy dep\bass\lib\*.dll $(TargetDir) > nul
@copy dep\sdl\lib\*.dll $(TargetDir) > nul
@copy dep\FreeImage\lib\*.dll $(TargetDir) > nul

Guess I'll just copy them manually and disable the post event. Seems to work.

Then I just get an error message "Some of the essential files are missing. Please reinstall".
Which I track comes from the file PlatformSDL.cpp row 114.

#ifdef __WIN32__
      ::MessageBox(NULL, "Some of the essential files are missing. Please reinstall.", NULL, MB_OK|MB_ICONERROR);
#endif

 I just don't really see where to go from here.
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Building WME Lite
« Reply #1 on: March 22, 2012, 08:48:28 AM »

Now you need to point WME to some game data, which is done using command-line arguments, as described here: http://res.dead-code.org/doku.php/wmelite:running
So in Visual Studio you'd use the "Debugging->Command line arguments" setting.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.218 seconds with 19 queries.