User Tools

Site Tools


This is an old revision of the document!

Compile Rocrail with MinGW, MSYS and wxWidgets

Developer corner

Tested under Windows 7 32bit and Windows 10 64bit.

Install GIT

Download from the latest GIT installer.

Tested with "git version 1.9.4.msysgit.2".

Install MinGW

Download from the latest mingw-get-setup.exe.

Tested with "0.6.2-beta".

Start the setup after it has been downloaded.

Select following packages:

  • mingw32-base
  • mingw32-gcc-g++
  • msys-base
  1. Install it as proposed in C:\MinGW.
  2. Set the start of the user PATH environment variable to: "C:\MinGW\bin;…" (The three dots represents the rest of the variable value.)
  3. Rename the mingw32-make.exe into make.exe


Tested with wxWidgets 3.0.2.

From source

Build the wxWidgets libraries

Now double click on the MSYS batch file C:\MinGW\msys\1.0\msys.bat to open a unix like shell and try this:

cd c:
cd wxWidgets-3.0.2
mkdir mingw
cd mingw
../configure --disable-shared --enable-unicode --enable-graphics_ctx --enable-monolithic 
make BUILD=release
  1. Move or copy the library from C:\wxWidgets-3.0.2\mingw\lib to C:\wxWidgets-3.0.2\lib-unicode.
  2. Work your way down the directory tree you just moved or copied until you find a directory named wx, containing the file
  3. Copy this file to the wxWidgets-3.0.2\include\wx directory.

Get the Rocrail sources

checkout the sources with GIT:

mkdir C:\Projects
cd C:\Projects
git clone <repository link> Rocrail

Build the project

Open a command shell and change directory to C:\Projects\Rocrail and execute make:

cd C:\Projects\Rocrail
make PLATFORM=WIN32 NATIVE=WIN32 MINGWINSTALL=C:\wxWidgets-3.0.2 wxversion=3.0
cmingw-en.1551103192.txt.gz · Last modified: 2019/02/25 14:59 by rjversluis