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

Advertisements

Entry filed under: code reading. Tags: , .

Notes on gzip and DEFLATE format My own app wall

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Calendar

June 2009
M T W T F S S
« May   Jul »
1234567
891011121314
15161718192021
22232425262728
2930  

Most Recent Posts


%d bloggers like this: