Wiki entry created: Windows 10 Compile Instructions
Thought this would be helpful for people that want to get their hands dirty in the code of OpenRGB quickly. Windows is somewhat unfriendly to building dev environments quickly, so here's my notes on how to get going quickly. Attached is the .md file of the same:
Compile OpenRGB for windows 10 64-bit
- optionally install git for windows:
https://git-scm.com/download/win - install visual studio community (2019 is latest and works)
https://visualstudio.microsoft.com/vs/community/- skip "workloads", uncheck all workloads, goto "individual components" tab and choose:
- MSBuild
- MSVC v142 - VS 2019 C++ x64/x86 build tools (v14.28) (assume latest, v14.28 is latest currently)
- Windows Universal CRT SDK
- Windows 10 SDK (choose latest or whatever version of windows 10 you're running if not latest, check with "winver.exe")
- Install
- skip "workloads", uncheck all workloads, goto "individual components" tab and choose:
- install QT creator and QT libraries
- use the QT open source "online installer", login, use the "Custom Installation" option, install these components:
- Additional libraries:
- QT image formats
- Qt image formats 6.0.0
- QT image formats
- Qt
- qt 5.15.2
- msvc 2019 64-bit
- qt 5.15.2
- Developer and Designer tools:
- qt creator 4.14.0 - (forced selection)
- Cmake 3.19.2 64-bit
- Ninja 1.10.0
- Additional libraries:
- Install!
- use the QT open source "online installer", login, use the "Custom Installation" option, install these components:
- get latest code to compile:
- launch git bash, navigate to where you want to download the code, clone with git:
mkdir /c/opt
cd /c/opt
git clone https://gitlab.com/CalcProgrammer1/OpenRGB.git/
- open QT creator
- open the .pro file in the cloned code folder
- "Configure Project" should appear, select (should be auto selected): Desktop Qt 5.15.2 MSVC2019 64bit
- Click "Configure Project"
- Click "Run" which will build and run the app
- open the .pro file in the cloned code folder