- Git clone the repository
- Download the latest release from MRVN-WinDeps
windeps.7z
goes into the root of radiant, so that thewindeps
folder is in the same place as the rootCMakeLists.txt
install.7z
andinstall-debug.7z
go into theinstall
folder- Open the repository in visual studio
- You'll probably need to generate the cmake cache, to do this open the root
CMakeLists.txt
and click Generate on the popup - To build go
Build -> Build All
- Follow the Visual studio instructions
- Open the command prompt and
cd
into the root dir of radiant - Run
cmake . -G "Ninja"
- Run
cmake --build .
to build
- Install msys2 and follow installation steps on their website
- Open the MingW shell
- Run:
pacman -S {make,cmake,gcc,pkg-config,unzip,base-devel} pacman -S mingw-w64-x86_64-{cmake,openjpeg,qt5-base,glib2,libxml2,libpng,zlib}
- Use
mingw-w64-x86_64
for 64-bit andmingw-w64-i686
for 32-bit
cd
into the root directory of MRVN-Radiant and run these commands:cmake . -G "MinGW Makefiles" -DINSTALL_DLLS=OFF cmake --build .
-
To be able to run radiant from file explorer you'll need to copy over some dlls. Thankfully there's a script for this.
cmake . -G "MinGW Makefiles" -DINSTALL_DLLS=ON
-
You only need to run this once.
-
If you get a white screen after launching radiant you'll need to manually delete
OPENGL32.dll
from theinstall/
folder. Alternatively you can delete mesa.
- Dependencies:
- qt5
- glib
- libxml2
- zlib
- libpng
- libjpeg
cd
into the root directory of MRVN-Radiant and run these commands:cmake . -G "Unix Makefiles" cmake --build .
- Example:
cmake . -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DBUILD_PLUGINS=OFF
CMAKE_VERBOSE_MAKEFILE
ON/OFFCMAKE_BUILD_TYPE
Release/DebugBUILD_PLUGINS
ON/OFFBUILD_RADIANT
ON/OFFBUILD_TOOLS
ON/OFF