MinGW/MSYS development environment
Part 5: Building projects
. Index .. Base system .. Local packages .. GTK+ .. Qt .. Tools .. Projects .. Home .

This part descries how to build specific projects.

This part is out of date!

Building NetRadiant

NetRadiant is a Quake map editor

The NetRadiant build fails if it finds the system libjpeg headers. We move them to a temporary location:

Get the src

git clone https://gitlab.com/xonotic/netradiant.git netradiant.git && \
cd netradiant.git 

Build netradiant by executing the following commands:

mkdir build && \
cd build && \
unset PKG_CONFIG && \
 cmake -G "MSYS Makefiles" \
 -DCMAKE_BUILD_TYPE=Release \
 -DDOWNLOAD_GAMEPACKS=Off  \
 -DGTK2_GLIBCONFIG_INCLUDE_DIR=${LOCALDESTDIR}/lib/glib-2.0/include \
 -DGTK2_GDKCONFIG_INCLUDE_DIR=${LOCALDESTDIR}/lib/gtk-2.0/include \
 .. && \
 make

Note: DEPENDENCIES_CHECK=false is necessary because we did not install git.

Notes: disabled install-dlls.sh by adding exit 0 to the start of the script.