Garux / netradiant-custom

The open-source, cross-platform level editor for id Tech based games.
https://garux.github.io/NRC/
Other
334 stars 59 forks source link

How to compile only mbspc via MinGW? #110

Closed sourcepowered closed 2 years ago

sourcepowered commented 2 years ago

How to compile only mbspc via MinGW?

sourcepowered commented 2 years ago
checking that the build tools exist
Checking for E:/Development_Tools/mingw-w64/msys/bin/sh.exe (bash (or another shell))... found.
Checking for echo (coreutils)... found.
Checking for echo -n (coreutils)... found.
Checking for cat (coreutils)... found.
Checking for mkdir -p (coreutils)... found.
Checking for cp (coreutils)... found.
Checking for cp -r (coreutils)... found.
Checking for rm -f (coreutils)... found.
Checking for rm -f -r (coreutils)... found.
Checking for mv (coreutils)... found.
Checking for echo test | tee /dev/stderr (coreutils)... found.
Checking for sed (sed)... found.
Checking for find (findutils)... found.
Checking for diff (diff)... found.
Checking for gcc (gcc)... found.
Checking for g++ (g++)... found.
Checking for ranlib (binutils)... found.
Checking for ar (binutils)... found.
Checking for E:/Development_Tools/mingw-w64/msys/home/Rainbow/netradiant-dependencies-mingw32//gtk/bin/pkg-config.exe (pkg-config)... found.
Checking for start E:/Development_Tools/mingw-w64/msys/home/Rainbow/netradiant-dependencies-mingw32//util/bin/unzip (unzip)... found.
Checking for E:/Development_Tools/mingw-w64/msys/home/Rainbow/netradiant-dependencies-mingw32//util/bin/git (git-core)... found.
Checking for E:/Development_Tools/mingw-w64/msys/home/Rainbow/netradiant-dependencies-mingw32//util/bin/svn (subversion)... found.
Checking for start E:/Development_Tools/mingw-w64/msys/home/Rainbow/netradiant-dependencies-mingw32//util/bin/wget (wget)... found.
Checking for windres (mingw32)... found.
All required tools have been found!

checking that the dependencies exist
Checking for jpeglib.h (libjpeg8-dev)... not found, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
Checking for glib.h (libglib2.0-dev)... found but does not link, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
Checking for libxml/xpath.h (libxml2-dev)... not found, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
Checking for png.h (libpng12-dev)... found but does not link, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
Checking for GL/gl.h (mesa-common-dev (or another OpenGL library))... found and links.
Checking for gtk/gtkdialog.h (libgtk2.0-dev)... found but does not link, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
Checking for pango/pangoft2.h (libpango1.0-dev)... found but does not link, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
Checking for gtk/gtkglwidget.h (libgtkglext1-dev)... not found, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
Checking for zlib.h (zlib1g-dev)... found and links.
mingw32-make: *** [Makefile:306: dependencies-check] Error 1

In addition, mingw32-make AKEFILE_CONF=mingw-Makefile.conf obtained the above results. I followed https://github.com/Garux/netradiant-custom/blob/master/COMPILING step by step.

Garux commented 2 years ago

something like make binaries-mbspc MAKEFILE_CONF=mingw-Makefile.conf DEPENDENCIES_CHECK=off

sourcepowered commented 2 years ago

@Garux Thanks. But how to use MinGW-W64 to compile netradiant?

Garux commented 2 years ago

Idk, you likely need to fiddle a bit with it nowadays. Recommended MSYS2 way works out of the box.