Please login or register.

Login with username, password and session length
Advanced search  


For WME related articles and tutorials visit WME Resource Center.

Author Topic: Building WME Lite  (Read 5221 times)

0 Members and 1 Guest are viewing this topic.


  • 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

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);

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


  • 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:
So in Visual Studio you'd use the "Debugging->Command line arguments" setting.
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.033 seconds with 18 queries.