Cross compile 64 bit binaries

Tested platforms

  • Ubuntu 14.04 +
  • Raspbian 9 +

Needed Packages

- mingw-w64

sudo apt-get install mingw-w64


wxWidgets

Get sources

git clone https://github.com/wxWidgets/wxWidgets.git
cd wxWidgets
git checkout WX_3_0_BRANCH
mkdir winbuild

Update sources

cd wxWidgets
git pull

Build the library

cd winbuild
../configure --prefix=/usr/x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-msw --enable-unicode --enable-mslu --disable-shared --enable-graphics_ctx --enable-monolithic
make
sudo make install


Rocrail

Get sources

git clone https://gitlab.com/rocrail/Rocrail.git
cd Rocrail

Update sources

cd Rocrail
git pull

Build the binaries

make all PLATFORM=WIN64 TOOLPREFIX=x86_64-w64-mingw32- LIBSUFFIX=-x86_64-w64-mingw32 MINGWINSTALL=/usr/x86_64-w64-mingw32






Personal Tools