Skip to content
Browse files


Fix Visual Studio instructions.

Add links for all dependencies.

Fix grammar/omissions etc.

Signed-off-by: Rafael Kitover <>
  • Loading branch information
rkitover committed Aug 20, 2019
1 parent 8ceef90 commit c64dd259b9eff76068530bf3498d23152bab1bc1
Showing with 27 additions and 19 deletions.
  1. +27 −19
@@ -3,7 +3,11 @@

- [Visual Boy Advance - M](#visual-boy-advance---m)
- [Note for Windows Users](#note-for-windows-users)
- [Building](#building)
- [Building a Libretro core](#building-a-libretro-core)
- [Visual Studio Support](#visual-studio-support)
- [Dependencies](#dependencies)
- [Cross compiling for 32 bit on a 64 bit host](#cross-compiling-for-32-bit-on-a-64-bit-host)
- [Cross Compiling for Win32](#cross-compiling-for-win32)
- [CMake Options](#cmake-options)
@@ -15,14 +19,14 @@
<!-- END doctoc generated TOC please keep comment here to allow auto update -->

[![Join the chat at](](
[![Build Status](](
[![Build status](](

# Visual Boy Advance - M

Game Boy Advance Emulator

Homepage and Forum:
The Forum is here:

Windows and Mac builds are in the [releases tab](

@@ -61,9 +65,10 @@ make -j`nproc`

`./installdeps` is supported on MSys2, Linux (Debian/Ubuntu, Fedora, Arch,
Solus and RHEL/CentOS) and Mac OS X (homebrew, macports or fink.)
Solus, OpenSUSE, Gentoo and RHEL/CentOS) and Mac OS X (homebrew, macports or

The Ninja cmake generator is also now supported, including on msys2 and Visual Studio.
The Ninja cmake generator is also now supported (except for Visual Studio.)

## Building a Libretro core

@@ -76,7 +81,7 @@ $ make
Copy to your RetroArch cores directory.

### Visual Studio Support
## Visual Studio Support

For visual studio, dependency management is handled automatically with vcpkg,
just clone the repository with git and build with cmake. You can do this from
@@ -93,33 +98,36 @@ To build in the visual studio command prompt, use something like this:
mkdir vsbuild
cd vsbuild
cmake .. -DVCPKG_TARGET_TRIPLET=x64-windows
msbuild /m .\ALL_BUILD.vcxproj
msbuild /m .\ALL_BUILD.vcxproj -p:Configuration=Release

### Dependencies
This support is new and we are still working out some issues, including support
for static builds.

## Dependencies

If your OS is not supported, you will need the following:

- C++ compiler and binutils
- [make](
- [CMake](
- [git](
- nasm (optional, for 32 bit builds)
- [nasm]( (optional, for 32 bit builds)

And the following development libraries:

- [zlib]( (required)
- [mesa]( (if using X11 or any OpenGL otherwise)
- ffmpeg (optional, for game recording)
- gettext and gettext tools (optional, with ENABLE_NLS)
- png (required)
- [SDL]( (required)
- [ffmpeg]( (optional, for game recording)
- [gettext]( and gettext-tools (optional, with ENABLE_NLS)
- [libpng]( (required)
- [SDL2]( (required)
- [SFML]( (optional, for link)
- OpenAL (optional, a sound interface)
- [wxWidgets]( (required, 2.8 is still supported, --enable-stl is supported)
- [OpenAL]( or [openal-soft]( (optional, a sound interface)
- [wxWidgets]( (required for GUI, 2.8 is still supported, --enable-stl is supported)

On Linux and similar, you also need the version of GTK your wxWidgets is linked
to (usually 2 or 3).
to (usually 2 or 3) and the xorg development libraries.

Support for more OSes/distributions for `./installdeps` is planned.

@@ -136,9 +144,9 @@ may be `win32` which is an alias for `mingw-w64-i686` to target 32 bit Windows,
or `mingw-gw64-x86_64` for 64 bit Windows targets.

The target is implicit on MSys2 depending on which MINGW shell you started (the
value of `$MSYSTEM`.) It will not run in the MSys shell.
value of `$MSYSTEM`.)

On Debian/Ubuntu this uses the MXE apt repository and works really well.
On Debian/Ubuntu this uses the MXE apt repository and works quite well.

On Fedora it can build using the Fedora MinGW packages, albeit with wx 2.8, no
OpenGL support, and no Link support for lack of SFML.
@@ -149,7 +157,7 @@ broken, I will at some point redo the arch stuff to use MXE as well.
## CMake Options

The CMake code tries to guess reasonable defaults for options, but you can
override them on the cmake command with e.g.:
override them, for example:


0 comments on commit c64dd25

Please sign in to comment.
You can’t perform that action at this time.