Skip to content

Compiling on Windows

Elime1 edited this page Jun 26, 2020 · 15 revisions

Install Visual Studio (VS 2019 community or later)

https://visualstudio.microsoft.com/vs/

Install Git Bash

https://gitforwindows.org/

Install vcpkg

  • Start Git Bash
  • Go to root directory cd /c
  • Clone vspkg git clone https://github.com/Microsoft/vcpkg
  • Enter the directory cd vcpkg
  • Run bootstrap ./bootstrap-vcpkg.bat

Install dependencies

  • Choose 32 or 64 bit or both. This will take some time so be patient.
    • 32 bit: ./vcpkg install wxwidgets boost libarchive
    • 64 bit: ./vcpkg install wxwidgets:x64-windows boost:x64-windows libarchive:x64-windows
  • Make libraris available to Visual Studio ./vcpkg integrate install

Clone project

  • Create and enter the directory where you want the sources
cd /c
mkdir developer
cd developer
  • Clone RME git clone https://github.com/hjnilsson/rme.git

Build and run

  • Open C:\developer\rme\vcproj\RME.sln in Visual Studio
  • Choose Debug or Release and Win32 or x64 in the toolbar
  • Press F5 to start debugging
Clone this wiki locally