Linux:
sudo apt install mingw-w64
macOS:
sudo port install mingw-w64
git clone --recurse-submodules https://github.com/wxWidgets/wxWidgets.git cd wxWidgets
Tags can be found here:
cd wxWidgets git checkout 3.2 mkdir winbuild
cd wxWidgets git checkout master git pull git submodule update git checkout 3.2
Linux:
cd winbuild ../configure --prefix=/usr/x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-msw --enable-unicode --disable-shared --enable-graphics_ctx --enable-monolithic --enable-stc --enable-debug=no make sudo make install
macOS:
cd winbuild ../configure --prefix=/opt/local/x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-msw --enable-unicode --disable-shared --enable-graphics_ctx --enable-monolithic --enable-stc --enable-debug=no make -j8 sudo make install
cd win32build ../configure --prefix=/usr/i686-w64-mingw32 --host=i686-w64-mingw32 --target=i686-w64-mingw32 --with-msw --enable-unicode --disable-shared --enable-graphics_ctx LDFLAGS=-static --enable-monolithic --enable-stc --enable-debug=no make sudo make install
git clone <repository link> cd Rocrail
cd Rocrail git pull
cd rocs make fromtar all cd .. cp unxbin/ogen winbin cp unxbin/wgen winbin cp unxbin/xml2cstr winbin cp unxbin/png2wx winbin
Linux:
make all DEBUG= PLATFORM=WIN64 TOOLPREFIX=x86_64-w64-mingw32- LIBSUFFIX=-x86_64-w64-mingw32 MINGWINSTALL=/usr/x86_64-w64-mingw32 WXCONFIG=/usr/x86_64-w64-mingw32/bin/wx-config rocrail/package/zipper.sh WIN64 Windows
macOS:
make -j8 all DEBUG= PLATFORM=WIN64 TOOLPREFIX=x86_64-w64-mingw32- LIBSUFFIX=-x86_64-w64-mingw32 MINGWINSTALL=/opt/local/x86_64-w64-mingw32 WXCONFIG=/opt/local/x86_64-w64-mingw32/bin/wx-config MINGWPATH=opt/local rocrail/package/zipper.sh WIN64 Windows
make all PLATFORM=WIN32 TOOLPREFIX=i686-w64-mingw32- LIBSUFFIX=-i686-w64-mingw32 MINGWINSTALL=/usr/i686-w64-mingw32 WXCONFIG=/usr/i686-w64-mingw32/bin/wx-config