Build Mame with Visual Studio
June 8, 2009 at 11:35 pm Leave a comment
The official document is a little out-dated. I met several problems during build. Here is how I eventually got a debug build:
Install Mame build package & DirectX SDK
Open a Visual Studio Command Prompt (Start->All Programs->Microsoft Visual Studio 200x->Visual Studio Tools->Visual Studio 200x Command Prompt)
cd /mame_src/
set path=%PATH%;/path/to/mingw/bin
“c:\Program Files\Microsoft DirectX SDK (March 2009)\Utilities\bin\dx_setenv.cmd” x86
mingw32-make MSVC_BUILD=1 DEBUG=1 SYMBOLS=1 DIRECTINPUT=8 DIRECT3D=9
Open vmamed.exe for debug
Entry filed under: code reading. Tags: mame, visual studio.
Trackback this post | Subscribe to the comments via RSS Feed