Jump to content
The Dark Mod Forums

Recommended Posts

Quote

model/export/WavefrontExporter.cpp:122:25: error: ‘GlobalMaterialManager’ was not declared in this scope; did you mean ‘GlobalMapFormatManager’?
  122 |         auto material = GlobalMaterialManager().getMaterialForName(surface.materialName);
      |                         ^~~~~~~~~~~~~~~~~~~~~
      |                         GlobalMapFormatManager
  CC       model/picomodel/lib/lwo/libradiantcore_la-pntspols.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-vmap.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-vecmath.lo
  CXX      model/libradiantcore_la-ModelCache.lo
  CXX      model/libradiantcore_la-ModelFormatManager.lo
  CXX      model/libradiantcore_la-NullModel.lo
  CXX      model/libradiantcore_la-NullModelNode.lo
make[2]: *** [Makefile:3975: model/export/libradiantcore_la-WavefrontExporter.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/biel/code/DarkRadiant/radiantcore'
make[1]: *** [Makefile:752: all-recursive] Error 1
make[1]: Leaving directory '/home/biel/code/DarkRadiant'
make: *** [Makefile:493: all] Error 2

 

Is this of any help?

Biel Bestué de Luna - Github

Link to post
Share on other sites

thanks! but I still get a compile error, here is the full report:

autogen:

Quote

$ ./autogen.sh
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:24: installing './compile'
configure.ac:2: installing './missing'
libs/math/Makefile.am: installing './depcomp'

configure:

Quote

$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for msgfmt... yes
checking for msgmerge... yes
checking for xgettext... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether g++ supports C++11 features with -std=c++11... yes
checking whether g++ -std=c++11 supports C++17 features with -std=c++17... yes
checking cstdint usability... yes
checking cstdint presence... yes
checking for cstdint... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflateEnd in -lz... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 3.0.0... yes (version 3.0.4)
checking for wxWidgets static library... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XML... yes
checking for LIBSIGC... yes
checking for PNG... yes
checking for FTGL... yes
checking GL/glew.h usability... yes
checking GL/glew.h presence... yes
checking for GL/glew.h... yes
checking for main in -lGLEW... yes
checking for main in -lGL... yes
checking for gluBuild2DMipmaps in -lGLU... yes
checking filesystem usability... yes
checking filesystem presence... yes
checking for filesystem... yes
configure: Will use std::filesystem instead of boost.filesystem
checking for python-config... python-config
checking for python3... /usr/bin/python3
checking if Python >= '3.8.0'... yes
configure: Checking for pybind11 headers...
checking pybind11/pybind11.h usability... yes
checking pybind11/pybind11.h presence... yes
checking for pybind11/pybind11.h... yes
configure: Using the system-provided pybind11 headers
configure: Using the fmtlib headers shipped with the sources (header-only mode)
checking for main in -ldl... yes
checking AL/alut.h usability... yes
checking AL/alut.h presence... yes
checking for AL/alut.h... yes
checking for ov_clear in -lvorbisfile... yes
checking for alGetError in -lopenal... yes
checking for main in -lalut... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating install/darkradiant.desktop
config.status: creating install/i18n//Makefile.in
config.status: creating Makefile
config.status: creating radiant/Makefile
config.status: creating radiantcore/Makefile
config.status: creating install/i18n/Makefile.in
config.status: creating doc/Makefile
config.status: creating libs/Makefile
config.status: creating libs/wxutil/Makefile
config.status: creating libs/math/Makefile
config.status: creating libs/module/Makefile
config.status: creating libs/scene/Makefile
config.status: creating libs/xmlutil/Makefile
config.status: creating plugins/Makefile
config.status: creating plugins/script/Makefile
config.status: creating plugins/sound/Makefile
config.status: creating plugins/dm.stimresponse/Makefile
config.status: creating plugins/dm.objectives/Makefile
config.status: creating plugins/dm.difficulty/Makefile
config.status: creating plugins/dm.gui/Makefile
config.status: creating plugins/dm.editing/Makefile
config.status: creating plugins/dm.gameconnection/Makefile
config.status: creating plugins/dm.conversation/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing po-directories commands
config.status: creating install/i18n//POTFILES
config.status: creating install/i18n//Makefile
config.status: creating install/i18n/POTFILES
config.status: creating install/i18n/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands

Configuration options:
 Installation prefix:   /usr/local
 Relocatable package:   no
 Sound:                 yes
 Darkmod plugins:       no
 Python scripting:      yes
 Use system pybind11:   yes
 Use boost.filesystem:  no

make:

Quote

$ make --jobs=7
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/biel/code/DarkRadiant/missing aclocal-1.16 -I m4
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/biel/code/DarkRadiant/missing autoconf
 cd . && /bin/bash /home/biel/code/DarkRadiant/missing automake-1.16 --foreign
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for msgfmt... yes
checking for msgmerge... yes
checking for xgettext... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether g++ supports C++11 features with -std=c++11... yes
checking whether g++ -std=c++11 supports C++17 features with -std=c++17... yes
checking cstdint usability... yes
checking cstdint presence... yes
checking for cstdint... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflateEnd in -lz... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_start_compress in -ljpeg... yes
checking for wx-config... /usr/bin/wx-config
checking for wxWidgets version >= 3.0.0... yes (version 3.0.4)
checking for wxWidgets static library... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XML... yes
checking for LIBSIGC... yes
checking for PNG... yes
checking for FTGL... yes
checking GL/glew.h usability... yes
checking GL/glew.h presence... yes
checking for GL/glew.h... yes
checking for main in -lGLEW... yes
checking for main in -lGL... yes
checking for gluBuild2DMipmaps in -lGLU... yes
checking filesystem usability... yes
checking filesystem presence... yes
checking for filesystem... yes
configure: Will use std::filesystem instead of boost.filesystem
checking for python-config... python-config
checking for python3... /usr/bin/python3
checking if Python >= '3.8.0'... yes
configure: Checking for pybind11 headers...
checking pybind11/pybind11.h usability... yes
checking pybind11/pybind11.h presence... yes
checking for pybind11/pybind11.h... yes
configure: Using the system-provided pybind11 headers
configure: Using the fmtlib headers shipped with the sources (header-only mode)
checking for main in -ldl... yes
checking AL/alut.h usability... yes
checking AL/alut.h presence... yes
checking for AL/alut.h... yes
checking for ov_clear in -lvorbisfile... yes
checking for alGetError in -lopenal... yes
checking for main in -lalut... yes
checking that generated files are newer than configure... done
configure: creating ./config.status

Configuration options:
 Installation prefix:   /usr/local
 Relocatable package:   no
 Sound:                 yes
 Darkmod plugins:       no
 Python scripting:      yes
 Use system pybind11:   yes
 Use boost.filesystem:  no
 /bin/bash ./config.status
config.status: creating install/darkradiant.desktop
config.status: creating install/i18n//Makefile.in
config.status: creating Makefile
config.status: creating radiant/Makefile
config.status: creating radiantcore/Makefile
config.status: creating install/i18n/Makefile.in
config.status: creating doc/Makefile
config.status: creating libs/Makefile
config.status: creating libs/wxutil/Makefile
config.status: creating libs/math/Makefile
config.status: creating libs/module/Makefile
config.status: creating libs/scene/Makefile
config.status: creating libs/xmlutil/Makefile
config.status: creating plugins/Makefile
config.status: creating plugins/script/Makefile
config.status: creating plugins/sound/Makefile
config.status: creating plugins/dm.stimresponse/Makefile
config.status: creating plugins/dm.objectives/Makefile
config.status: creating plugins/dm.difficulty/Makefile
config.status: creating plugins/dm.gui/Makefile
config.status: creating plugins/dm.editing/Makefile
config.status: creating plugins/dm.gameconnection/Makefile
config.status: creating plugins/dm.conversation/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing po-directories commands
config.status: creating install/i18n//POTFILES
config.status: creating install/i18n//Makefile
config.status: creating install/i18n/POTFILES
config.status: creating install/i18n/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/biel/code/DarkRadiant/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory '/home/biel/code/DarkRadiant'
Making all in libs
make[2]: Entering directory '/home/biel/code/DarkRadiant/libs'
Making all in math
make[3]: Entering directory '/home/biel/code/DarkRadiant/libs/math'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/biel/code/DarkRadiant/libs/math'
Making all in xmlutil
make[3]: Entering directory '/home/biel/code/DarkRadiant/libs/xmlutil'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/biel/code/DarkRadiant/libs/xmlutil'
Making all in scene
make[3]: Entering directory '/home/biel/code/DarkRadiant/libs/scene'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/biel/code/DarkRadiant/libs/scene'
Making all in wxutil
make[3]: Entering directory '/home/biel/code/DarkRadiant/libs/wxutil'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/biel/code/DarkRadiant/libs/wxutil'
Making all in module
make[3]: Entering directory '/home/biel/code/DarkRadiant/libs/module'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/biel/code/DarkRadiant/libs/module'
make[3]: Entering directory '/home/biel/code/DarkRadiant/libs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/biel/code/DarkRadiant/libs'
make[2]: Leaving directory '/home/biel/code/DarkRadiant/libs'
Making all in radiantcore
make[2]: Entering directory '/home/biel/code/DarkRadiant/radiantcore'
  CXX      model/export/libradiantcore_la-WavefrontExporter.lo
  CXX      particles/libradiantcore_la-ParticleDef.lo
  CXX      modulesystem/libradiantcore_la-ModuleLoader.lo
  CXX      modulesystem/libradiantcore_la-ModuleRegistry.lo
  CXX      particles/libradiantcore_la-ParticleNode.lo
  CXX      particles/libradiantcore_la-ParticleParameter.lo
  CXX      particles/libradiantcore_la-ParticlesManager.lo
  CXX      particles/libradiantcore_la-RenderableParticle.lo
  CXX      particles/libradiantcore_la-RenderableParticleBunch.lo
  CXX      particles/libradiantcore_la-RenderableParticleStage.lo
  CXX      particles/libradiantcore_la-StageDef.lo
In file included from particles/ParticlesManager.cpp:21:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      patch/libradiantcore_la-Patch.lo
  CXX      patch/libradiantcore_la-PatchModule.lo
  CXX      patch/libradiantcore_la-PatchNode.lo
  CXX      patch/libradiantcore_la-PatchRenderables.lo
  CXX      patch/libradiantcore_la-PatchTesselation.lo
  CXX      patch/algorithm/libradiantcore_la-General.lo
patch/Patch.cpp: In member function ‘void Patch::constructBevel(const AABB&, EViewType)’:
patch/Patch.cpp:1964:22: warning: ‘constDim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 1964 |     dim2 = (constDim + 2) % 3;
      |            ~~~~~~~~~~^~~~
patch/Patch.cpp:1981:29: note: ‘constDim’ was declared here
 1981 |     std::size_t dim1, dim2, constDim;
      |                             ^~~~~~~~
patch/Patch.cpp: In member function ‘void Patch::constructEndcap(const AABB&, EViewType)’:
patch/Patch.cpp:1964:22: warning: ‘constDim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 1964 |     dim2 = (constDim + 2) % 3;
      |            ~~~~~~~~~~^~~~
patch/Patch.cpp:2031:29: note: ‘constDim’ was declared here
 2031 |     std::size_t dim1, dim2, constDim;
      |                             ^~~~~~~~
patch/Patch.cpp: In member function ‘void Patch::ConstructPrefab(const AABB&, EPatchPrefab, EViewType, std::size_t, std::size_t)’:
patch/Patch.cpp:1964:22: warning: ‘rowDim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 1964 |     dim2 = (constDim + 2) % 3;
      |            ~~~~~~~~~~^~~~
patch/Patch.cpp:2110:39: note: ‘rowDim’ was declared here
 2110 |         std::size_t colDim1, colDim2, rowDim;
      |                                       ^~~~~~
  CXX      patch/algorithm/libradiantcore_la-Prefab.lo
  CXX      rendersystem/backend/glprogram/libradiantcore_la-GenericVFPProgram.lo
  CXX      rendersystem/backend/glprogram/libradiantcore_la-GLSLBumpProgram.lo
  CXX      rendersystem/backend/glprogram/libradiantcore_la-GLSLDepthFillProgram.lo
  CXX      rendersystem/backend/libradiantcore_la-OpenGLShader.lo
  CXX      rendersystem/backend/libradiantcore_la-GLProgramFactory.lo
  CXX      rendersystem/backend/libradiantcore_la-OpenGLShaderPass.lo
rendersystem/backend/OpenGLShader.cpp: In member function ‘virtual void render::OpenGLShader::attachObserver(Shader::Observer&)’:
rendersystem/backend/OpenGLShader.cpp:129:39: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  129 |  std::pair<Observers::iterator, bool> result = _observers.insert(&observer);
      |                                       ^~~~~~
  CXX      rendersystem/libradiantcore_la-LinearLightList.lo
  CXX      rendersystem/libradiantcore_la-OpenGLRenderSystem.lo
  CXX      rendersystem/libradiantcore_la-RenderSystemFactory.lo
  CXX      rendersystem/libradiantcore_la-SharedOpenGLContextModule.lo
  CXX      rendersystem/debug/libradiantcore_la-SpacePartitionRenderer.lo
  CXX      scenegraph/libradiantcore_la-SceneGraph.lo
  CXX      scenegraph/libradiantcore_la-Octree.lo
  CXX      scenegraph/libradiantcore_la-SceneGraphFactory.lo
scenegraph/Octree.cpp: In member function ‘void scene::Octree::notifyLink(const INodePtr&, scene::OctreeNode*)’:
scenegraph/Octree.cpp:131:41: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  131 |  std::pair<NodeMapping::iterator, bool> result =
      |                                         ^~~~~~
  CXX      selection/algorithm/libradiantcore_la-Curves.lo
  CXX      selection/algorithm/libradiantcore_la-Entity.lo
  CXX      selection/algorithm/libradiantcore_la-General.lo
  CXX      selection/algorithm/libradiantcore_la-Group.lo
  CXX      selection/algorithm/libradiantcore_la-GroupCycle.lo
  CXX      selection/algorithm/libradiantcore_la-Patch.lo
  CXX      selection/algorithm/libradiantcore_la-Planes.lo
  CXX      selection/algorithm/libradiantcore_la-Primitives.lo
  CXX      selection/algorithm/libradiantcore_la-Shader.lo
  CXX      selection/algorithm/libradiantcore_la-Transformation.lo
  CXX      selection/clipboard/libradiantcore_la-Clipboard.lo
  CXX      selection/group/libradiantcore_la-SelectionGroupInfoFileModule.lo
  CXX      selection/group/libradiantcore_la-SelectionGroupManager.lo
  CXX      selection/group/libradiantcore_la-SelectionGroupModule.lo
  CXX      selection/manipulators/libradiantcore_la-DragManipulator.lo
  CXX      selection/manipulators/libradiantcore_la-ManipulatorBase.lo
  CXX      selection/manipulators/libradiantcore_la-ManipulatorComponents.lo
  CXX      selection/manipulators/libradiantcore_la-RotateManipulator.lo
  CXX      selection/manipulators/libradiantcore_la-ModelScaleManipulator.lo
  CXX      selection/manipulators/libradiantcore_la-ScaleManipulator.lo
  CXX      selection/manipulators/libradiantcore_la-TranslateManipulator.lo
  CXX      selection/selectionset/libradiantcore_la-SelectionSetManager.lo
  CXX      selection/selectionset/libradiantcore_la-SelectionSetInfoFileModule.lo
  CXX      selection/selectionset/libradiantcore_la-SelectionSet.lo
  CXX      selection/selectionset/libradiantcore_la-SelectionSetModule.lo
  CXX      selection/shaderclipboard/libradiantcore_la-ClosestTexturableFinder.lo
  CXX      selection/shaderclipboard/libradiantcore_la-ShaderClipboard.lo
  CXX      selection/shaderclipboard/libradiantcore_la-Texturable.lo
  CXX      selection/libradiantcore_la-RadiantSelectionSystem.lo
  CXX      selection/libradiantcore_la-ManipulationPivot.lo
  CXX      selection/libradiantcore_la-SelectedNodeList.lo
  CXX      selection/libradiantcore_la-SelectionTestWalkers.lo
selection/shaderclipboard/ShaderClipboard.cpp: In member function ‘void selection::ShaderClipboard::onMapEvent(IMap::MapEvent)’:
selection/shaderclipboard/ShaderClipboard.cpp:163:9: warning: enumeration value ‘MapLoading’ not handled in switch [-Wswitch]
  163 |  switch (ev)
      |         ^
selection/shaderclipboard/ShaderClipboard.cpp:163:9: warning: enumeration value ‘MapUnloaded’ not handled in switch [-Wswitch]
selection/shaderclipboard/ShaderClipboard.cpp:163:9: warning: enumeration value ‘MapSaved’ not handled in switch [-Wswitch]
  CXX      selection/libradiantcore_la-TransformationVisitors.lo
  CXX      settings/libradiantcore_la-ColourScheme.lo
  CXX      settings/libradiantcore_la-ColourSchemeManager.lo
  CXX      settings/libradiantcore_la-Game.lo
  CXX      settings/libradiantcore_la-GameManager.lo
  CXX      settings/libradiantcore_la-LanguageManager.lo
  CXX      settings/libradiantcore_la-PreferencePage.lo
  CXX      settings/libradiantcore_la-PreferenceSystem.lo
  CXX      shaders/libradiantcore_la-CameraCubeMapDecl.lo
  CXX      shaders/textures/libradiantcore_la-GLTextureManager.lo
  CXX      shaders/textures/libradiantcore_la-TextureManipulator.lo
  CXX      skins/libradiantcore_la-Doom3SkinCache.lo
  CXX      undo/libradiantcore_la-UndoSystem.lo
  CXX      vfs/libradiantcore_la-DeflatedInputStream.lo
  CXX      vfs/libradiantcore_la-DirectoryArchive.lo
  CXX      vfs/libradiantcore_la-Doom3FileSystem.lo
  CXX      vfs/libradiantcore_la-Doom3FileSystemModule.lo
In file included from vfs/Doom3FileSystem.cpp:35:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      vfs/libradiantcore_la-ZipArchive.lo
  CXX      xmlregistry/libradiantcore_la-RegistryTree.lo
  CXX      xmlregistry/libradiantcore_la-XMLRegistry.lo
  CXXLD    libradiantcore.la
make[2]: Leaving directory '/home/biel/code/DarkRadiant/radiantcore'
Making all in radiant
make[2]: Entering directory '/home/biel/code/DarkRadiant/radiant'
  CXX      darkradiant-RadiantApp.o
  CXX      darkradiant-main.o
  CXX      ui/darkradiant-LongRunningOperationHandler.o
  CXX      ui/darkradiant-MapCommands.o
  CXX      ui/darkradiant-DispatchEvent.o
  CXX      ui/darkradiant-MapFileProgressHandler.o
  CXX      uimanager/darkradiant-ToolbarManager.o
  CXX      uimanager/darkradiant-DialogManager.o
  CXX      ui/filters/darkradiant-FilterMenu.o
  CXX      uimanager/darkradiant-GroupDialog.o
  CXX      uimanager/darkradiant-UIManager.o
  CXX      uimanager/darkradiant-SoundShaderPreview.o
  CXX      textool/darkradiant-TexTool.o
  CXX      camera/darkradiant-GlobalCameraWndManager.o
  CXX      camera/darkradiant-CameraSettings.o
  CXX      camera/darkradiant-CamWnd.o
  CXX      camera/darkradiant-FloatingCamWnd.o
  CXX      eventmanager/darkradiant-Accelerator.o
  CXX      eventmanager/darkradiant-EventManager.o
  CXX      eventmanager/darkradiant-GlobalKeyEventFilter.o
  CXX      eventmanager/darkradiant-MouseToolGroup.o
  CXX      eventmanager/darkradiant-MouseToolManager.o
  CXX      eventmanager/darkradiant-Statement.o
  CXX      eventmanager/darkradiant-Toggle.o
  CXX      eventmanager/darkradiant-WidgetToggle.o
  CXX      render/darkradiant-OpenGLModule.o
  CXX      ui/darkradiant-UserInterfaceModule.o
  CXX      ui/darkradiant-Documentation.o
  CXX      ui/eclasstree/darkradiant-EClassTree.o
  CXX      ui/eclasstree/darkradiant-EClassTreeBuilder.o
  CXX      ui/entitylist/darkradiant-EntityList.o
  CXX      ui/entitylist/darkradiant-GraphTreeModel.o
  CXX      ui/prefabselector/darkradiant-PrefabPopulator.o
In file included from ui/eclasstree/EClassTreeBuilder.cpp:6:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      ui/prefabselector/darkradiant-PrefabSelector.o
  CXX      ui/texturebrowser/darkradiant-TextureBrowser.o
  CXX      ui/texturebrowser/darkradiant-TextureBrowserManager.o
  CXX      ui/findshader/darkradiant-FindShader.o
  CXX      ui/mapinfo/darkradiant-MapInfoDialog.o
  CXX      ui/mapinfo/darkradiant-EntityInfoTab.o
  CXX      ui/mapinfo/darkradiant-ShaderInfoTab.o
  CXX      ui/mapinfo/darkradiant-ModelInfoTab.o
  CXX      ui/mapinfo/darkradiant-LayerInfoTab.o
  CXX      ui/mediabrowser/darkradiant-MediaBrowser.o
  CXX      ui/particles/darkradiant-ParticleEditor.o
  CXX      ui/particles/darkradiant-ParticlesChooser.o
  CXX      ui/brush/darkradiant-QuerySidesDialog.o
  CXX      ui/brush/darkradiant-FindBrush.o
In file included from ui/mediabrowser/MediaBrowser.cpp:36:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      ui/overlay/darkradiant-OverlayDialog.o
  CXX      ui/overlay/darkradiant-Overlay.o
  CXX      ui/splash/darkradiant-Splash.o
ui/brush/QuerySidesDialog.cpp: In static member function ‘static void ui::QuerySidesDialog::Show(const ArgumentList&)’:
ui/brush/QuerySidesDialog.cpp:82:10: warning: enumeration value ‘NumPrefabTypes’ not handled in switch [-Wswitch]
   82 |   switch (type)
      |          ^
In file included from ui/particles/ParticlesChooser.cpp:9:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      ui/grid/darkradiant-GridUserInterface.o
  CXX      ui/layers/darkradiant-CreateLayerDialog.o
  CXX      ui/layers/darkradiant-LayerControl.o
  CXX      ui/layers/darkradiant-LayerContextMenu.o
  CXX      ui/layers/darkradiant-LayerControlDialog.o
  CXX      ui/layers/darkradiant-LayerOrthoContextMenuItem.o
  CXX      ui/ortho/darkradiant-OrthoContextMenu.o
  CXX      ui/about/darkradiant-AboutDialog.o
  CXX      ui/einspector/darkradiant-AnglePropertyEditor.o
  CXX      ui/einspector/darkradiant-TexturePropertyEditor.o
  CXX      ui/einspector/darkradiant-EntityInspector.o
  CXX      ui/einspector/darkradiant-SkinChooser.o
  CXX      ui/einspector/darkradiant-ColourPropertyEditor.o
  CXX      ui/einspector/darkradiant-EntityPropertyEditor.o
  CXX      ui/einspector/darkradiant-SkinPropertyEditor.o
  CXX      ui/einspector/darkradiant-Vector3PropertyEditor.o
  CXX      ui/einspector/darkradiant-AddPropertyDialog.o
  CXX      ui/einspector/darkradiant-FloatPropertyEditor.o
  CXX      ui/einspector/darkradiant-BooleanPropertyEditor.o
  CXX      ui/einspector/darkradiant-LightTextureChooser.o
  CXX      ui/einspector/darkradiant-SoundPropertyEditor.o
  CXX      ui/einspector/darkradiant-PropertyEditor.o
  CXX      ui/einspector/darkradiant-PropertyEditorFactory.o
  CXX      ui/einspector/darkradiant-ClassnamePropertyEditor.o
  CXX      ui/einspector/darkradiant-ModelPropertyEditor.o
  CXX      ui/common/darkradiant-TexturePreviewCombo.o
  CXX      ui/common/darkradiant-ShaderSelector.o
  CXX      ui/common/darkradiant-ShaderChooser.o
  CXX      ui/common/darkradiant-DefinitionView.o
  CXX      ui/common/darkradiant-MaterialDefinitionView.o
  CXX      ui/common/darkradiant-SoundShaderDefinitionView.o
  CXX      ui/common/darkradiant-RenderableAABB.o
  CXX      ui/common/darkradiant-CommandEntry.o
  CXX      ui/common/darkradiant-EntityChooser.o
  CXX      ui/common/darkradiant-MapPreview.o
  CXX      ui/filters/darkradiant-FilterContextMenu.o
  CXX      ui/filters/darkradiant-FilterOrthoContextMenuItem.o
  CXX      ui/filters/darkradiant-FilterUserInterface.o
  CXX      ui/filters/darkradiant-FiltersMainMenu.o
  CXX      ui/filters/editor/darkradiant-FilterDialog.o
  CXX      ui/filters/editor/darkradiant-FilterEditor.o
  CXX      ui/gl/darkradiant-WxGLWidgetManager.o
  CXX      ui/prefdialog/darkradiant-GameSetupDialog.o
  CXX      ui/prefdialog/darkradiant-GameSetupPage.o
  CXX      ui/prefdialog/darkradiant-GameSetupPageIdTech.o
  CXX      ui/prefdialog/darkradiant-GameSetupPageTdm.o
  CXX      ui/prefdialog/darkradiant-PrefPage.o
  CXX      ui/prefdialog/darkradiant-PrefDialog.o
  CXX      ui/prefdialog/darkradiant-PreferenceItem.o
  CXX      ui/transform/darkradiant-TransformDialog.o
  CXX      ui/modelselector/darkradiant-MaterialsList.o
  CXX      ui/modelselector/darkradiant-ModelSelector.o
  CXX      ui/surfaceinspector/darkradiant-SurfaceInspector.o
  CXX      ui/patch/darkradiant-CapDialog.o
  CXX      ui/patch/darkradiant-PatchThickenDialog.o
  CXX      ui/patch/darkradiant-PatchInspector.o
  CXX      ui/patch/darkradiant-PatchCreateDialog.o
  CXX      ui/patch/darkradiant-BulgePatchDialog.o
  CXX      ui/lightinspector/darkradiant-LightInspector.o
  CXX      ui/commandlist/darkradiant-CommandList.o
  CXX      ui/commandlist/darkradiant-ShortcutChooser.o
  CXX      ui/mainframe/darkradiant-MainFrame.o
  CXX      ui/mainframe/darkradiant-MainFrameLayoutManager.o
  CXX      ui/mainframe/darkradiant-FloatingLayout.o
  CXX      ui/mainframe/darkradiant-EmbeddedLayout.o
  CXX      ui/mainframe/darkradiant-SplitPaneLayout.o
  CXX      ui/mainframe/darkradiant-RegularLayout.o
  CXX      ui/mainframe/darkradiant-ScreenUpdateBlocker.o
  CXX      ui/mainframe/darkradiant-TopLevelFrame.o
  CXX      ui/modelexport/darkradiant-ExportAsModelDialog.o
  CXX      ui/modelexport/darkradiant-ExportCollisionModelDialog.o
  CXX      ui/mousetool/darkradiant-BindToolDialog.o
  CXX      ui/mousetool/darkradiant-ToolMappingDialog.o
  CXX      ui/script/darkradiant-ScriptMenu.o
  CXX      ui/script/darkradiant-ScriptWindow.o
  CXX      ui/script/darkradiant-ScriptUserInterfaceModule.o
  CXX      ui/aas/darkradiant-AasControl.o
  CXX      ui/aas/darkradiant-AasControlDialog.o
  CXX      ui/aas/darkradiant-RenderableAasFile.o
  CXX      ui/selectionset/darkradiant-SelectionSetToolmenu.o
  CXX      ui/statusbar/darkradiant-EditingStopwatchStatus.o
  CXX      uimanager/darkradiant-SoundChooser.o
  CXX      uimanager/darkradiant-StatusBarManager.o
  CXX      uimanager/animationpreview/darkradiant-MD5AnimationChooser.o
  CXX      uimanager/animationpreview/darkradiant-AnimationPreview.o
  CXX      uimanager/animationpreview/darkradiant-MD5AnimationViewer.o
  CXX      uimanager/colourscheme/darkradiant-ColourSchemeEditor.o
In file included from uimanager/SoundChooser.cpp:10:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      uimanager/menu/darkradiant-MenuManager.o
  CXX      uimanager/menu/darkradiant-MenuFolder.o
  CXX      uimanager/menu/darkradiant-MenuSeparator.o
  CXX      uimanager/menu/darkradiant-MenuItem.o
  CXX      uimanager/menu/darkradiant-MenuBar.o
  CXX      uimanager/menu/darkradiant-MenuElement.o
  CXX      xyview/tools/darkradiant-BrushCreatorTool.o
  CXX      xyview/tools/darkradiant-ClipperTool.o
  CXX      xyview/tools/darkradiant-MeasurementTool.o
  CXX      xyview/darkradiant-XYWnd.o
  CXX      xyview/darkradiant-FloatingOrthoView.o
  CXX      xyview/darkradiant-GlobalXYWnd.o
  CXX      textool/darkradiant-TexToolItem.o
  CXX      textool/item/darkradiant-BrushItem.o
  CXX      textool/item/darkradiant-FaceItem.o
  CXX      textool/item/darkradiant-FaceVertexItem.o
xyview/GlobalXYWnd.cpp: In member function ‘ui::XYWndPtr ui::XYWndManager::createEmbeddedOrthoView()’:
xyview/GlobalXYWnd.cpp:519:38: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  519 |  std::pair<XYWndMap::iterator, bool> result = _xyWnds.insert(
      |                                      ^~~~~~
xyview/GlobalXYWnd.cpp: In member function ‘ui::XYWndPtr ui::XYWndManager::createEmbeddedOrthoView(EViewType, wxWindow*)’:
xyview/GlobalXYWnd.cpp:541:38: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  541 |  std::pair<XYWndMap::iterator, bool> result = _xyWnds.insert(
      |                                      ^~~~~~
xyview/GlobalXYWnd.cpp: In member function ‘ui::XYWndPtr ui::XYWndManager::createFloatingOrthoView(EViewType)’:
xyview/GlobalXYWnd.cpp:572:38: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  572 |  std::pair<XYWndMap::iterator, bool> result = _xyWnds.insert(
      |                                      ^~~~~~
  CXX      textool/item/darkradiant-PatchItem.o
  CXX      textool/item/darkradiant-PatchVertexItem.o
  CXX      selection/darkradiant-ManipulateMouseTool.o
  CXX      selection/darkradiant-SelectionMouseTools.o
  CXX      settings/darkradiant-Win32Registry.o
  CXX      settings/darkradiant-LocalisationModule.o
  CXX      settings/darkradiant-LocalisationProvider.o
  CXX      map/darkradiant-StartupMapLoader.o
  CXX      log/darkradiant-Console.o
  CXXLD    darkradiant
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1965: darkradiant] Error 1
make[2]: Leaving directory '/home/biel/code/DarkRadiant/radiant'
make[1]: *** [Makefile:752: all-recursive] Error 1
make[1]: Leaving directory '/home/biel/code/DarkRadiant'
make: *** [Makefile:493: all] Error 2

but now It doesn't give a location for the error! isn't it?

Edited by 7318

Biel Bestué de Luna - Github

Link to post
Share on other sites

nope, after "make clean" I get this:

Quote

$ make --jobs=7
make  all-recursive
make[1]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant'
Making all in libs
make[2]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/libs'
Making all in math
make[3]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/libs/math'
  CXX      Matrix4.lo
  CXX      Frustum.lo
  CXX      Plane3.lo
  CXX      AABB.lo
  CXX      Quaternion.lo
  CXXLD    libmath.la
make[3]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/libs/math'
Making all in xmlutil
make[3]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/libs/xmlutil'
  CXX      Document.lo
  CXX      Node.lo
  CXXLD    libxmlutil.la
make[3]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/libs/xmlutil'
Making all in scene
make[3]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/libs/scene'
  CXX      InstanceWalkers.lo
  CXX      ChildPrimitives.lo
  CXX      LayerUsageBreakdown.lo
  CXX      TraversableNodeSet.lo
  CXX      SelectableNode.lo
  CXX      ModelFinder.lo
  CXX      SelectionIndex.lo
  CXX      Traverse.lo
  CXX      Node.lo
Traverse.cpp: In constructor ‘scene::IncludeSelectedWalker::IncludeSelectedWalker(scene::NodeVisitor&)’:
Traverse.cpp:16:15: warning: ‘scene::IncludeSelectedWalker::m_skip’ will be initialized after [-Wreorder]
   16 |  mutable bool m_skip;
      |               ^~~~~~
Traverse.cpp:14:33: warning:   ‘const std::set<scene::INode*>* scene::IncludeSelectedWalker::m_subsetOverride’ [-Wreorder]
   14 |  const std::set<scene::INode*> *m_subsetOverride;
      |                                 ^~~~~~~~~~~~~~~~
Traverse.cpp:39:2: warning:   when initialized here [-Wreorder]
   39 |  IncludeSelectedWalker(scene::NodeVisitor& walker) :
      |  ^~~~~~~~~~~~~~~~~~~~~
  CXXLD    libscenegraph.la
make[3]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/libs/scene'
Making all in wxutil
make[3]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/libs/wxutil'
  CXX      ConsoleView.lo
  CXX      EntityClassChooser.lo
  CXX      FreezePointer.lo
  CXX      GLWidget.lo
  CXX      KeyValueTable.lo
  CXX      PanedPosition.lo
  CXX      VFSTreePopulator.lo
  CXX      WindowPosition.lo
  CXX      window/TransientWindow.lo
  CXX      dialog/Dialog.lo
  CXX      dialog/DialogBase.lo
  CXX      dialog/MessageBox.lo
  CXX      preview/ModelPreview.lo
In file included from EntityClassChooser.cpp:19:
../../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      preview/ParticlePreview.lo
  CXX      preview/RenderPreview.lo
  CXX      preview/GuiRenderer.lo
  CXX      preview/GuiView.lo
  CXX      GLFont.lo
  CXX      menu/PopupMenu.lo
  CXX      PathEntry.lo
  CXX      Splitter.lo
  CXX      TreeModel.lo
  CXX      TreeView.lo
  CXX      TreeModelFilter.lo
  CXX      ModalProgressDialog.lo
  CXX      MouseToolHandler.lo
  CXX      SerialisableWidgets.lo
  CXX      SourceView.lo
  CXX      DirChooser.lo
  CXX      FileChooser.lo
FileChooser.cpp: In member function ‘void wxutil::FileChooser::construct()’:
FileChooser.cpp:99:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<wxutil::FileChooser::FileFilter>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   99 |  for (int i = 0; i < _fileFilters.size(); ++i)
      |                  ~~^~~~~~~~~~~~~~~~~~~~~
  CXXLD    libwxutil.la
make[3]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/libs/wxutil'
Making all in module
make[3]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/libs/module'
  CXX      DynamicLibrary.lo
  CXX      CoreModule.lo
  CXX      ApplicationContextBase.lo
  CXX      StaticModule.lo
ApplicationContextBase.cpp: In member function ‘virtual void radiant::ApplicationContextBase::initialise(int, char**)’:
ApplicationContextBase.cpp:251:12: warning: ignoring return value of ‘int radiant::seteuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result]
  251 |     seteuid(getuid());
      |     ~~~~~~~^~~~~~~~~~
ApplicationContextBase.cpp:257:15: warning: ignoring return value of ‘int radiant::setuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result]
  257 |         setuid(pw->pw_uid);
      |         ~~~~~~^~~~~~~~~~~~
  CXXLD    libmodule.la
make[3]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/libs/module'
make[3]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/libs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/libs'
make[2]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/libs'
Making all in radiantcore
make[2]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/radiantcore'
  CXX      libradiantcore_la-Radiant.lo
  CXX      brush/libradiantcore_la-Brush.lo
  CXX      brush/libradiantcore_la-BrushModule.lo
  CXX      brush/libradiantcore_la-BrushNode.lo
  CXX      brush/libradiantcore_la-Face.lo
  CXX      brush/libradiantcore_la-FaceInstance.lo
  CXX      brush/libradiantcore_la-FacePlane.lo
  CXX      brush/libradiantcore_la-FixedWinding.lo
  CXX      brush/libradiantcore_la-TexDef.lo
  CXX      brush/libradiantcore_la-TextureMatrix.lo
  CXX      brush/libradiantcore_la-TextureProjection.lo
  CXX      brush/libradiantcore_la-Winding.lo
  CXX      brush/csg/libradiantcore_la-CSG.lo
  CXX      brush/export/libradiantcore_la-CollisionModel.lo
  CXX      camera/libradiantcore_la-CameraManager.lo
  CXX      camera/libradiantcore_la-Camera.lo
  CXX      clipper/libradiantcore_la-BrushByPlaneClipper.lo
  CXX      clipper/libradiantcore_la-ClipPoint.lo
  CXX      clipper/libradiantcore_la-Clipper.lo
  CXX      clipper/libradiantcore_la-SplitAlgorithm.lo
  CXX      commandsystem/libradiantcore_la-CommandSystem.lo
  CXX      eclass/libradiantcore_la-Doom3EntityClass.lo
  CXX      eclass/libradiantcore_la-EClassManager.lo
  CXX      entity/libradiantcore_la-ShaderParms.lo
  CXX      entity/libradiantcore_la-EntitySettings.lo
  CXX      entity/libradiantcore_la-KeyValueObserver.lo
In file included from eclass/EClassManager.cpp:18:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      entity/libradiantcore_la-EntityNode.lo
  CXX      entity/libradiantcore_la-RotationMatrix.lo
  CXX      entity/target/libradiantcore_la-TargetManager.lo
  CXX      entity/target/libradiantcore_la-TargetLineNode.lo
  CXX      entity/target/libradiantcore_la-TargetKeyCollection.lo
  CXX      entity/target/libradiantcore_la-TargetKey.lo
  CXX      entity/target/libradiantcore_la-TargetableNode.lo
  CXX      entity/light/libradiantcore_la-Renderables.lo
  CXX      entity/light/libradiantcore_la-Light.lo
  CXX      entity/light/libradiantcore_la-LightNode.lo
  CXX      entity/eclassmodel/libradiantcore_la-EclassModelNode.lo
  CXX      entity/libradiantcore_la-RotationKey.lo
  CXX      entity/libradiantcore_la-NameKeyObserver.lo
  CXX      entity/doom3group/libradiantcore_la-Doom3GroupNode.lo
  CXX      entity/doom3group/libradiantcore_la-Doom3Group.lo
  CXX      entity/libradiantcore_la-NamespaceManager.lo
  CXX      entity/generic/libradiantcore_la-GenericEntity.lo
  CXX      entity/generic/libradiantcore_la-GenericEntityNode.lo
  CXX      entity/speaker/libradiantcore_la-SpeakerNode.lo
  CXX      entity/speaker/libradiantcore_la-SpeakerRenderables.lo
  CXX      entity/libradiantcore_la-Doom3Entity.lo
  CXX      entity/libradiantcore_la-ModelKey.lo
  CXX      entity/libradiantcore_la-KeyValue.lo
  CXX      entity/curve/libradiantcore_la-CurveCatmullRom.lo
  CXX      entity/curve/libradiantcore_la-Curve.lo
  CXX      entity/curve/libradiantcore_la-CurveEditInstance.lo
  CXX      entity/curve/libradiantcore_la-CurveNURBS.lo
  CXX      entity/libradiantcore_la-AngleKey.lo
  CXX      entity/libradiantcore_la-EntityModule.lo
  CXX      filetypes/libradiantcore_la-FileTypeRegistry.lo
  CXX      filters/libradiantcore_la-BasicFilterSystem.lo
  CXX      filters/libradiantcore_la-XMLFilter.lo
  CXX      filters/libradiantcore_la-XmlFilterEventAdapter.lo
  CXX      fonts/libradiantcore_la-FontLoader.lo
  CXX      fonts/libradiantcore_la-GlyphInfo.lo
  CXX      fonts/libradiantcore_la-GlyphSet.lo
  CXX      fonts/libradiantcore_la-FontManager.lo
  CXX      grid/libradiantcore_la-GridManager.lo
  CXX      imagefile/libradiantcore_la-BMPLoader.lo
  CXX      imagefile/libradiantcore_la-dds.lo
  CXX      imagefile/libradiantcore_la-ddslib.lo
  CXX      imagefile/libradiantcore_la-ImageLoader.lo
  CXX      imagefile/libradiantcore_la-JPEGLoader.lo
  CXX      imagefile/libradiantcore_la-PNGLoader.lo
  CXX      imagefile/libradiantcore_la-TGALoader.lo
  CXX      layers/libradiantcore_la-LayerInfoFileModule.lo
  CXX      layers/libradiantcore_la-LayerModule.lo
  CXX      layers/libradiantcore_la-LayerManager.lo
imagefile/JPEGLoader.cpp: In function ‘void j_putRGBAScanline(unsigned char*, int, unsigned char*, int)’:
imagefile/JPEGLoader.cpp:268:41: warning: variable ‘iAlp’ set but not used [-Wunused-but-set-variable]
  268 |         unsigned char iRed, iBlu, iGrn, iAlp;
      |                                         ^~~~
  CXX      log/libradiantcore_la-COutRedirector.lo
  CXX      log/libradiantcore_la-LogFile.lo
  CXX      log/libradiantcore_la-LogStream.lo
  CXX      log/libradiantcore_la-LogStreamBuf.lo
  CXX      log/libradiantcore_la-LogWriter.lo
  CXX      log/libradiantcore_la-StringLogDevice.lo
  CXX      map/aas/libradiantcore_la-AasFileManager.lo
  CXX      map/aas/libradiantcore_la-Doom3AasFileLoader.lo
  CXX      map/aas/libradiantcore_la-Doom3AasFileSettings.lo
  CXX      map/aas/libradiantcore_la-Doom3AasFile.lo
  CXX      map/algorithm/libradiantcore_la-Export.lo
  CXX      map/algorithm/libradiantcore_la-Import.lo
  CXX      map/algorithm/libradiantcore_la-MapExporter.lo
  CXX      map/algorithm/libradiantcore_la-MapImporter.lo
  CXX      map/algorithm/libradiantcore_la-Models.lo
  CXX      map/algorithm/libradiantcore_la-Skins.lo
  CXX      map/format/libradiantcore_la-MapFormatManager.lo
  CXX      map/format/libradiantcore_la-Quake3MapFormat.lo
  CXX      map/format/libradiantcore_la-Quake4MapFormat.lo
  CXX      map/format/libradiantcore_la-Doom3MapFormat.lo
  CXX      map/format/libradiantcore_la-Doom3MapReader.lo
  CXX      map/format/libradiantcore_la-Doom3PrefabFormat.lo
  CXX      map/format/portable/libradiantcore_la-PortableMapFormat.lo
  CXX      map/format/portable/libradiantcore_la-PortableMapWriter.lo
  CXX      map/format/portable/libradiantcore_la-PortableMapReader.lo
  CXX      map/format/libradiantcore_la-Quake3MapReader.lo
  CXX      map/format/libradiantcore_la-Doom3MapWriter.lo
  CXX      map/format/primitiveparsers/libradiantcore_la-PatchDef2.lo
  CXX      map/format/primitiveparsers/libradiantcore_la-Patch.lo
  CXX      map/format/primitiveparsers/libradiantcore_la-PatchDef3.lo
  CXX      map/format/primitiveparsers/libradiantcore_la-BrushDef3.lo
  CXX      map/format/primitiveparsers/libradiantcore_la-BrushDef.lo
  CXX      map/format/libradiantcore_la-Quake4MapReader.lo
  CXX      map/infofile/libradiantcore_la-InfoFile.lo
  CXX      map/infofile/libradiantcore_la-InfoFileExporter.lo
  CXX      map/infofile/libradiantcore_la-InfoFileManager.lo
  CXX      map/mru/libradiantcore_la-MRU.lo
  CXX      map/namespace/libradiantcore_la-ComplexName.lo
map/mru/MRU.cpp: In member function ‘void map::MRU::loadMRUMap(const ArgumentList&)’:
map/mru/MRU.cpp:117:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  117 |  if (index < 1 || index > _numMaxFiles)
      |                   ~~~~~~^~~~~~~~~~~~~~
map/mru/MRU.cpp: In lambda function:
map/mru/MRU.cpp:125:13: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  125 |   if (index == n)
      |       ~~~~~~^~~~
  CXX      map/namespace/libradiantcore_la-Namespace.lo
  CXX      map/namespace/libradiantcore_la-NamespaceFactory.lo
  CXX      map/libradiantcore_la-AutoSaver.lo
  CXX      map/libradiantcore_la-CounterManager.lo
  CXX      map/libradiantcore_la-EditingStopwatch.lo
  CXX      map/libradiantcore_la-EditingStopwatchInfoFileModule.lo
  CXX      map/libradiantcore_la-Map.lo
  CXX      map/libradiantcore_la-MapFileManager.lo
  CXX      map/libradiantcore_la-MapModules.lo
  CXX      map/libradiantcore_la-MapPosition.lo
  CXX      map/libradiantcore_la-MapPositionManager.lo
  CXX      map/libradiantcore_la-MapPropertyInfoFileModule.lo
  CXX      map/libradiantcore_la-MapResource.lo
  CXX      map/libradiantcore_la-MapResourceManager.lo
map/MapPositionManager.cpp: In member function ‘void map::MapPositionManager::onMapEvent(IMap::MapEvent)’:
map/MapPositionManager.cpp:241:9: warning: enumeration value ‘MapLoading’ not handled in switch [-Wswitch]
  241 |  switch (ev)
      |         ^
map/MapPositionManager.cpp:241:9: warning: enumeration value ‘MapUnloading’ not handled in switch [-Wswitch]
map/MapPositionManager.cpp:241:9: warning: enumeration value ‘MapSaving’ not handled in switch [-Wswitch]
map/MapPositionManager.cpp:241:9: warning: enumeration value ‘MapSaved’ not handled in switch [-Wswitch]
  CXX      map/libradiantcore_la-PointFile.lo
  CXX      map/libradiantcore_la-RegionManager.lo
  CXX      map/libradiantcore_la-RootNode.lo
  CXX      model/md5/libradiantcore_la-MD5Skeleton.lo
  CXX      model/md5/libradiantcore_la-MD5Module.lo
  CXX      model/md5/libradiantcore_la-MD5Model.lo
  CXX      model/md5/libradiantcore_la-MD5ModelLoader.lo
  CXX      model/md5/libradiantcore_la-MD5AnimationCache.lo
  CXX      model/md5/libradiantcore_la-MD5Surface.lo
  CXX      model/md5/libradiantcore_la-MD5Anim.lo
  CXX      model/md5/libradiantcore_la-MD5ModelNode.lo
  CXX      model/export/libradiantcore_la-AseExporter.lo
  CXX      model/export/libradiantcore_la-Lwo2Chunk.lo
  CXX      model/export/libradiantcore_la-Lwo2Exporter.lo
  CXX      model/export/libradiantcore_la-ModelExporter.lo
  CXX      model/export/libradiantcore_la-ModelScalePreserver.lo
  CXX      model/export/libradiantcore_la-ScaledModelExporter.lo
  CXX      model/export/libradiantcore_la-WavefrontExporter.lo
  CXX      model/picomodel/libradiantcore_la-PicoModelLoader.lo
  CXX      model/picomodel/libradiantcore_la-PicoModelModule.lo
  CXX      model/picomodel/libradiantcore_la-PicoModelNode.lo
  CXX      model/picomodel/libradiantcore_la-RenderablePicoModel.lo
  CXX      model/picomodel/libradiantcore_la-RenderablePicoSurface.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_md3.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_md2.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_obj.lo
model/picomodel/lib/pm_md2.c: In function ‘_md2_load.part.0’:
model/picomodel/lib/pm_md2.c:471:44: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 1 and 64 [-Wformat-truncation=]
  471 |    snprintf(skinname, MD2_MAX_SKINNAME, "%s%s", path, &skinnameRelative[1]);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from model/picomodel/lib/picointernal.h:48,
                 from model/picomodel/lib/pm_md2.c:44:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 1 and 127 bytes into a destination of size 64
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
                 from model/picomodel/lib/picointernal.h:51,
                 from model/picomodel/lib/pm_md2.c:44:
In function ‘strncpy’,
    inlined from ‘_md2_load.part.0’ at model/picomodel/lib/pm_md2.c:457:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘_md2_load.part.0’ at model/picomodel/lib/pm_md2.c:463:4:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       model/picomodel/lib/libradiantcore_la-picointernal.lo
  CC       model/picomodel/lib/libradiantcore_la-picomodules.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_lwo.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_mdc.lo
In file included from /usr/include/string.h:495,
                 from model/picomodel/lib/picointernal.h:51,
                 from model/picomodel/lib/pm_lwo.c:39:
In function ‘strncpy’,
    inlined from ‘_lwo_load’ at model/picomodel/lib/pm_lwo.c:252:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       model/picomodel/lib/libradiantcore_la-pm_fm.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_ase.lo
  CC       model/picomodel/lib/libradiantcore_la-picomodel.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-envelope.lo
In file included from /usr/include/string.h:495,
                 from model/picomodel/lib/picointernal.h:51,
                 from model/picomodel/lib/pm_ase.c:45:
In function ‘strncpy’,
    inlined from ‘_ase_load’ at model/picomodel/lib/pm_ase.c:629:4:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       model/picomodel/lib/lwo/libradiantcore_la-surface.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-clip.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-lwob.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-lwio.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-lwo2.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-list.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-pntspols.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-vmap.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-vecmath.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_terrain.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_ms3d.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_3ds.lo
  CXX      model/libradiantcore_la-ModelCache.lo
  CXX      model/libradiantcore_la-ModelFormatManager.lo
  CXX      model/libradiantcore_la-NullModel.lo
  CXX      model/libradiantcore_la-NullModelNode.lo
  CXX      modulesystem/libradiantcore_la-ModuleLoader.lo
In file included from /usr/include/string.h:495,
                 from model/picomodel/lib/picointernal.h:51,
                 from model/picomodel/lib/pm_3ds.c:41:
In function ‘strncpy’,
    inlined from ‘GetMeshShader’ at model/picomodel/lib/pm_3ds.c:427:4,
    inlined from ‘DoNextEditorDataChunk’ at model/picomodel/lib/pm_3ds.c:573:9:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘_3ds_load’ at model/picomodel/lib/pm_3ds.c:734:2:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CXX      modulesystem/libradiantcore_la-ModuleRegistry.lo
  CXX      particles/libradiantcore_la-ParticleDef.lo
  CXX      particles/libradiantcore_la-ParticleNode.lo
  CXX      particles/libradiantcore_la-ParticleParameter.lo
  CXX      particles/libradiantcore_la-ParticlesManager.lo
  CXX      particles/libradiantcore_la-RenderableParticle.lo
  CXX      particles/libradiantcore_la-RenderableParticleBunch.lo
  CXX      particles/libradiantcore_la-RenderableParticleStage.lo
  CXX      particles/libradiantcore_la-StageDef.lo
  CXX      patch/libradiantcore_la-Patch.lo
  CXX      patch/libradiantcore_la-PatchModule.lo
In file included from particles/ParticlesManager.cpp:21:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      patch/libradiantcore_la-PatchNode.lo
  CXX      patch/libradiantcore_la-PatchRenderables.lo
  CXX      patch/libradiantcore_la-PatchTesselation.lo
patch/Patch.cpp: In member function ‘void Patch::constructBevel(const AABB&, EViewType)’:
patch/Patch.cpp:1964:22: warning: ‘constDim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 1964 |     dim2 = (constDim + 2) % 3;
      |            ~~~~~~~~~~^~~~
patch/Patch.cpp:1981:29: note: ‘constDim’ was declared here
 1981 |     std::size_t dim1, dim2, constDim;
      |                             ^~~~~~~~
patch/Patch.cpp: In member function ‘void Patch::constructEndcap(const AABB&, EViewType)’:
patch/Patch.cpp:1964:22: warning: ‘constDim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 1964 |     dim2 = (constDim + 2) % 3;
      |            ~~~~~~~~~~^~~~
patch/Patch.cpp:2031:29: note: ‘constDim’ was declared here
 2031 |     std::size_t dim1, dim2, constDim;
      |                             ^~~~~~~~
patch/Patch.cpp: In member function ‘void Patch::ConstructPrefab(const AABB&, EPatchPrefab, EViewType, std::size_t, std::size_t)’:
patch/Patch.cpp:1964:22: warning: ‘rowDim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 1964 |     dim2 = (constDim + 2) % 3;
      |            ~~~~~~~~~~^~~~
patch/Patch.cpp:2110:39: note: ‘rowDim’ was declared here
 2110 |         std::size_t colDim1, colDim2, rowDim;
      |                                       ^~~~~~
  CXX      patch/algorithm/libradiantcore_la-General.lo
  CXX      patch/algorithm/libradiantcore_la-Prefab.lo
  CXX      rendersystem/backend/glprogram/libradiantcore_la-GenericVFPProgram.lo
  CXX      rendersystem/backend/glprogram/libradiantcore_la-GLSLBumpProgram.lo
  CXX      rendersystem/backend/glprogram/libradiantcore_la-GLSLDepthFillProgram.lo
  CXX      rendersystem/backend/libradiantcore_la-OpenGLShader.lo
  CXX      rendersystem/backend/libradiantcore_la-GLProgramFactory.lo
rendersystem/backend/OpenGLShader.cpp: In member function ‘virtual void render::OpenGLShader::attachObserver(Shader::Observer&)’:
rendersystem/backend/OpenGLShader.cpp:129:39: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  129 |  std::pair<Observers::iterator, bool> result = _observers.insert(&observer);
      |                                       ^~~~~~
  CXX      rendersystem/backend/libradiantcore_la-OpenGLShaderPass.lo
  CXX      rendersystem/libradiantcore_la-LinearLightList.lo
  CXX      rendersystem/libradiantcore_la-OpenGLRenderSystem.lo
  CXX      rendersystem/libradiantcore_la-RenderSystemFactory.lo
  CXX      rendersystem/libradiantcore_la-SharedOpenGLContextModule.lo
  CXX      rendersystem/debug/libradiantcore_la-SpacePartitionRenderer.lo
  CXX      scenegraph/libradiantcore_la-SceneGraph.lo
  CXX      scenegraph/libradiantcore_la-Octree.lo
  CXX      scenegraph/libradiantcore_la-SceneGraphFactory.lo
  CXX      selection/algorithm/libradiantcore_la-Curves.lo
scenegraph/Octree.cpp: In member function ‘void scene::Octree::notifyLink(const INodePtr&, scene::OctreeNode*)’:
scenegraph/Octree.cpp:131:41: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  131 |  std::pair<NodeMapping::iterator, bool> result =
      |                                         ^~~~~~
  CXX      selection/algorithm/libradiantcore_la-Entity.lo
  CXX      selection/algorithm/libradiantcore_la-General.lo
  CXX      selection/algorithm/libradiantcore_la-Group.lo
  CXX      selection/algorithm/libradiantcore_la-GroupCycle.lo
  CXX      selection/algorithm/libradiantcore_la-Patch.lo
  CXX      selection/algorithm/libradiantcore_la-Planes.lo
  CXX      selection/algorithm/libradiantcore_la-Primitives.lo
  CXX      selection/algorithm/libradiantcore_la-Shader.lo
  CXX      selection/algorithm/libradiantcore_la-Transformation.lo
  CXX      selection/clipboard/libradiantcore_la-Clipboard.lo
  CXX      selection/group/libradiantcore_la-SelectionGroupInfoFileModule.lo
  CXX      selection/group/libradiantcore_la-SelectionGroupManager.lo
  CXX      selection/group/libradiantcore_la-SelectionGroupModule.lo
  CXX      selection/manipulators/libradiantcore_la-DragManipulator.lo
  CXX      selection/manipulators/libradiantcore_la-ManipulatorBase.lo
  CXX      selection/manipulators/libradiantcore_la-ManipulatorComponents.lo
  CXX      selection/manipulators/libradiantcore_la-RotateManipulator.lo
  CXX      selection/manipulators/libradiantcore_la-ModelScaleManipulator.lo
  CXX      selection/manipulators/libradiantcore_la-ScaleManipulator.lo
  CXX      selection/manipulators/libradiantcore_la-TranslateManipulator.lo
  CXX      selection/selectionset/libradiantcore_la-SelectionSetManager.lo
  CXX      selection/selectionset/libradiantcore_la-SelectionSetInfoFileModule.lo
  CXX      selection/selectionset/libradiantcore_la-SelectionSet.lo
  CXX      selection/selectionset/libradiantcore_la-SelectionSetModule.lo
  CXX      selection/shaderclipboard/libradiantcore_la-ClosestTexturableFinder.lo
  CXX      selection/shaderclipboard/libradiantcore_la-ShaderClipboard.lo
  CXX      selection/shaderclipboard/libradiantcore_la-Texturable.lo
  CXX      selection/libradiantcore_la-RadiantSelectionSystem.lo
  CXX      selection/libradiantcore_la-ManipulationPivot.lo
  CXX      selection/libradiantcore_la-SelectedNodeList.lo
  CXX      selection/libradiantcore_la-SelectionTestWalkers.lo
selection/shaderclipboard/ShaderClipboard.cpp: In member function ‘void selection::ShaderClipboard::onMapEvent(IMap::MapEvent)’:
selection/shaderclipboard/ShaderClipboard.cpp:163:9: warning: enumeration value ‘MapLoading’ not handled in switch [-Wswitch]
  163 |  switch (ev)
      |         ^
selection/shaderclipboard/ShaderClipboard.cpp:163:9: warning: enumeration value ‘MapUnloaded’ not handled in switch [-Wswitch]
selection/shaderclipboard/ShaderClipboard.cpp:163:9: warning: enumeration value ‘MapSaved’ not handled in switch [-Wswitch]
  CXX      selection/libradiantcore_la-TransformationVisitors.lo
  CXX      settings/libradiantcore_la-ColourScheme.lo
  CXX      settings/libradiantcore_la-ColourSchemeManager.lo
  CXX      settings/libradiantcore_la-Game.lo
  CXX      settings/libradiantcore_la-GameManager.lo
  CXX      settings/libradiantcore_la-LanguageManager.lo
  CXX      settings/libradiantcore_la-PreferencePage.lo
  CXX      settings/libradiantcore_la-PreferenceSystem.lo
  CXX      shaders/libradiantcore_la-CameraCubeMapDecl.lo
  CXX      shaders/textures/libradiantcore_la-GLTextureManager.lo
  CXX      shaders/textures/libradiantcore_la-TextureManipulator.lo
  CXX      shaders/libradiantcore_la-CShader.lo
  CXX      shaders/libradiantcore_la-Doom3ShaderLayer.lo
  CXX      shaders/libradiantcore_la-Doom3ShaderSystem.lo
  CXX      shaders/libradiantcore_la-MapExpression.lo
  CXX      shaders/libradiantcore_la-ShaderExpression.lo
  CXX      shaders/libradiantcore_la-ShaderLibrary.lo
  CXX      shaders/libradiantcore_la-ShaderTemplate.lo
  CXX      shaders/libradiantcore_la-TableDefinition.lo
  CXX      skins/libradiantcore_la-Doom3SkinCache.lo
In file included from shaders/Doom3ShaderSystem.cpp:21:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      undo/libradiantcore_la-UndoSystem.lo
  CXX      vfs/libradiantcore_la-DeflatedInputStream.lo
  CXX      vfs/libradiantcore_la-DirectoryArchive.lo
  CXX      vfs/libradiantcore_la-Doom3FileSystem.lo
  CXX      vfs/libradiantcore_la-Doom3FileSystemModule.lo
In file included from vfs/Doom3FileSystem.cpp:35:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      vfs/libradiantcore_la-ZipArchive.lo
  CXX      xmlregistry/libradiantcore_la-RegistryTree.lo
  CXX      xmlregistry/libradiantcore_la-XMLRegistry.lo
  CXXLD    libradiantcore.la
make[2]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/radiantcore'
Making all in radiant
make[2]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/radiant'
  CXX      darkradiant-main.o
  CXX      darkradiant-RadiantApp.o
  CXX      camera/darkradiant-GlobalCameraWndManager.o
  CXX      camera/darkradiant-CameraSettings.o
  CXX      camera/darkradiant-FloatingCamWnd.o
  CXX      camera/darkradiant-CamWnd.o
  CXX      eventmanager/darkradiant-Accelerator.o
  CXX      eventmanager/darkradiant-EventManager.o
  CXX      eventmanager/darkradiant-GlobalKeyEventFilter.o
  CXX      eventmanager/darkradiant-MouseToolGroup.o
  CXX      eventmanager/darkradiant-MouseToolManager.o
  CXX      eventmanager/darkradiant-Statement.o
  CXX      eventmanager/darkradiant-Toggle.o
  CXX      eventmanager/darkradiant-WidgetToggle.o
  CXX      render/darkradiant-OpenGLModule.o
  CXX      ui/darkradiant-UserInterfaceModule.o
  CXX      ui/darkradiant-Documentation.o
  CXX      ui/eclasstree/darkradiant-EClassTree.o
  CXX      ui/eclasstree/darkradiant-EClassTreeBuilder.o
  CXX      ui/entitylist/darkradiant-EntityList.o
  CXX      ui/entitylist/darkradiant-GraphTreeModel.o
  CXX      ui/prefabselector/darkradiant-PrefabPopulator.o
In file included from ui/eclasstree/EClassTreeBuilder.cpp:6:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      ui/prefabselector/darkradiant-PrefabSelector.o
  CXX      ui/texturebrowser/darkradiant-TextureBrowser.o
  CXX      ui/texturebrowser/darkradiant-TextureBrowserManager.o
  CXX      ui/findshader/darkradiant-FindShader.o
  CXX      ui/mapinfo/darkradiant-MapInfoDialog.o
  CXX      ui/mapinfo/darkradiant-EntityInfoTab.o
  CXX      ui/mapinfo/darkradiant-ShaderInfoTab.o
  CXX      ui/mapinfo/darkradiant-ModelInfoTab.o
  CXX      ui/mapinfo/darkradiant-LayerInfoTab.o
  CXX      ui/mediabrowser/darkradiant-MediaBrowser.o
  CXX      ui/particles/darkradiant-ParticleEditor.o
  CXX      ui/particles/darkradiant-ParticlesChooser.o
  CXX      ui/brush/darkradiant-QuerySidesDialog.o
  CXX      ui/brush/darkradiant-FindBrush.o
  CXX      ui/overlay/darkradiant-OverlayDialog.o
In file included from ui/mediabrowser/MediaBrowser.cpp:36:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
ui/brush/QuerySidesDialog.cpp: In static member function ‘static void ui::QuerySidesDialog::Show(const ArgumentList&)’:
ui/brush/QuerySidesDialog.cpp:82:10: warning: enumeration value ‘NumPrefabTypes’ not handled in switch [-Wswitch]
   82 |   switch (type)
      |          ^
  CXX      ui/overlay/darkradiant-Overlay.o
  CXX      ui/splash/darkradiant-Splash.o
In file included from ui/particles/ParticlesChooser.cpp:9:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      ui/grid/darkradiant-GridUserInterface.o
  CXX      ui/layers/darkradiant-CreateLayerDialog.o
  CXX      ui/layers/darkradiant-LayerControl.o
  CXX      ui/layers/darkradiant-LayerContextMenu.o
  CXX      ui/layers/darkradiant-LayerControlDialog.o
  CXX      ui/layers/darkradiant-LayerOrthoContextMenuItem.o
  CXX      ui/ortho/darkradiant-OrthoContextMenu.o
  CXX      ui/about/darkradiant-AboutDialog.o
  CXX      ui/einspector/darkradiant-AnglePropertyEditor.o
  CXX      ui/einspector/darkradiant-TexturePropertyEditor.o
  CXX      ui/einspector/darkradiant-EntityInspector.o
  CXX      ui/einspector/darkradiant-SkinChooser.o
  CXX      ui/einspector/darkradiant-ColourPropertyEditor.o
  CXX      ui/einspector/darkradiant-EntityPropertyEditor.o
  CXX      ui/einspector/darkradiant-SkinPropertyEditor.o
  CXX      ui/einspector/darkradiant-Vector3PropertyEditor.o
  CXX      ui/einspector/darkradiant-AddPropertyDialog.o
  CXX      ui/einspector/darkradiant-FloatPropertyEditor.o
  CXX      ui/einspector/darkradiant-BooleanPropertyEditor.o
  CXX      ui/einspector/darkradiant-LightTextureChooser.o
  CXX      ui/einspector/darkradiant-SoundPropertyEditor.o
  CXX      ui/einspector/darkradiant-PropertyEditor.o
  CXX      ui/einspector/darkradiant-PropertyEditorFactory.o
  CXX      ui/einspector/darkradiant-ClassnamePropertyEditor.o
  CXX      ui/einspector/darkradiant-ModelPropertyEditor.o
  CXX      ui/common/darkradiant-TexturePreviewCombo.o
  CXX      ui/common/darkradiant-ShaderSelector.o
  CXX      ui/common/darkradiant-ShaderChooser.o
  CXX      ui/common/darkradiant-DefinitionView.o
  CXX      ui/common/darkradiant-MaterialDefinitionView.o
  CXX      ui/common/darkradiant-SoundShaderDefinitionView.o
  CXX      ui/common/darkradiant-RenderableAABB.o
  CXX      ui/common/darkradiant-CommandEntry.o
  CXX      ui/common/darkradiant-EntityChooser.o
  CXX      ui/common/darkradiant-MapPreview.o
  CXX      ui/filters/darkradiant-FilterContextMenu.o
  CXX      ui/filters/darkradiant-FilterOrthoContextMenuItem.o
  CXX      ui/filters/darkradiant-FilterUserInterface.o
  CXX      ui/filters/darkradiant-FiltersMainMenu.o
  CXX      ui/filters/editor/darkradiant-FilterDialog.o
  CXX      ui/filters/editor/darkradiant-FilterEditor.o
  CXX      ui/gl/darkradiant-WxGLWidgetManager.o
  CXX      ui/prefdialog/darkradiant-GameSetupDialog.o
  CXX      ui/prefdialog/darkradiant-GameSetupPage.o
  CXX      ui/prefdialog/darkradiant-GameSetupPageIdTech.o
  CXX      ui/prefdialog/darkradiant-GameSetupPageTdm.o
  CXX      ui/prefdialog/darkradiant-PrefPage.o
  CXX      ui/prefdialog/darkradiant-PrefDialog.o
  CXX      ui/prefdialog/darkradiant-PreferenceItem.o
  CXX      ui/transform/darkradiant-TransformDialog.o
  CXX      ui/modelselector/darkradiant-MaterialsList.o
  CXX      ui/modelselector/darkradiant-ModelSelector.o
  CXX      ui/surfaceinspector/darkradiant-SurfaceInspector.o
  CXX      ui/patch/darkradiant-CapDialog.o
  CXX      ui/patch/darkradiant-PatchThickenDialog.o
  CXX      ui/patch/darkradiant-PatchInspector.o
  CXX      ui/patch/darkradiant-PatchCreateDialog.o
  CXX      ui/patch/darkradiant-BulgePatchDialog.o
  CXX      ui/lightinspector/darkradiant-LightInspector.o
  CXX      ui/commandlist/darkradiant-CommandList.o
  CXX      ui/commandlist/darkradiant-ShortcutChooser.o
  CXX      ui/mainframe/darkradiant-MainFrame.o
  CXX      ui/mainframe/darkradiant-MainFrameLayoutManager.o
  CXX      ui/mainframe/darkradiant-FloatingLayout.o
  CXX      ui/mainframe/darkradiant-EmbeddedLayout.o
  CXX      ui/mainframe/darkradiant-SplitPaneLayout.o
  CXX      ui/mainframe/darkradiant-RegularLayout.o
  CXX      ui/mainframe/darkradiant-ScreenUpdateBlocker.o
  CXX      ui/mainframe/darkradiant-TopLevelFrame.o
  CXX      ui/modelexport/darkradiant-ExportAsModelDialog.o
  CXX      ui/modelexport/darkradiant-ExportCollisionModelDialog.o
  CXX      ui/mousetool/darkradiant-BindToolDialog.o
  CXX      ui/mousetool/darkradiant-ToolMappingDialog.o
  CXX      ui/script/darkradiant-ScriptMenu.o
  CXX      ui/script/darkradiant-ScriptWindow.o
  CXX      ui/script/darkradiant-ScriptUserInterfaceModule.o
  CXX      ui/aas/darkradiant-AasControl.o
  CXX      ui/aas/darkradiant-AasControlDialog.o
  CXX      ui/aas/darkradiant-RenderableAasFile.o
  CXX      ui/selectionset/darkradiant-SelectionSetToolmenu.o
  CXX      ui/darkradiant-LongRunningOperationHandler.o
  CXX      ui/darkradiant-MapCommands.o
  CXX      ui/darkradiant-DispatchEvent.o
  CXX      ui/darkradiant-MapFileProgressHandler.o
  CXX      ui/statusbar/darkradiant-EditingStopwatchStatus.o
  CXX      uimanager/darkradiant-SoundChooser.o
  CXX      uimanager/darkradiant-StatusBarManager.o
  CXX      uimanager/animationpreview/darkradiant-MD5AnimationChooser.o
  CXX      uimanager/animationpreview/darkradiant-AnimationPreview.o
  CXX      uimanager/animationpreview/darkradiant-MD5AnimationViewer.o
  CXX      uimanager/colourscheme/darkradiant-ColourSchemeEditor.o
In file included from uimanager/SoundChooser.cpp:10:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      uimanager/darkradiant-ToolbarManager.o
  CXX      uimanager/darkradiant-DialogManager.o
  CXX      ui/filters/darkradiant-FilterMenu.o
  CXX      uimanager/darkradiant-GroupDialog.o
  CXX      uimanager/menu/darkradiant-MenuManager.o
  CXX      uimanager/menu/darkradiant-MenuFolder.o
  CXX      uimanager/menu/darkradiant-MenuSeparator.o
  CXX      uimanager/menu/darkradiant-MenuItem.o
  CXX      uimanager/menu/darkradiant-MenuBar.o
  CXX      uimanager/menu/darkradiant-MenuElement.o
  CXX      uimanager/darkradiant-UIManager.o
  CXX      uimanager/darkradiant-SoundShaderPreview.o
  CXX      xyview/tools/darkradiant-BrushCreatorTool.o
  CXX      xyview/tools/darkradiant-ClipperTool.o
  CXX      xyview/tools/darkradiant-MeasurementTool.o
  CXX      xyview/darkradiant-XYWnd.o
  CXX      xyview/darkradiant-FloatingOrthoView.o
  CXX      xyview/darkradiant-GlobalXYWnd.o
  CXX      textool/darkradiant-TexToolItem.o
xyview/GlobalXYWnd.cpp: In member function ‘ui::XYWndPtr ui::XYWndManager::createEmbeddedOrthoView()’:
xyview/GlobalXYWnd.cpp:519:38: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  519 |  std::pair<XYWndMap::iterator, bool> result = _xyWnds.insert(
      |                                      ^~~~~~
xyview/GlobalXYWnd.cpp: In member function ‘ui::XYWndPtr ui::XYWndManager::createEmbeddedOrthoView(EViewType, wxWindow*)’:
xyview/GlobalXYWnd.cpp:541:38: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  541 |  std::pair<XYWndMap::iterator, bool> result = _xyWnds.insert(
      |                                      ^~~~~~
xyview/GlobalXYWnd.cpp: In member function ‘ui::XYWndPtr ui::XYWndManager::createFloatingOrthoView(EViewType)’:
xyview/GlobalXYWnd.cpp:572:38: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  572 |  std::pair<XYWndMap::iterator, bool> result = _xyWnds.insert(
      |                                      ^~~~~~
  CXX      textool/item/darkradiant-BrushItem.o
  CXX      textool/item/darkradiant-FaceItem.o
  CXX      textool/item/darkradiant-FaceVertexItem.o
  CXX      textool/item/darkradiant-PatchItem.o
  CXX      textool/item/darkradiant-PatchVertexItem.o
  CXX      textool/darkradiant-TexTool.o
  CXX      selection/darkradiant-ManipulateMouseTool.o
  CXX      selection/darkradiant-SelectionMouseTools.o
  CXX      settings/darkradiant-Win32Registry.o
  CXX      settings/darkradiant-LocalisationModule.o
  CXX      settings/darkradiant-LocalisationProvider.o
  CXX      map/darkradiant-StartupMapLoader.o
  CXX      log/darkradiant-Console.o
  CXXLD    darkradiant
make[2]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/radiant'
Making all in plugins
make[2]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/plugins'
Making all in sound
make[3]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/plugins/sound'
  CXX      SoundManager.lo
  CXX      sound.lo
  CXX      SoundPlayer.lo
  CXX      SoundShader.lo
In file included from SoundManager.cpp:7:
../../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXXLD    sound.la
make[3]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/plugins/sound'
Making all in script
make[3]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/plugins/script'
  CXX      ScriptingSystem.lo
  CXX      ScriptModule.lo
  CXX      ScriptCommand.lo
  CXX      SceneNodeBuffer.lo
  CXX      PythonModule.lo
  CXX      interfaces/DialogInterface.lo
  CXX      interfaces/EClassInterface.lo
  CXX      interfaces/BrushInterface.lo
  CXX      interfaces/CameraInterface.lo
  CXX      interfaces/RadiantInterface.lo
  CXX      interfaces/PatchInterface.lo
  CXX      interfaces/SelectionInterface.lo
  CXX      interfaces/MapInterface.lo
  CXX      interfaces/EntityInterface.lo
  CXX      interfaces/MathInterface.lo
  CXX      interfaces/ModelInterface.lo
  CXX      interfaces/CommandSystemInterface.lo
  CXX      interfaces/FileSystemInterface.lo
  CXX      interfaces/GridInterface.lo
  CXX      interfaces/SceneGraphInterface.lo
  CXX      interfaces/ShaderSystemInterface.lo
  CXX      interfaces/SkinInterface.lo
  CXX      interfaces/SelectionSetInterface.lo
  CXX      interfaces/SelectionGroupInterface.lo
  CXX      interfaces/SoundInterface.lo
  CXX      interfaces/GameInterface.lo
  CXXLD    script.la
/bin/bash: --extension-suffix: no s'ha trobat l'ordre
/bin/bash: --exec-prefix: no s'ha trobat l'ordre
/bin/bash: --ldflags: no s'ha trobat l'ordre
/bin/bash: --configdir: no s'ha trobat l'ordre
/bin/bash: --help: no s'ha trobat l'ordre
/bin/bash: --includes: no s'ha trobat l'ordre
/bin/bash: --cflags: no s'ha trobat l'ordre
/bin/bash: --libs: no s'ha trobat l'ordre
make[3]: *** [Makefile:612: script.la] Error 127
make[3]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/plugins/script'
make[2]: *** [Makefile:444: all-recursive] Error 1
make[2]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/plugins'
make[1]: *** [Makefile:749: all-recursive] Error 1
make[1]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant'
make: *** [Makefile:490: all] Error 2

the error seems to happen close to the same spot, and afterwards if I "make" again I get the following:

Quote

$ make --jobs=7
make  all-recursive
make[1]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant'
Making all in libs
make[2]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/libs'
Making all in math
make[3]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/libs/math'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/libs/math'
Making all in xmlutil
make[3]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/libs/xmlutil'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/libs/xmlutil'
Making all in scene
make[3]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/libs/scene'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/libs/scene'
Making all in wxutil
make[3]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/libs/wxutil'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/libs/wxutil'
Making all in module
make[3]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/libs/module'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/libs/module'
make[3]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/libs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/libs'
make[2]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/libs'
Making all in radiantcore
make[2]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/radiantcore'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/radiantcore'
Making all in radiant
make[2]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/radiant'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/radiant'
Making all in plugins
make[2]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/plugins'
Making all in sound
make[3]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/plugins/sound'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/plugins/sound'
Making all in script
make[3]: Entering directory '/home/biel/code/doom/doom3/DarkRadiant/plugins/script'
  CXXLD    script.la
/bin/bash: --exec-prefix: no s'ha trobat l'ordre
/bin/bash: --includes: no s'ha trobat l'ordre
/bin/bash: --libs: no s'ha trobat l'ordre
/bin/bash: --cflags: no s'ha trobat l'ordre
/bin/bash: --ldflags: no s'ha trobat l'ordre
/bin/bash: --extension-suffix: no s'ha trobat l'ordre
/bin/bash: --help: no s'ha trobat l'ordre
/bin/bash: --configdir: no s'ha trobat l'ordre
make[3]: *** [Makefile:612: script.la] Error 127
make[3]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/plugins/script'
make[2]: *** [Makefile:444: all-recursive] Error 1
make[2]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant/plugins'
make[1]: *** [Makefile:749: all-recursive] Error 1
make[1]: Leaving directory '/home/biel/code/doom/doom3/DarkRadiant'
make: *** [Makefile:490: all] Error 2

it seems the error is this "Error 127" in '/DarkRadiant/pluguin/script' ?

Edited by 7318

Biel Bestué de Luna - Github

Link to post
Share on other sites

Hm. Sounds a bit familiar to this issue, maybe?

Did it work before? Do you have two versions of Python on your system? What does python-config spit out when you call it manually?
If there is a specific python3-config available on your system, you could try calling ./configure with an additional switch --with-python-config=/path/to/python3-config

 

Link to post
Share on other sites

right now I got an error but I guess it's unrelated to the last error:

Quote

entity/EntityNode.cpp: In member function ‘virtual void entity::EntityNode::constructClone(const entity::EntityNode&)’:
entity/EntityNode.cpp:79:9: error: ‘model’ has not been declared
   79 |         model::ModelNodePtr originalModel = Node_getModel(originalChildModel);
      |         ^~~~~
entity/EntityNode.cpp:82:13: error: ‘originalModel’ was not declared in this scope; did you mean ‘originalChildModel’?
   82 |         if (originalModel && originalModel->hasModifiedScale())
      |             ^~~~~~~~~~~~~
      |             originalChildModel
make[2]: *** [Makefile:3153: entity/libradiantcore_la-EntityNode.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/biel/code/DarkRadiant/radiantcore'
make[1]: *** [Makefile:749: all-recursive] Error 1
make[1]: Leaving directory '/home/biel/code/DarkRadiant'
make: *** [Makefile:490: all] Error 2

 

as per my Python version, as detected by .configure is:

Quote

checking for python-config... python-config
checking for python3... /usr/bin/python3
checking if Python >= '3.8.0'... yes

my python3 version is 3.8.5 actually and I have python2 too but I guess this is standard with Ubuntu.

Edited by 7318

Biel Bestué de Luna - Github

Link to post
Share on other sites

Can you show me the config.log file in your DarkRadiant root folder, please?

Which Ubuntu version is this? Is the Python setup the Ubuntu default, or did you change anything?

Link to post
Share on other sites

isn't it failing at the end of the compile process? it says it "Leaving directory '/home/biel/code/DarkRadiant/radiant'" so by that time it has already compiled radiant isn't it?

Quote

$ make --jobs=8
make  all-recursive
make[1]: Entering directory '/home/biel/code/DarkRadiant'
Making all in libs
make[2]: Entering directory '/home/biel/code/DarkRadiant/libs'
Making all in math
make[3]: Entering directory '/home/biel/code/DarkRadiant/libs/math'
  CXX      Matrix4.lo
  CXX      Frustum.lo
  CXX      Plane3.lo
  CXX      AABB.lo
  CXX      Quaternion.lo
  CXXLD    libmath.la
make[3]: Leaving directory '/home/biel/code/DarkRadiant/libs/math'
Making all in xmlutil
make[3]: Entering directory '/home/biel/code/DarkRadiant/libs/xmlutil'
  CXX      Document.lo
  CXX      Node.lo
  CXXLD    libxmlutil.la
make[3]: Leaving directory '/home/biel/code/DarkRadiant/libs/xmlutil'
Making all in scene
make[3]: Entering directory '/home/biel/code/DarkRadiant/libs/scene'
  CXX      InstanceWalkers.lo
  CXX      ChildPrimitives.lo
  CXX      TraversableNodeSet.lo
  CXX      LayerUsageBreakdown.lo
  CXX      SelectableNode.lo
  CXX      ModelFinder.lo
  CXX      Traverse.lo
  CXX      SelectionIndex.lo
Traverse.cpp: In constructor ‘scene::IncludeSelectedWalker::IncludeSelectedWalker(scene::NodeVisitor&)’:
Traverse.cpp:16:15: warning: ‘scene::IncludeSelectedWalker::m_skip’ will be initialized after [-Wreorder]
   16 |  mutable bool m_skip;
      |               ^~~~~~
Traverse.cpp:14:33: warning:   ‘const std::set<scene::INode*>* scene::IncludeSelectedWalker::m_subsetOverride’ [-Wreorder]
   14 |  const std::set<scene::INode*> *m_subsetOverride;
      |                                 ^~~~~~~~~~~~~~~~
Traverse.cpp:39:2: warning:   when initialized here [-Wreorder]
   39 |  IncludeSelectedWalker(scene::NodeVisitor& walker) :
      |  ^~~~~~~~~~~~~~~~~~~~~
  CXX      Node.lo
  CXXLD    libscenegraph.la
make[3]: Leaving directory '/home/biel/code/DarkRadiant/libs/scene'
Making all in wxutil
make[3]: Entering directory '/home/biel/code/DarkRadiant/libs/wxutil'
  CXX      ConsoleView.lo
  CXX      FreezePointer.lo
  CXX      EntityClassChooser.lo
  CXX      GLWidget.lo
  CXX      PanedPosition.lo
  CXX      KeyValueTable.lo
  CXX      VFSTreePopulator.lo
  CXX      WindowPosition.lo
  CXX      window/TransientWindow.lo
  CXX      dialog/Dialog.lo
  CXX      dialog/DialogBase.lo
  CXX      dialog/MessageBox.lo
  CXX      preview/ModelPreview.lo
  CXX      preview/ParticlePreview.lo
In file included from EntityClassChooser.cpp:19:
../../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      preview/RenderPreview.lo
  CXX      preview/GuiRenderer.lo
  CXX      preview/GuiView.lo
  CXX      GLFont.lo
  CXX      menu/PopupMenu.lo
  CXX      PathEntry.lo
  CXX      Splitter.lo
  CXX      TreeModel.lo
  CXX      TreeView.lo
  CXX      TreeModelFilter.lo
  CXX      ModalProgressDialog.lo
  CXX      MouseToolHandler.lo
  CXX      SerialisableWidgets.lo
  CXX      SourceView.lo
  CXX      DirChooser.lo
  CXX      FileChooser.lo
FileChooser.cpp: In member function ‘void wxutil::FileChooser::construct()’:
FileChooser.cpp:99:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<wxutil::FileChooser::FileFilter>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   99 |  for (int i = 0; i < _fileFilters.size(); ++i)
      |                  ~~^~~~~~~~~~~~~~~~~~~~~
  CXXLD    libwxutil.la
make[3]: Leaving directory '/home/biel/code/DarkRadiant/libs/wxutil'
Making all in module
make[3]: Entering directory '/home/biel/code/DarkRadiant/libs/module'
  CXX      CoreModule.lo
  CXX      DynamicLibrary.lo
  CXX      ApplicationContextBase.lo
  CXX      StaticModule.lo
ApplicationContextBase.cpp: In member function ‘virtual void radiant::ApplicationContextBase::initialise(int, char**)’:
ApplicationContextBase.cpp:251:12: warning: ignoring return value of ‘int radiant::seteuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result]
  251 |     seteuid(getuid());
      |     ~~~~~~~^~~~~~~~~~
ApplicationContextBase.cpp:257:15: warning: ignoring return value of ‘int radiant::setuid(__uid_t)’, declared with attribute warn_unused_result [-Wunused-result]
  257 |         setuid(pw->pw_uid);
      |         ~~~~~~^~~~~~~~~~~~
  CXXLD    libmodule.la
make[3]: Leaving directory '/home/biel/code/DarkRadiant/libs/module'
make[3]: Entering directory '/home/biel/code/DarkRadiant/libs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/biel/code/DarkRadiant/libs'
make[2]: Leaving directory '/home/biel/code/DarkRadiant/libs'
Making all in radiantcore
make[2]: Entering directory '/home/biel/code/DarkRadiant/radiantcore'
  CXX      libradiantcore_la-Radiant.lo
  CXX      brush/libradiantcore_la-Brush.lo
  CXX      brush/libradiantcore_la-BrushModule.lo
  CXX      brush/libradiantcore_la-Face.lo
  CXX      brush/libradiantcore_la-FaceInstance.lo
  CXX      brush/libradiantcore_la-BrushNode.lo
  CXX      brush/libradiantcore_la-FacePlane.lo
  CXX      brush/libradiantcore_la-FixedWinding.lo
  CXX      brush/libradiantcore_la-TexDef.lo
  CXX      brush/libradiantcore_la-TextureMatrix.lo
  CXX      brush/libradiantcore_la-TextureProjection.lo
  CXX      brush/libradiantcore_la-Winding.lo
  CXX      brush/csg/libradiantcore_la-CSG.lo
  CXX      brush/export/libradiantcore_la-CollisionModel.lo
  CXX      camera/libradiantcore_la-CameraManager.lo
  CXX      camera/libradiantcore_la-Camera.lo
  CXX      clipper/libradiantcore_la-BrushByPlaneClipper.lo
  CXX      clipper/libradiantcore_la-ClipPoint.lo
  CXX      clipper/libradiantcore_la-Clipper.lo
  CXX      clipper/libradiantcore_la-SplitAlgorithm.lo
  CXX      commandsystem/libradiantcore_la-CommandSystem.lo
  CXX      eclass/libradiantcore_la-Doom3EntityClass.lo
  CXX      eclass/libradiantcore_la-EClassManager.lo
  CXX      entity/libradiantcore_la-ShaderParms.lo
  CXX      entity/libradiantcore_la-EntitySettings.lo
  CXX      entity/libradiantcore_la-KeyValueObserver.lo
  CXX      entity/libradiantcore_la-EntityNode.lo
In file included from eclass/EClassManager.cpp:18:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      entity/libradiantcore_la-RotationMatrix.lo
  CXX      entity/target/libradiantcore_la-TargetManager.lo
  CXX      entity/target/libradiantcore_la-TargetLineNode.lo
  CXX      entity/target/libradiantcore_la-TargetKeyCollection.lo
  CXX      entity/target/libradiantcore_la-TargetKey.lo
  CXX      entity/target/libradiantcore_la-TargetableNode.lo
  CXX      entity/light/libradiantcore_la-Renderables.lo
  CXX      entity/light/libradiantcore_la-Light.lo
  CXX      entity/light/libradiantcore_la-LightNode.lo
  CXX      entity/eclassmodel/libradiantcore_la-EclassModelNode.lo
  CXX      entity/libradiantcore_la-RotationKey.lo
  CXX      entity/libradiantcore_la-NameKeyObserver.lo
  CXX      entity/doom3group/libradiantcore_la-Doom3GroupNode.lo
  CXX      entity/doom3group/libradiantcore_la-Doom3Group.lo
  CXX      entity/libradiantcore_la-NamespaceManager.lo
  CXX      entity/generic/libradiantcore_la-GenericEntity.lo
  CXX      entity/generic/libradiantcore_la-GenericEntityNode.lo
  CXX      entity/speaker/libradiantcore_la-SpeakerNode.lo
  CXX      entity/speaker/libradiantcore_la-SpeakerRenderables.lo
  CXX      entity/libradiantcore_la-Doom3Entity.lo
  CXX      entity/libradiantcore_la-ModelKey.lo
  CXX      entity/libradiantcore_la-KeyValue.lo
  CXX      entity/curve/libradiantcore_la-CurveCatmullRom.lo
  CXX      entity/curve/libradiantcore_la-Curve.lo
  CXX      entity/curve/libradiantcore_la-CurveEditInstance.lo
  CXX      entity/curve/libradiantcore_la-CurveNURBS.lo
  CXX      entity/libradiantcore_la-AngleKey.lo
  CXX      entity/libradiantcore_la-EntityModule.lo
  CXX      filetypes/libradiantcore_la-FileTypeRegistry.lo
  CXX      filters/libradiantcore_la-BasicFilterSystem.lo
  CXX      filters/libradiantcore_la-XMLFilter.lo
  CXX      filters/libradiantcore_la-XmlFilterEventAdapter.lo
  CXX      fonts/libradiantcore_la-FontLoader.lo
  CXX      fonts/libradiantcore_la-GlyphInfo.lo
  CXX      fonts/libradiantcore_la-GlyphSet.lo
  CXX      fonts/libradiantcore_la-FontManager.lo
  CXX      grid/libradiantcore_la-GridManager.lo
  CXX      imagefile/libradiantcore_la-BMPLoader.lo
  CXX      imagefile/libradiantcore_la-dds.lo
  CXX      imagefile/libradiantcore_la-ddslib.lo
  CXX      imagefile/libradiantcore_la-ImageLoader.lo
  CXX      imagefile/libradiantcore_la-JPEGLoader.lo
  CXX      imagefile/libradiantcore_la-PNGLoader.lo
  CXX      imagefile/libradiantcore_la-TGALoader.lo
imagefile/JPEGLoader.cpp: In function ‘void j_putRGBAScanline(unsigned char*, int, unsigned char*, int)’:
imagefile/JPEGLoader.cpp:268:41: warning: variable ‘iAlp’ set but not used [-Wunused-but-set-variable]
  268 |         unsigned char iRed, iBlu, iGrn, iAlp;
      |                                         ^~~~
  CXX      layers/libradiantcore_la-LayerInfoFileModule.lo
  CXX      layers/libradiantcore_la-LayerModule.lo
  CXX      layers/libradiantcore_la-LayerManager.lo
  CXX      log/libradiantcore_la-COutRedirector.lo
  CXX      log/libradiantcore_la-LogFile.lo
  CXX      log/libradiantcore_la-LogStream.lo
  CXX      log/libradiantcore_la-LogStreamBuf.lo
  CXX      log/libradiantcore_la-LogWriter.lo
  CXX      log/libradiantcore_la-StringLogDevice.lo
  CXX      map/aas/libradiantcore_la-AasFileManager.lo
  CXX      map/aas/libradiantcore_la-Doom3AasFileLoader.lo
  CXX      map/aas/libradiantcore_la-Doom3AasFileSettings.lo
  CXX      map/aas/libradiantcore_la-Doom3AasFile.lo
  CXX      map/algorithm/libradiantcore_la-Export.lo
  CXX      map/algorithm/libradiantcore_la-Import.lo
  CXX      map/algorithm/libradiantcore_la-MapExporter.lo
  CXX      map/algorithm/libradiantcore_la-MapImporter.lo
  CXX      map/algorithm/libradiantcore_la-Models.lo
  CXX      map/algorithm/libradiantcore_la-Skins.lo
  CXX      map/format/libradiantcore_la-MapFormatManager.lo
  CXX      map/format/libradiantcore_la-Quake3MapFormat.lo
  CXX      map/format/libradiantcore_la-Quake4MapFormat.lo
  CXX      map/format/libradiantcore_la-Doom3MapFormat.lo
  CXX      map/format/libradiantcore_la-Doom3MapReader.lo
  CXX      map/format/libradiantcore_la-Doom3PrefabFormat.lo
  CXX      map/format/portable/libradiantcore_la-PortableMapFormat.lo
  CXX      map/format/portable/libradiantcore_la-PortableMapWriter.lo
  CXX      map/format/portable/libradiantcore_la-PortableMapReader.lo
  CXX      map/format/libradiantcore_la-Quake3MapReader.lo
  CXX      map/format/libradiantcore_la-Doom3MapWriter.lo
  CXX      map/format/primitiveparsers/libradiantcore_la-PatchDef2.lo
  CXX      map/format/primitiveparsers/libradiantcore_la-Patch.lo
  CXX      map/format/primitiveparsers/libradiantcore_la-PatchDef3.lo
  CXX      map/format/primitiveparsers/libradiantcore_la-BrushDef3.lo
  CXX      map/format/primitiveparsers/libradiantcore_la-BrushDef.lo
  CXX      map/format/libradiantcore_la-Quake4MapReader.lo
  CXX      map/infofile/libradiantcore_la-InfoFile.lo
  CXX      map/infofile/libradiantcore_la-InfoFileExporter.lo
  CXX      map/infofile/libradiantcore_la-InfoFileManager.lo
  CXX      map/mru/libradiantcore_la-MRU.lo
map/mru/MRU.cpp: In member function ‘void map::MRU::loadMRUMap(const ArgumentList&)’:
map/mru/MRU.cpp:117:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  117 |  if (index < 1 || index > _numMaxFiles)
      |                   ~~~~~~^~~~~~~~~~~~~~
map/mru/MRU.cpp: In lambda function:
map/mru/MRU.cpp:125:13: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  125 |   if (index == n)
      |       ~~~~~~^~~~
  CXX      map/namespace/libradiantcore_la-ComplexName.lo
  CXX      map/namespace/libradiantcore_la-Namespace.lo
  CXX      map/namespace/libradiantcore_la-NamespaceFactory.lo
  CXX      map/libradiantcore_la-AutoSaver.lo
  CXX      map/libradiantcore_la-CounterManager.lo
  CXX      map/libradiantcore_la-EditingStopwatch.lo
  CXX      map/libradiantcore_la-EditingStopwatchInfoFileModule.lo
  CXX      map/libradiantcore_la-Map.lo
  CXX      map/libradiantcore_la-MapFileManager.lo
  CXX      map/libradiantcore_la-MapModules.lo
  CXX      map/libradiantcore_la-MapPosition.lo
  CXX      map/libradiantcore_la-MapPositionManager.lo
  CXX      map/libradiantcore_la-MapPropertyInfoFileModule.lo
  CXX      map/libradiantcore_la-MapResource.lo
  CXX      map/libradiantcore_la-MapResourceManager.lo
  CXX      map/libradiantcore_la-PointFile.lo
map/MapPositionManager.cpp: In member function ‘void map::MapPositionManager::onMapEvent(IMap::MapEvent)’:
map/MapPositionManager.cpp:241:9: warning: enumeration value ‘MapLoading’ not handled in switch [-Wswitch]
  241 |  switch (ev)
      |         ^
map/MapPositionManager.cpp:241:9: warning: enumeration value ‘MapUnloading’ not handled in switch [-Wswitch]
map/MapPositionManager.cpp:241:9: warning: enumeration value ‘MapSaving’ not handled in switch [-Wswitch]
map/MapPositionManager.cpp:241:9: warning: enumeration value ‘MapSaved’ not handled in switch [-Wswitch]
  CXX      map/libradiantcore_la-RegionManager.lo
  CXX      map/libradiantcore_la-RootNode.lo
  CXX      model/md5/libradiantcore_la-MD5Skeleton.lo
  CXX      model/md5/libradiantcore_la-MD5Module.lo
  CXX      model/md5/libradiantcore_la-MD5Model.lo
  CXX      model/md5/libradiantcore_la-MD5ModelLoader.lo
  CXX      model/md5/libradiantcore_la-MD5AnimationCache.lo
  CXX      model/md5/libradiantcore_la-MD5Surface.lo
  CXX      model/md5/libradiantcore_la-MD5Anim.lo
  CXX      model/md5/libradiantcore_la-MD5ModelNode.lo
  CXX      model/export/libradiantcore_la-AseExporter.lo
  CXX      model/export/libradiantcore_la-Lwo2Chunk.lo
  CXX      model/export/libradiantcore_la-Lwo2Exporter.lo
  CXX      model/export/libradiantcore_la-ModelExporter.lo
  CXX      model/export/libradiantcore_la-ModelScalePreserver.lo
  CXX      model/export/libradiantcore_la-ScaledModelExporter.lo
  CXX      model/export/libradiantcore_la-WavefrontExporter.lo
  CXX      model/picomodel/libradiantcore_la-PicoModelLoader.lo
  CXX      model/picomodel/libradiantcore_la-PicoModelModule.lo
  CXX      model/picomodel/libradiantcore_la-PicoModelNode.lo
  CXX      model/picomodel/libradiantcore_la-RenderablePicoModel.lo
  CXX      model/picomodel/libradiantcore_la-RenderablePicoSurface.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_md3.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_md2.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_obj.lo
model/picomodel/lib/pm_md2.c: In function ‘_md2_load.part.0’:
model/picomodel/lib/pm_md2.c:471:44: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size between 1 and 64 [-Wformat-truncation=]
  471 |    snprintf(skinname, MD2_MAX_SKINNAME, "%s%s", path, &skinnameRelative[1]);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:867,
                 from model/picomodel/lib/picointernal.h:48,
                 from model/picomodel/lib/pm_md2.c:44:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 1 and 127 bytes into a destination of size 64
   67 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   68 |        __bos (__s), __fmt, __va_arg_pack ());
      |        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
                 from model/picomodel/lib/picointernal.h:51,
                 from model/picomodel/lib/pm_md2.c:44:
In function ‘strncpy’,
    inlined from ‘_md2_load.part.0’ at model/picomodel/lib/pm_md2.c:457:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘_md2_load.part.0’ at model/picomodel/lib/pm_md2.c:463:4:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 64 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       model/picomodel/lib/libradiantcore_la-picointernal.lo
  CC       model/picomodel/lib/libradiantcore_la-picomodules.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_lwo.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_mdc.lo
In file included from /usr/include/string.h:495,
                 from model/picomodel/lib/picointernal.h:51,
                 from model/picomodel/lib/pm_lwo.c:39:
In function ‘strncpy’,
    inlined from ‘_lwo_load’ at model/picomodel/lib/pm_lwo.c:252:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       model/picomodel/lib/libradiantcore_la-pm_fm.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_ase.lo
  CC       model/picomodel/lib/libradiantcore_la-picomodel.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-envelope.lo
In file included from /usr/include/string.h:495,
                 from model/picomodel/lib/picointernal.h:51,
                 from model/picomodel/lib/pm_ase.c:45:
In function ‘strncpy’,
    inlined from ‘_ase_load’ at model/picomodel/lib/pm_ase.c:629:4:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       model/picomodel/lib/lwo/libradiantcore_la-surface.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-clip.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-lwob.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-lwio.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-lwo2.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-list.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-pntspols.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-vmap.lo
  CC       model/picomodel/lib/lwo/libradiantcore_la-vecmath.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_terrain.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_ms3d.lo
  CC       model/picomodel/lib/libradiantcore_la-pm_3ds.lo
  CXX      model/libradiantcore_la-ModelCache.lo
  CXX      model/libradiantcore_la-ModelFormatManager.lo
  CXX      model/libradiantcore_la-NullModel.lo
  CXX      model/libradiantcore_la-NullModelNode.lo
In file included from /usr/include/string.h:495,
                 from model/picomodel/lib/picointernal.h:51,
                 from model/picomodel/lib/pm_3ds.c:41:
In function ‘strncpy’,
    inlined from ‘GetMeshShader’ at model/picomodel/lib/pm_3ds.c:427:4,
    inlined from ‘DoNextEditorDataChunk’ at model/picomodel/lib/pm_3ds.c:573:9:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘_3ds_load’ at model/picomodel/lib/pm_3ds.c:734:2:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Wstringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CXX      modulesystem/libradiantcore_la-ModuleLoader.lo
  CXX      modulesystem/libradiantcore_la-ModuleRegistry.lo
  CXX      particles/libradiantcore_la-ParticleDef.lo
  CXX      particles/libradiantcore_la-ParticleNode.lo
  CXX      particles/libradiantcore_la-ParticleParameter.lo
  CXX      particles/libradiantcore_la-ParticlesManager.lo
  CXX      particles/libradiantcore_la-RenderableParticle.lo
  CXX      particles/libradiantcore_la-RenderableParticleBunch.lo
  CXX      particles/libradiantcore_la-RenderableParticleStage.lo
  CXX      particles/libradiantcore_la-StageDef.lo
  CXX      patch/libradiantcore_la-Patch.lo
In file included from particles/ParticlesManager.cpp:21:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      patch/libradiantcore_la-PatchModule.lo
  CXX      patch/libradiantcore_la-PatchNode.lo
  CXX      patch/libradiantcore_la-PatchRenderables.lo
  CXX      patch/libradiantcore_la-PatchTesselation.lo
  CXX      patch/algorithm/libradiantcore_la-General.lo
patch/Patch.cpp: In member function ‘void Patch::constructBevel(const AABB&, EViewType)’:
patch/Patch.cpp:1964:22: warning: ‘constDim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 1964 |     dim2 = (constDim + 2) % 3;
      |            ~~~~~~~~~~^~~~
patch/Patch.cpp:1981:29: note: ‘constDim’ was declared here
 1981 |     std::size_t dim1, dim2, constDim;
      |                             ^~~~~~~~
patch/Patch.cpp: In member function ‘void Patch::constructEndcap(const AABB&, EViewType)’:
patch/Patch.cpp:1964:22: warning: ‘constDim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 1964 |     dim2 = (constDim + 2) % 3;
      |            ~~~~~~~~~~^~~~
patch/Patch.cpp:2031:29: note: ‘constDim’ was declared here
 2031 |     std::size_t dim1, dim2, constDim;
      |                             ^~~~~~~~
patch/Patch.cpp: In member function ‘void Patch::ConstructPrefab(const AABB&, EPatchPrefab, EViewType, std::size_t, std::size_t)’:
patch/Patch.cpp:1964:22: warning: ‘rowDim’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 1964 |     dim2 = (constDim + 2) % 3;
      |            ~~~~~~~~~~^~~~
patch/Patch.cpp:2110:39: note: ‘rowDim’ was declared here
 2110 |         std::size_t colDim1, colDim2, rowDim;
      |                                       ^~~~~~
  CXX      patch/algorithm/libradiantcore_la-Prefab.lo
  CXX      rendersystem/backend/glprogram/libradiantcore_la-GenericVFPProgram.lo
  CXX      rendersystem/backend/glprogram/libradiantcore_la-GLSLBumpProgram.lo
  CXX      rendersystem/backend/glprogram/libradiantcore_la-GLSLDepthFillProgram.lo
  CXX      rendersystem/backend/libradiantcore_la-OpenGLShader.lo
  CXX      rendersystem/backend/libradiantcore_la-GLProgramFactory.lo
  CXX      rendersystem/backend/libradiantcore_la-OpenGLShaderPass.lo
rendersystem/backend/OpenGLShader.cpp: In member function ‘virtual void render::OpenGLShader::attachObserver(Shader::Observer&)’:
rendersystem/backend/OpenGLShader.cpp:129:39: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  129 |  std::pair<Observers::iterator, bool> result = _observers.insert(&observer);
      |                                       ^~~~~~
  CXX      rendersystem/libradiantcore_la-LinearLightList.lo
  CXX      rendersystem/libradiantcore_la-OpenGLRenderSystem.lo
  CXX      rendersystem/libradiantcore_la-RenderSystemFactory.lo
  CXX      rendersystem/libradiantcore_la-SharedOpenGLContextModule.lo
  CXX      rendersystem/debug/libradiantcore_la-SpacePartitionRenderer.lo
  CXX      scenegraph/libradiantcore_la-SceneGraph.lo
  CXX      scenegraph/libradiantcore_la-Octree.lo
  CXX      scenegraph/libradiantcore_la-SceneGraphFactory.lo
scenegraph/Octree.cpp: In member function ‘void scene::Octree::notifyLink(const INodePtr&, scene::OctreeNode*)’:
scenegraph/Octree.cpp:131:41: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  131 |  std::pair<NodeMapping::iterator, bool> result =
      |                                         ^~~~~~
  CXX      selection/algorithm/libradiantcore_la-Curves.lo
  CXX      selection/algorithm/libradiantcore_la-Entity.lo
  CXX      selection/algorithm/libradiantcore_la-General.lo
  CXX      selection/algorithm/libradiantcore_la-Group.lo
  CXX      selection/algorithm/libradiantcore_la-GroupCycle.lo
  CXX      selection/algorithm/libradiantcore_la-Patch.lo
  CXX      selection/algorithm/libradiantcore_la-Planes.lo
  CXX      selection/algorithm/libradiantcore_la-Primitives.lo
  CXX      selection/algorithm/libradiantcore_la-Shader.lo
  CXX      selection/algorithm/libradiantcore_la-Transformation.lo
  CXX      selection/clipboard/libradiantcore_la-Clipboard.lo
  CXX      selection/group/libradiantcore_la-SelectionGroupInfoFileModule.lo
  CXX      selection/group/libradiantcore_la-SelectionGroupManager.lo
  CXX      selection/group/libradiantcore_la-SelectionGroupModule.lo
  CXX      selection/manipulators/libradiantcore_la-DragManipulator.lo
  CXX      selection/manipulators/libradiantcore_la-ManipulatorBase.lo
  CXX      selection/manipulators/libradiantcore_la-ManipulatorComponents.lo
  CXX      selection/manipulators/libradiantcore_la-RotateManipulator.lo
  CXX      selection/manipulators/libradiantcore_la-ModelScaleManipulator.lo
  CXX      selection/manipulators/libradiantcore_la-ScaleManipulator.lo
  CXX      selection/manipulators/libradiantcore_la-TranslateManipulator.lo
  CXX      selection/selectionset/libradiantcore_la-SelectionSetManager.lo
  CXX      selection/selectionset/libradiantcore_la-SelectionSetInfoFileModule.lo
  CXX      selection/selectionset/libradiantcore_la-SelectionSet.lo
  CXX      selection/selectionset/libradiantcore_la-SelectionSetModule.lo
  CXX      selection/shaderclipboard/libradiantcore_la-ClosestTexturableFinder.lo
  CXX      selection/shaderclipboard/libradiantcore_la-ShaderClipboard.lo
  CXX      selection/shaderclipboard/libradiantcore_la-Texturable.lo
  CXX      selection/libradiantcore_la-RadiantSelectionSystem.lo
selection/shaderclipboard/ShaderClipboard.cpp: In member function ‘void selection::ShaderClipboard::onMapEvent(IMap::MapEvent)’:
selection/shaderclipboard/ShaderClipboard.cpp:163:9: warning: enumeration value ‘MapLoading’ not handled in switch [-Wswitch]
  163 |  switch (ev)
      |         ^
selection/shaderclipboard/ShaderClipboard.cpp:163:9: warning: enumeration value ‘MapUnloaded’ not handled in switch [-Wswitch]
selection/shaderclipboard/ShaderClipboard.cpp:163:9: warning: enumeration value ‘MapSaved’ not handled in switch [-Wswitch]
  CXX      selection/libradiantcore_la-ManipulationPivot.lo
  CXX      selection/libradiantcore_la-SelectedNodeList.lo
  CXX      selection/libradiantcore_la-SelectionTestWalkers.lo
  CXX      selection/libradiantcore_la-TransformationVisitors.lo
  CXX      settings/libradiantcore_la-ColourScheme.lo
  CXX      settings/libradiantcore_la-ColourSchemeManager.lo
  CXX      settings/libradiantcore_la-Game.lo
  CXX      settings/libradiantcore_la-GameManager.lo
  CXX      settings/libradiantcore_la-LanguageManager.lo
  CXX      settings/libradiantcore_la-PreferencePage.lo
  CXX      settings/libradiantcore_la-PreferenceSystem.lo
  CXX      shaders/libradiantcore_la-CameraCubeMapDecl.lo
  CXX      shaders/textures/libradiantcore_la-GLTextureManager.lo
  CXX      shaders/textures/libradiantcore_la-TextureManipulator.lo
  CXX      shaders/libradiantcore_la-CShader.lo
  CXX      shaders/libradiantcore_la-Doom3ShaderLayer.lo
  CXX      shaders/libradiantcore_la-Doom3ShaderSystem.lo
  CXX      shaders/libradiantcore_la-MapExpression.lo
  CXX      shaders/libradiantcore_la-ShaderExpression.lo
  CXX      shaders/libradiantcore_la-ShaderLibrary.lo
  CXX      shaders/libradiantcore_la-ShaderTemplate.lo
  CXX      shaders/libradiantcore_la-TableDefinition.lo
In file included from shaders/Doom3ShaderSystem.cpp:21:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      skins/libradiantcore_la-Doom3SkinCache.lo
  CXX      undo/libradiantcore_la-UndoSystem.lo
  CXX      vfs/libradiantcore_la-DeflatedInputStream.lo
  CXX      vfs/libradiantcore_la-DirectoryArchive.lo
  CXX      vfs/libradiantcore_la-Doom3FileSystem.lo
  CXX      vfs/libradiantcore_la-Doom3FileSystemModule.lo
  CXX      vfs/libradiantcore_la-ZipArchive.lo
In file included from vfs/Doom3FileSystem.cpp:35:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      xmlregistry/libradiantcore_la-RegistryTree.lo
  CXX      xmlregistry/libradiantcore_la-XMLRegistry.lo
  CXXLD    libradiantcore.la
make[2]: Leaving directory '/home/biel/code/DarkRadiant/radiantcore'
Making all in radiant
make[2]: Entering directory '/home/biel/code/DarkRadiant/radiant'
  CXX      darkradiant-main.o
  CXX      darkradiant-RadiantApp.o
  CXX      camera/darkradiant-GlobalCameraWndManager.o
  CXX      camera/darkradiant-CameraSettings.o
  CXX      camera/darkradiant-CamWnd.o
  CXX      eventmanager/darkradiant-Accelerator.o
  CXX      camera/darkradiant-FloatingCamWnd.o
  CXX      eventmanager/darkradiant-EventManager.o
  CXX      eventmanager/darkradiant-GlobalKeyEventFilter.o
  CXX      eventmanager/darkradiant-MouseToolGroup.o
  CXX      eventmanager/darkradiant-MouseToolManager.o
  CXX      eventmanager/darkradiant-Statement.o
  CXX      eventmanager/darkradiant-Toggle.o
  CXX      eventmanager/darkradiant-WidgetToggle.o
  CXX      render/darkradiant-OpenGLModule.o
  CXX      ui/darkradiant-UserInterfaceModule.o
  CXX      ui/darkradiant-Documentation.o
  CXX      ui/eclasstree/darkradiant-EClassTree.o
  CXX      ui/eclasstree/darkradiant-EClassTreeBuilder.o
  CXX      ui/entitylist/darkradiant-EntityList.o
  CXX      ui/entitylist/darkradiant-GraphTreeModel.o
  CXX      ui/prefabselector/darkradiant-PrefabPopulator.o
In file included from ui/eclasstree/EClassTreeBuilder.cpp:6:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      ui/prefabselector/darkradiant-PrefabSelector.o
  CXX      ui/texturebrowser/darkradiant-TextureBrowser.o
  CXX      ui/texturebrowser/darkradiant-TextureBrowserManager.o
  CXX      ui/findshader/darkradiant-FindShader.o
  CXX      ui/mapinfo/darkradiant-MapInfoDialog.o
  CXX      ui/mapinfo/darkradiant-EntityInfoTab.o
  CXX      ui/mapinfo/darkradiant-ShaderInfoTab.o
  CXX      ui/mapinfo/darkradiant-ModelInfoTab.o
  CXX      ui/mapinfo/darkradiant-LayerInfoTab.o
  CXX      ui/mediabrowser/darkradiant-MediaBrowser.o
  CXX      ui/particles/darkradiant-ParticleEditor.o
  CXX      ui/particles/darkradiant-ParticlesChooser.o
  CXX      ui/brush/darkradiant-QuerySidesDialog.o
  CXX      ui/brush/darkradiant-FindBrush.o
ui/brush/QuerySidesDialog.cpp: In static member function ‘static void ui::QuerySidesDialog::Show(const ArgumentList&)’:
ui/brush/QuerySidesDialog.cpp:82:10: warning: enumeration value ‘NumPrefabTypes’ not handled in switch [-Wswitch]
   82 |   switch (type)
      |          ^
  CXX      ui/overlay/darkradiant-OverlayDialog.o
In file included from ui/particles/ParticlesChooser.cpp:9:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
In file included from ui/mediabrowser/MediaBrowser.cpp:36:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      ui/overlay/darkradiant-Overlay.o
  CXX      ui/splash/darkradiant-Splash.o
  CXX      ui/grid/darkradiant-GridUserInterface.o
  CXX      ui/layers/darkradiant-CreateLayerDialog.o
  CXX      ui/layers/darkradiant-LayerControl.o
  CXX      ui/layers/darkradiant-LayerContextMenu.o
  CXX      ui/layers/darkradiant-LayerControlDialog.o
  CXX      ui/layers/darkradiant-LayerOrthoContextMenuItem.o
  CXX      ui/ortho/darkradiant-OrthoContextMenu.o
  CXX      ui/about/darkradiant-AboutDialog.o
  CXX      ui/einspector/darkradiant-AnglePropertyEditor.o
  CXX      ui/einspector/darkradiant-TexturePropertyEditor.o
  CXX      ui/einspector/darkradiant-EntityInspector.o
  CXX      ui/einspector/darkradiant-SkinChooser.o
  CXX      ui/einspector/darkradiant-ColourPropertyEditor.o
  CXX      ui/einspector/darkradiant-EntityPropertyEditor.o
  CXX      ui/einspector/darkradiant-SkinPropertyEditor.o
  CXX      ui/einspector/darkradiant-Vector3PropertyEditor.o
  CXX      ui/einspector/darkradiant-AddPropertyDialog.o
  CXX      ui/einspector/darkradiant-FloatPropertyEditor.o
  CXX      ui/einspector/darkradiant-BooleanPropertyEditor.o
  CXX      ui/einspector/darkradiant-LightTextureChooser.o
  CXX      ui/einspector/darkradiant-SoundPropertyEditor.o
  CXX      ui/einspector/darkradiant-PropertyEditor.o
  CXX      ui/einspector/darkradiant-PropertyEditorFactory.o
  CXX      ui/einspector/darkradiant-ClassnamePropertyEditor.o
  CXX      ui/einspector/darkradiant-ModelPropertyEditor.o
  CXX      ui/common/darkradiant-TexturePreviewCombo.o
  CXX      ui/common/darkradiant-ShaderSelector.o
  CXX      ui/common/darkradiant-ShaderChooser.o
  CXX      ui/common/darkradiant-DefinitionView.o
  CXX      ui/common/darkradiant-MaterialDefinitionView.o
  CXX      ui/common/darkradiant-SoundShaderDefinitionView.o
  CXX      ui/common/darkradiant-RenderableAABB.o
  CXX      ui/common/darkradiant-CommandEntry.o
  CXX      ui/common/darkradiant-EntityChooser.o
  CXX      ui/common/darkradiant-MapPreview.o
  CXX      ui/filters/darkradiant-FilterContextMenu.o
  CXX      ui/filters/darkradiant-FilterOrthoContextMenuItem.o
  CXX      ui/filters/darkradiant-FilterUserInterface.o
  CXX      ui/filters/darkradiant-FiltersMainMenu.o
  CXX      ui/filters/editor/darkradiant-FilterDialog.o
  CXX      ui/filters/editor/darkradiant-FilterEditor.o
  CXX      ui/gl/darkradiant-WxGLWidgetManager.o
  CXX      ui/prefdialog/darkradiant-GameSetupDialog.o
  CXX      ui/prefdialog/darkradiant-GameSetupPage.o
  CXX      ui/prefdialog/darkradiant-GameSetupPageIdTech.o
  CXX      ui/prefdialog/darkradiant-GameSetupPageTdm.o
  CXX      ui/prefdialog/darkradiant-PrefPage.o
  CXX      ui/prefdialog/darkradiant-PrefDialog.o
  CXX      ui/prefdialog/darkradiant-PreferenceItem.o
  CXX      ui/transform/darkradiant-TransformDialog.o
  CXX      ui/modelselector/darkradiant-MaterialsList.o
  CXX      ui/modelselector/darkradiant-ModelSelector.o
  CXX      ui/surfaceinspector/darkradiant-SurfaceInspector.o
  CXX      ui/patch/darkradiant-CapDialog.o
  CXX      ui/patch/darkradiant-PatchThickenDialog.o
  CXX      ui/patch/darkradiant-PatchInspector.o
  CXX      ui/patch/darkradiant-PatchCreateDialog.o
  CXX      ui/patch/darkradiant-BulgePatchDialog.o
  CXX      ui/lightinspector/darkradiant-LightInspector.o
  CXX      ui/commandlist/darkradiant-CommandList.o
  CXX      ui/commandlist/darkradiant-ShortcutChooser.o
  CXX      ui/mainframe/darkradiant-MainFrame.o
  CXX      ui/mainframe/darkradiant-MainFrameLayoutManager.o
  CXX      ui/mainframe/darkradiant-FloatingLayout.o
  CXX      ui/mainframe/darkradiant-EmbeddedLayout.o
  CXX      ui/mainframe/darkradiant-SplitPaneLayout.o
  CXX      ui/mainframe/darkradiant-RegularLayout.o
  CXX      ui/mainframe/darkradiant-ScreenUpdateBlocker.o
  CXX      ui/mainframe/darkradiant-TopLevelFrame.o
  CXX      ui/modelexport/darkradiant-ExportAsModelDialog.o
  CXX      ui/modelexport/darkradiant-ExportCollisionModelDialog.o
  CXX      ui/mousetool/darkradiant-BindToolDialog.o
  CXX      ui/mousetool/darkradiant-ToolMappingDialog.o
  CXX      ui/script/darkradiant-ScriptMenu.o
  CXX      ui/script/darkradiant-ScriptWindow.o
  CXX      ui/script/darkradiant-ScriptUserInterfaceModule.o
  CXX      ui/aas/darkradiant-AasControl.o
  CXX      ui/aas/darkradiant-AasControlDialog.o
  CXX      ui/aas/darkradiant-RenderableAasFile.o
  CXX      ui/selectionset/darkradiant-SelectionSetToolmenu.o
  CXX      ui/darkradiant-LongRunningOperationHandler.o
  CXX      ui/darkradiant-MapCommands.o
  CXX      ui/darkradiant-DispatchEvent.o
  CXX      ui/darkradiant-MapFileProgressHandler.o
  CXX      ui/statusbar/darkradiant-EditingStopwatchStatus.o
  CXX      uimanager/darkradiant-SoundChooser.o
  CXX      uimanager/darkradiant-StatusBarManager.o
  CXX      uimanager/animationpreview/darkradiant-MD5AnimationChooser.o
  CXX      uimanager/animationpreview/darkradiant-AnimationPreview.o
  CXX      uimanager/animationpreview/darkradiant-MD5AnimationViewer.o
  CXX      uimanager/colourscheme/darkradiant-ColourSchemeEditor.o
  CXX      uimanager/darkradiant-ToolbarManager.o
In file included from uimanager/SoundChooser.cpp:10:
../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXX      uimanager/darkradiant-DialogManager.o
  CXX      ui/filters/darkradiant-FilterMenu.o
  CXX      uimanager/darkradiant-GroupDialog.o
  CXX      uimanager/menu/darkradiant-MenuManager.o
  CXX      uimanager/menu/darkradiant-MenuFolder.o
  CXX      uimanager/menu/darkradiant-MenuSeparator.o
  CXX      uimanager/menu/darkradiant-MenuItem.o
  CXX      uimanager/menu/darkradiant-MenuBar.o
  CXX      uimanager/menu/darkradiant-MenuElement.o
  CXX      uimanager/darkradiant-UIManager.o
  CXX      uimanager/darkradiant-SoundShaderPreview.o
  CXX      xyview/tools/darkradiant-BrushCreatorTool.o
  CXX      xyview/tools/darkradiant-ClipperTool.o
  CXX      xyview/tools/darkradiant-MeasurementTool.o
  CXX      xyview/darkradiant-XYWnd.o
  CXX      xyview/darkradiant-FloatingOrthoView.o
  CXX      xyview/darkradiant-GlobalXYWnd.o
  CXX      textool/darkradiant-TexToolItem.o
  CXX      textool/item/darkradiant-BrushItem.o
xyview/GlobalXYWnd.cpp: In member function ‘ui::XYWndPtr ui::XYWndManager::createEmbeddedOrthoView()’:
xyview/GlobalXYWnd.cpp:519:38: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  519 |  std::pair<XYWndMap::iterator, bool> result = _xyWnds.insert(
      |                                      ^~~~~~
xyview/GlobalXYWnd.cpp: In member function ‘ui::XYWndPtr ui::XYWndManager::createEmbeddedOrthoView(EViewType, wxWindow*)’:
xyview/GlobalXYWnd.cpp:541:38: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  541 |  std::pair<XYWndMap::iterator, bool> result = _xyWnds.insert(
      |                                      ^~~~~~
xyview/GlobalXYWnd.cpp: In member function ‘ui::XYWndPtr ui::XYWndManager::createFloatingOrthoView(EViewType)’:
xyview/GlobalXYWnd.cpp:572:38: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
  572 |  std::pair<XYWndMap::iterator, bool> result = _xyWnds.insert(
      |                                      ^~~~~~
  CXX      textool/item/darkradiant-FaceItem.o
  CXX      textool/item/darkradiant-FaceVertexItem.o
  CXX      textool/item/darkradiant-PatchItem.o
  CXX      textool/item/darkradiant-PatchVertexItem.o
  CXX      textool/darkradiant-TexTool.o
  CXX      selection/darkradiant-ManipulateMouseTool.o
  CXX      selection/darkradiant-SelectionMouseTools.o
  CXX      settings/darkradiant-Win32Registry.o
  CXX      settings/darkradiant-LocalisationModule.o
  CXX      settings/darkradiant-LocalisationProvider.o
  CXX      map/darkradiant-StartupMapLoader.o
  CXX      log/darkradiant-Console.o
  CXXLD    darkradiant
make[2]: Leaving directory '/home/biel/code/DarkRadiant/radiant'
Making all in plugins
make[2]: Entering directory '/home/biel/code/DarkRadiant/plugins'
Making all in sound
make[3]: Entering directory '/home/biel/code/DarkRadiant/plugins/sound'
  CXX      SoundShader.lo
  CXX      SoundPlayer.lo
  CXX      SoundManager.lo
  CXX      sound.lo
In file included from SoundManager.cpp:7:
../../libs/debugging/ScopedDebugTimer.h:52:9: warning: ‘double {anonymous}::operator-(const timeval&, const timeval&)’ defined but not used [-Wunused-function]
   52 |  double operator-(const timeval& l, const timeval& r) {
      |         ^~~~~~~~
  CXXLD    sound.la
make[3]: Leaving directory '/home/biel/code/DarkRadiant/plugins/sound'
Making all in script
make[3]: Entering directory '/home/biel/code/DarkRadiant/plugins/script'
  CXX      ScriptingSystem.lo
  CXX      ScriptCommand.lo
  CXX      SceneNodeBuffer.lo
  CXX      ScriptModule.lo
  CXX      PythonModule.lo
  CXX      interfaces/DialogInterface.lo
  CXX      interfaces/EClassInterface.lo
  CXX      interfaces/BrushInterface.lo
  CXX      interfaces/CameraInterface.lo
  CXX      interfaces/RadiantInterface.lo
  CXX      interfaces/PatchInterface.lo
  CXX      interfaces/SelectionInterface.lo
  CXX      interfaces/MapInterface.lo
  CXX      interfaces/EntityInterface.lo
  CXX      interfaces/MathInterface.lo
  CXX      interfaces/ModelInterface.lo
  CXX      interfaces/CommandSystemInterface.lo
  CXX      interfaces/FileSystemInterface.lo
  CXX      interfaces/GridInterface.lo
  CXX      interfaces/SceneGraphInterface.lo
  CXX      interfaces/ShaderSystemInterface.lo
  CXX      interfaces/SkinInterface.lo
  CXX      interfaces/SelectionSetInterface.lo
  CXX      interfaces/SelectionGroupInterface.lo
  CXX      interfaces/SoundInterface.lo
  CXX      interfaces/GameInterface.lo
  CXXLD    script.la
/bin/bash: --exec-prefix: command not found
/bin/bash: --libs: command not found
/bin/bash: --includes: command not found
/bin/bash: --cflags: command not found
/bin/bash: --ldflags: command not found
/bin/bash: --extension-suffix: command not found
/bin/bash: --help: command not found
/bin/bash: --configdir: command not found
make[3]: *** [Makefile:612: script.la] Error 127
make[3]: Leaving directory '/home/biel/code/DarkRadiant/plugins/script'
make[2]: *** [Makefile:444: all-recursive] Error 1
make[2]: Leaving directory '/home/biel/code/DarkRadiant/plugins'
make[1]: *** [Makefile:749: all-recursive] Error 1
make[1]: Leaving directory '/home/biel/code/DarkRadiant'
make: *** [Makefile:490: all] Error 2

 

The config.log:

Quote

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by darkradiant configure 2.8.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = laptop
uname -m = x86_64
uname -r = 5.4.0-48-generic
uname -s = Linux
uname -v = #52-Ubuntu SMP Thu Sep 10 10:58:49 UTC 2020

/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /home/biel/.local/bin
PATH: /home/biel/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2588: checking for a BSD-compatible install
configure:2656: result: /usr/bin/install -c
configure:2667: checking whether build environment is sane
configure:2722: result: yes
configure:2871: checking for a thread-safe mkdir -p
configure:2910: result: /usr/bin/mkdir -p
configure:2917: checking for gawk
configure:2933: found /usr/bin/gawk
configure:2944: result: gawk
configure:2955: checking whether make sets $(MAKE)
configure:2977: result: yes
configure:3006: checking whether make supports nested variables
configure:3023: result: yes
configure:3160: checking whether make supports nested variables
configure:3177: result: yes
configure:3196: checking build system type
configure:3210: result: x86_64-pc-linux-gnu
configure:3230: checking host system type
configure:3243: result: x86_64-pc-linux-gnu
configure:3278: checking for a sed that does not truncate output
configure:3342: result: /usr/bin/sed
configure:3348: checking whether NLS is requested
configure:3357: result: yes
configure:3398: checking for msgfmt
configure: trying /usr/bin/msgfmt...
0 translated messages.
configure:3430: result: /usr/bin/msgfmt
configure:3439: checking for gmsgfmt
configure:3470: result: /usr/bin/msgfmt
configure:3521: checking for xgettext
configure: trying /usr/bin/xgettext...
/usr/bin/xgettext: warning: file '/dev/null' extension '' is unknown; will try C
configure:3553: result: /usr/bin/xgettext
configure:3599: checking for msgmerge
configure: trying /usr/bin/msgmerge...
configure:3630: result: /usr/bin/msgmerge
configure:3667: checking whether make supports the include directive
configure:3682: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:3685: $? = 0
configure:3704: result: yes (GNU style)
configure:3774: checking for gcc
configure:3790: found /usr/bin/gcc
configure:3801: result: gcc
configure:4030: checking for C compiler version
configure:4039: gcc --version >&5
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4050: $? = 0
configure:4039: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-17ubuntu1~20.04' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
configure:4050: $? = 0
configure:4039: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4050: $? = 1
configure:4039: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:4050: $? = 1
configure:4070: checking whether the C compiler works
configure:4092: gcc    conftest.c  >&5
configure:4096: $? = 0
configure:4144: result: yes
configure:4147: checking for C compiler default output file name
configure:4149: result: a.out
configure:4155: checking for suffix of executables
configure:4162: gcc -o conftest    conftest.c  >&5
configure:4166: $? = 0
configure:4188: result:
configure:4210: checking whether we are cross compiling
configure:4218: gcc -o conftest    conftest.c  >&5
configure:4222: $? = 0
configure:4229: ./conftest
configure:4233: $? = 0
configure:4221: result: no
configure:4226: checking for suffix of object files
configure:4248: gcc -c   conftest.c >&5
configure:4252: $? = 0
configure:4273: result: o
configure:4277: checking whether we are using the GNU C compiler
configure:4296: gcc -c   conftest.c >&5
configure:4296: $? = 0
configure:4305: result: yes
configure:4314: checking whether gcc accepts -g
configure:4334: gcc -c -g  conftest.c >&5
configure:4334: $? = 0
configure:4375: result: yes
configure:4392: checking for gcc option to accept ISO C89
configure:4455: gcc  -c -g -O2  conftest.c >&5
configure:4455: $? = 0
configure:4468: result: none needed
configure:4493: checking whether gcc understands -c and -o together
configure:4515: gcc -c conftest.c -o conftest2.o
configure:4518: $? = 0
configure:4515: gcc -c conftest.c -o conftest2.o
configure:4518: $? = 0
configure:4530: result: yes
configure:4549: checking dependency style of gcc
configure:4660: result: gcc3
configure:4699: checking for ld used by GCC
configure:4763: result: /usr/bin/ld
configure:4770: checking if the linker (/usr/bin/ld) is GNU ld
configure:4783: result: yes
configure:4790: checking for shared library run path origin
configure:4803: result: done
configure:4828: checking how to run the C preprocessor
configure:4859: gcc -E  conftest.c
configure:4859: $? = 0
configure:4873: gcc -E  conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
   11 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4873: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "darkradiant"
| #define PACKAGE_TARNAME "darkradiant"
| #define PACKAGE_VERSION "2.8.1"
| #define PACKAGE_STRING "darkradiant 2.8.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "darkradiant"
| #define VERSION "2.8.1"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4898: result: gcc -E
configure:4918: gcc -E  conftest.c
configure:4918: $? = 0
configure:4932: gcc -E  conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
   11 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4932: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "darkradiant"
| #define PACKAGE_TARNAME "darkradiant"
| #define PACKAGE_VERSION "2.8.1"
| #define PACKAGE_STRING "darkradiant 2.8.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "darkradiant"
| #define VERSION "2.8.1"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:4961: checking for grep that handles long lines and -e
configure:5019: result: /usr/bin/grep
configure:5024: checking for egrep
configure:5086: result: /usr/bin/grep -E
configure:5644: checking for CFPreferencesCopyAppValue
configure:5662: gcc -o conftest -g -O2   conftest.c  -Wl,-framework -Wl,CoreFoundation >&5
conftest.c:11:10: fatal error: CoreFoundation/CFPreferences.h: No such file or directory
   11 | #include <CoreFoundation/CFPreferences.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
configure:5662: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "darkradiant"
| #define PACKAGE_TARNAME "darkradiant"
| #define PACKAGE_VERSION "2.8.1"
| #define PACKAGE_STRING "darkradiant 2.8.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "darkradiant"
| #define VERSION "2.8.1"
| /* end confdefs.h.  */
| #include <CoreFoundation/CFPreferences.h>
| int
| main ()
| {
| CFPreferencesCopyAppValue(NULL, NULL)
|   ;
|   return 0;
| }
configure:5671: result: no
configure:5678: checking for CFLocaleCopyCurrent
configure:5696: gcc -o conftest -g -O2   conftest.c  -Wl,-framework -Wl,CoreFoundation >&5
conftest.c:11:10: fatal error: CoreFoundation/CFLocale.h: No such file or directory
   11 | #include <CoreFoundation/CFLocale.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
configure:5696: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "darkradiant"
| #define PACKAGE_TARNAME "darkradiant"
| #define PACKAGE_VERSION "2.8.1"
| #define PACKAGE_STRING "darkradiant 2.8.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "darkradiant"
| #define VERSION "2.8.1"
| /* end confdefs.h.  */
| #include <CoreFoundation/CFLocale.h>
| int
| main ()
| {
| CFLocaleCopyCurrent();
|   ;
|   return 0;
| }
configure:5705: result: no
configure:5754: checking for GNU gettext in libc
configure:5783: gcc -o conftest -g -O2   conftest.c  >&5
configure:5783: $? = 0
configure:5792: result: yes
configure:6601: checking whether to use NLS
configure:6603: result: yes
configure:6606: checking where the gettext function comes from
configure:6617: result: libc
configure:6678: checking for msgfmt
configure:6694: found /usr/bin/msgfmt
configure:6706: result: yes
configure:6716: checking for msgmerge
configure:6732: found /usr/bin/msgmerge
configure:6744: result: yes
configure:6754: checking for xgettext
configure:6770: found /usr/bin/xgettext
configure:6782: result: yes
configure:6867: checking for g++
configure:6883: found /usr/bin/g++
configure:6894: result: g++
configure:6921: checking for C++ compiler version
configure:6930: g++ --version >&5
g++ (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:6941: $? = 0
configure:6930: g++ -v >&5
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 9.3.0-17ubuntu1~20.04' --with-bugurl=file:///usr/share/doc/gcc-9/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++,gm2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-9 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none=/build/gcc-9-HskZEa/gcc-9-9.3.0/debian/tmp-nvptx/usr,hsa --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
configure:6941: $? = 0
configure:6930: g++ -V >&5
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
compilation terminated.
configure:6941: $? = 1
configure:6930: g++ -qversion >&5
g++: error: unrecognized command line option '-qversion'; did you mean '--version'?
g++: fatal error: no input files
compilation terminated.
configure:6941: $? = 1
configure:6945: checking whether we are using the GNU C++ compiler
configure:6964: g++ -c   conftest.cpp >&5
configure:6964: $? = 0
configure:6973: result: yes
configure:6982: checking whether g++ accepts -g
configure:7002: g++ -c -g  conftest.cpp >&5
configure:7002: $? = 0
configure:7043: result: yes
configure:7068: checking dependency style of g++
configure:7179: result: gcc3
configure:7271: checking how to print strings
configure:7298: result: printf
configure:7319: checking for a sed that does not truncate output
configure:7383: result: /usr/bin/sed
configure:7401: checking for fgrep
configure:7463: result: /usr/bin/grep -F
configure:7498: checking for ld used by gcc
configure:7565: result: /usr/bin/ld
configure:7572: checking if the linker (/usr/bin/ld) is GNU ld
configure:7587: result: yes
configure:7599: checking for BSD- or MS-compatible name lister (nm)
configure:7653: result: /usr/bin/nm -B
configure:7783: checking the name lister (/usr/bin/nm -B) interface
configure:7790: g++ -c -g -O2  conftest.cpp >&5
configure:7793: /usr/bin/nm -B "conftest.o"
configure:7796: output
0000000000000000 B some_variable
configure:7797: result: BSD nm
configure:7800: checking whether ln -s works
configure:7804: result: yes
configure:7812: checking the maximum length of command line arguments
configure:7943: result: 1572864
configure:7991: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format
configure:8031: result: func_convert_file_noop
configure:8038: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
configure:8058: result: func_convert_file_noop
configure:8065: checking for /usr/bin/ld option to reload object files
configure:8072: result: -r
configure:8146: checking for objdump
configure:8162: found /usr/bin/objdump
configure:8173: result: objdump
configure:8205: checking how to recognize dependent libraries
configure:8405: result: pass_all
configure:8490: checking for dlltool
configure:8520: result: no
configure:8550: checking how to associate runtime and link libraries
configure:8577: result: printf %s\n
configure:8638: checking for ar
configure:8654: found /usr/bin/ar
configure:8665: result: ar
configure:8702: checking for archiver @FILE support
configure:8719: g++ -c -g -O2  conftest.cpp >&5
configure:8719: $? = 0
configure:8722: ar cr libconftest.a @conftest.lst >&5
configure:8725: $? = 0
configure:8730: ar cr libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:8733: $? = 1
configure:8732: result: @
configure:8790: checking for strip
configure:8806: found /usr/bin/strip
configure:8817: result: strip
configure:8889: checking for ranlib
configure:8905: found /usr/bin/ranlib
configure:8916: result: ranlib
configure:9018: checking command to parse /usr/bin/nm -B output from gcc object
configure:9171: g++ -c -g -O2  conftest.cpp >&5
configure:9174: $? = 0
configure:9178: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[     ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][     ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' > conftest.nm
configure:9244: g++ -o conftest -g -O2   conftest.cpp conftstm.o >&5
configure:9247: $? = 0
configure:9285: result: ok
configure:9332: checking for sysroot
configure:9362: result: no
configure:9369: checking for a working dd
configure:9407: result: /usr/bin/dd
configure:9411: checking how to truncate binary pipes
configure:9426: result: /usr/bin/dd bs=4096 count=1
configure:9562: g++ -c -g -O2  conftest.cpp >&5
configure:9565: $? = 0
configure:9755: checking for mt
configure:9771: found /usr/bin/mt
configure:9782: result: mt
configure:9805: checking if mt is a manifest tool
configure:9811: mt '-?'
configure:9819: result: no
configure:10491: checking for ANSI C header files
configure:10511: g++ -c -g -O2  conftest.cpp >&5
configure:10511: $? = 0
./configure: line 10525: conftest.cpp: command not found
configure:10595: result: no
configure:10608: checking for sys/types.h
configure:10608: g++ -c -g -O2  conftest.cpp >&5
configure:10608: $? = 0
configure:10608: result: yes
configure:10608: checking for sys/stat.h
configure:10608: g++ -c -g -O2  conftest.cpp >&5
configure:10608: $? = 0
configure:10608: result: yes
configure:10608: checking for stdlib.h
configure:10608: g++ -c -g -O2  conftest.cpp >&5
configure:10608: $? = 0
configure:10608: result: yes
configure:10608: checking for string.h
configure:10608: g++ -c -g -O2  conftest.cpp >&5
configure:10608: $? = 0
configure:10608: result: yes
configure:10608: checking for memory.h
configure:10608: g++ -c -g -O2  conftest.cpp >&5
configure:10608: $? = 0
configure:10608: result: yes
configure:10608: checking for strings.h
configure:10608: g++ -c -g -O2  conftest.cpp >&5
configure:10608: $? = 0
configure:10608: result: yes
configure:10608: checking for inttypes.h
configure:10608: g++ -c -g -O2  conftest.cpp >&5
configure:10608: $? = 0
configure:10608: result: yes
configure:10608: checking for stdint.h
configure:10608: g++ -c -g -O2  conftest.cpp >&5
configure:10608: $? = 0
configure:10608: result: yes
configure:10608: checking for unistd.h
configure:10608: g++ -c -g -O2  conftest.cpp >&5
configure:10608: $? = 0
configure:10608: result: yes
configure:10622: checking for dlfcn.h
configure:10622: g++ -c -g -O2  conftest.cpp >&5
configure:10622: $? = 0
configure:10622: result: yes
configure:10858: checking for objdir
configure:10873: result: .libs
configure:11133: checking if gcc supports -fno-rtti -fno-exceptions
configure:11151: gcc -c -g -O2  -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C
configure:11155: $? = 0
configure:11168: result: no
configure:11532: checking for gcc option to produce PIC
configure:11539: result: -fPIC -DPIC
configure:11547: checking if gcc PIC flag -fPIC -DPIC works
configure:11565: gcc -c -g -O2  -fPIC -DPIC -DPIC conftest.c >&5
configure:11569: $? = 0
configure:11582: result: yes
configure:11611: checking if gcc static flag -static works
configure:11639: result: yes
configure:11654: checking if gcc supports -c -o file.o
configure:11675: gcc -c -g -O2  -o out/conftest2.o conftest.c >&5
configure:11679: $? = 0
configure:11701: result: yes
configure:11709: checking if gcc supports -c -o file.o
configure:11756: result: yes
configure:11789: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:13052: result: yes
configure:13089: checking whether -lc should be explicitly linked in
configure:13097: gcc -c -g -O2  conftest.c >&5
configure:13100: $? = 0
configure:13115: gcc -shared  -fPIC -DPIC conftest.o  -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep  -lc  \>/dev/null 2\>\&1
configure:13118: $? = 0
configure:13132: result: no
configure:13292: checking dynamic linker characteristics
configure:13873: gcc -o conftest -g -O2   -Wl,-rpath -Wl,/foo conftest.c  >&5
configure:13873: $? = 0
configure:14122: result: GNU/Linux ld.so
configure:14244: checking how to hardcode library paths into programs
configure:14269: result: immediate
configure:14817: checking whether stripping libraries is possible
configure:14822: result: yes
configure:14857: checking if libtool supports shared libraries
configure:14859: result: yes
configure:14862: checking whether to build shared libraries
configure:14887: result: yes
configure:14890: checking whether to build static libraries
configure:14894: result: no
configure:11693: checking how to run the C++ preprocessor
configure:11720: g++ -E  conftest.cpp
configure:11720: $? = 0
configure:11734: g++ -E  conftest.cpp
conftest.cpp:25:10: fatal error: ac_nonexistent.h: No such file or directory
   25 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:11734: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "darkradiant"
| #define PACKAGE_TARNAME "darkradiant"
| #define PACKAGE_VERSION "2.8.1"
| #define PACKAGE_STRING "darkradiant 2.8.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "darkradiant"
| #define VERSION "2.8.1"
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:11759: result: g++ -E
configure:11779: g++ -E  conftest.cpp
configure:11779: $? = 0
configure:11793: g++ -E  conftest.cpp
conftest.cpp:25:10: fatal error: ac_nonexistent.h: No such file or directory
   25 | #include <ac_nonexistent.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:11793: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "darkradiant"
| #define PACKAGE_TARNAME "darkradiant"
| #define PACKAGE_VERSION "2.8.1"
| #define PACKAGE_STRING "darkradiant 2.8.1"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "darkradiant"
| #define VERSION "2.8.1"
| #define ENABLE_NLS 1
| #define HAVE_GETTEXT 1
| #define HAVE_DCGETTEXT 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:11955: checking for ld used by g++
configure:12022: result: /usr/bin/ld -m elf_x86_64
configure:12029: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld
configure:12044: result: yes
configure:12099: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:13172: result: yes
configure:13208: g++ -c -g -O2  conftest.cpp >&5
configure:13211: $? = 0
configure:13692: checking for g++ option to produce PIC
configure:13699: result: -fPIC -DPIC
configure:13707: checking if g++ PIC flag -fPIC -DPIC works
configure:13725: g++ -c -g -O2  -fPIC -DPIC -DPIC conftest.cpp >&5
configure:13729: $? = 0
configure:13742: result: yes
configure:13765: checking if g++ static flag -static works
configure:13793: result: yes
configure:13805: checking if g++ supports -c -o file.o
configure:13826: g++ -c -g -O2  -o out/conftest2.o conftest.cpp >&5
configure:13830: $? = 0
configure:13852: result: yes
configure:13857: checking if g++ supports -c -o file.o
configure:13904: result: yes
configure:13934: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:13977: result: yes
configure:14118: checking dynamic linker characteristics
configure:14875: result: GNU/Linux ld.so
configure:14940: checking how to hardcode library paths into programs
configure:14965: result: immediate
configure:13873: checking whether g++ supports C++11 features with -std=c++11
configure:14171: g++ -std=c++11 -c -g -O2  conftest.cpp >&5
configure:14171: $? = 0
configure:14180: result: yes
configure:14235: checking whether g++ -std=c++11 supports C++17 features with -std=c++17
configure:15031: g++ -std=c++11 -std=c++17 -c -g -O2  conftest.cpp >&5
configure:15031: $? = 0
configure:15040: result: yes
configure:15082: checking cstdint usability
configure:15082: g++ -std=c++11 -std=c++17 -c -g -O2  conftest.cpp >&5
configure:15082: $? = 0
configure:15082: result: yes
configure:15082: checking cstdint presence
configure:15082: g++ -E -std=c++11 -std=c++17  conftest.cpp
configure:15082: $? = 0
configure:15082: result: yes
configure:15082: checking for cstdint
configure:15082: result: yes
configure:15150: checking zlib.h usability
configure:15150: g++ -std=c++11 -std=c++17 -c -g -O2  conftest.cpp >&5
configure:15150: $? = 0
configure:15150: result: yes
configure:15150: checking zlib.h presence
configure:15150: g++ -E -std=c++11 -std=c++17  conftest.cpp
configure:15150: $? = 0
configure:15150: result: yes
configure:15150: checking for zlib.h
configure:15150: result: yes
configure:15158: checking for inflateEnd in -lz
configure:15183: g++ -std=c++11 -std=c++17 -o conftest -g -O2   conftest.cpp -lz   >&5
configure:15183: $? = 0
configure:15192: result: yes
configure:15203: checking jpeglib.h usability
configure:15203: g++ -std=c++11 -std=c++17 -c -g -O2  conftest.cpp >&5
configure:15203: $? = 0
configure:15203: result: yes
configure:15203: checking jpeglib.h presence
configure:15203: g++ -E -std=c++11 -std=c++17  conftest.cpp
configure:15203: $? = 0
configure:15203: result: yes
configure:15203: checking for jpeglib.h
configure:15203: result: yes
configure:15211: checking for jpeg_start_compress in -ljpeg
configure:15236: g++ -std=c++11 -std=c++17 -o conftest -g -O2   conftest.cpp -ljpeg   >&5
configure:15236: $? = 0
configure:15245: result: yes
configure:15317: checking for wx-config
configure:15336: found /usr/bin/wx-config
configure:15349: result: /usr/bin/wx-config
configure:15364: checking for wxWidgets version >= 3.0.0
configure:15410: result: yes (version 3.0.4)
configure:15414: checking for wxWidgets static library
configure:15418: result: no
configure:15617: checking for pkg-config
configure:15635: found /usr/bin/pkg-config
configure:15647: result: /usr/bin/pkg-config
configure:15672: checking pkg-config is at least version 0.9.0
configure:15675: result: yes
configure:15685: checking for XML
configure:15692: $PKG_CONFIG --exists --print-errors "libxml-2.0"
configure:15695: $? = 0
configure:15709: $PKG_CONFIG --exists --print-errors "libxml-2.0"
configure:15712: $? = 0
configure:15770: result: yes
configure:15776: checking for LIBSIGC
configure:15783: $PKG_CONFIG --exists --print-errors "sigc++-2.0"
configure:15786: $? = 0
configure:15800: $PKG_CONFIG --exists --print-errors "sigc++-2.0"
configure:15803: $? = 0
configure:15861: result: yes
configure:15867: checking for PNG
configure:15874: $PKG_CONFIG --exists --print-errors "libpng"
configure:15877: $? = 0
configure:15891: $PKG_CONFIG --exists --print-errors "libpng"
configure:15894: $? = 0
configure:15952: result: yes
configure:15958: checking for FTGL
configure:15965: $PKG_CONFIG --exists --print-errors "ftgl"
configure:15968: $? = 0
configure:15982: $PKG_CONFIG --exists --print-errors "ftgl"
configure:15985: $? = 0
configure:16043: result: yes
configure:16049: checking GL/glew.h usability
configure:16049: g++ -std=c++11 -std=c++17 -c -g -O2  conftest.cpp >&5
configure:16049: $? = 0
configure:16049: result: yes
configure:16049: checking GL/glew.h presence
configure:16049: g++ -E -std=c++11 -std=c++17  conftest.cpp
configure:16049: $? = 0
configure:16049: result: yes
configure:16049: checking for GL/glew.h
configure:16049: result: yes
configure:16057: checking for main in -lGLEW
configure:16076: g++ -std=c++11 -std=c++17 -o conftest -g -O2   conftest.cpp -lGLEW   >&5
configure:16076: $? = 0
configure:16085: result: yes
configure:16141: checking for main in -lGL
configure:16160: g++ -std=c++11 -std=c++17 -o conftest -g -O2   conftest.cpp -lGL   >&5
configure:16160: $? = 0
configure:16169: result: yes
configure:16177: checking for gluBuild2DMipmaps in -lGLU
configure:16202: g++ -std=c++11 -std=c++17 -o conftest -g -O2   conftest.cpp -lGLU   >&5
configure:16202: $? = 0
configure:16211: result: yes
configure:16227: checking filesystem usability
configure:16227: g++ -std=c++11 -std=c++17 -c -g -O2  conftest.cpp >&5
configure:16227: $? = 0
configure:16227: result: yes
configure:16227: checking filesystem presence
configure:16227: g++ -E -std=c++11 -std=c++17  conftest.cpp
configure:16227: $? = 0
configure:16227: result: yes
configure:16227: checking for filesystem
configure:16227: result: yes
configure:17545: Will use std::filesystem instead of boost.filesystem
configure:17568: checking for python-config
configure:17584: found /usr/bin/python-config
configure:17595: result: python-config
configure:17620: checking for python3
configure:17638: found /usr/bin/python3
configure:17650: result: /usr/bin/python3
configure:17664: checking if Python >= '3.8.0'
configure:17701: chmod +x conftest.py && cp conftest.py conftest >&5
configure:17701: $? = 0
configure:17701: ./conftest
configure:17701: $? = 0
configure:17717: result: yes
configure:17737: Checking for pybind11 headers...
configure:17743: checking pybind11/pybind11.h usability
configure:17743: g++ -std=c++11 -std=c++17 -c -g -O2  -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7  conftest.cpp >&5
configure:17743: $? = 0
configure:17743: result: yes
configure:17743: checking pybind11/pybind11.h presence
configure:17743: g++ -E -std=c++11 -std=c++17  -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7  conftest.cpp
configure:17743: $? = 0
configure:17743: result: yes
configure:17743: checking for pybind11/pybind11.h
configure:17743: result: yes
configure:17754: Using the system-provided pybind11 headers
configure:17810: Using the fmtlib headers shipped with the sources (header-only mode)
configure:17815: checking for main in -ldl
configure:17834: g++ -std=c++11 -std=c++17 -o conftest -g -O2  -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7   conftest.cpp -ldl   >&5
configure:17834: $? = 0
configure:17843: result: yes
configure:17854: checking AL/alut.h usability
configure:17854: g++ -std=c++11 -std=c++17 -c -g -O2  -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7  conftest.cpp >&5
configure:17854: $? = 0
configure:17854: result: yes
configure:17854: checking AL/alut.h presence
configure:17854: g++ -E -std=c++11 -std=c++17  -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7  conftest.cpp
configure:17854: $? = 0
configure:17854: result: yes
configure:17854: checking for AL/alut.h
configure:17854: result: yes
configure:17862: checking for ov_clear in -lvorbisfile
configure:17887: g++ -std=c++11 -std=c++17 -o conftest -g -O2  -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7   conftest.cpp -lvorbisfile   >&5
configure:17887: $? = 0
configure:17896: result: yes
configure:17909: checking for alGetError in -lopenal
configure:17934: g++ -std=c++11 -std=c++17 -o conftest -g -O2  -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7   conftest.cpp -lopenal   >&5
configure:17934: $? = 0
configure:17943: result: yes
configure:17953: checking for main in -lalut
configure:17972: g++ -std=c++11 -std=c++17 -o conftest -g -O2  -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7   conftest.cpp -lalut -lopenal  >&5
configure:17972: $? = 0
configure:17981: result: yes
configure:18142: checking that generated files are newer than configure
configure:18148: result: done
configure:18187: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by darkradiant config.status 2.8.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on laptop

config.status:1267: creating install/darkradiant.desktop
config.status:1267: creating install/i18n//Makefile.in
config.status:1267: creating Makefile
config.status:1267: creating radiant/Makefile
config.status:1267: creating radiantcore/Makefile
config.status:1267: creating install/i18n/Makefile.in
config.status:1267: creating doc/Makefile
config.status:1267: creating libs/Makefile
config.status:1267: creating libs/wxutil/Makefile
config.status:1267: creating libs/math/Makefile
config.status:1267: creating libs/module/Makefile
config.status:1267: creating libs/scene/Makefile
config.status:1267: creating libs/xmlutil/Makefile
config.status:1267: creating plugins/Makefile
config.status:1267: creating plugins/script/Makefile
config.status:1267: creating plugins/sound/Makefile
config.status:1267: creating plugins/dm.stimresponse/Makefile
config.status:1267: creating plugins/dm.objectives/Makefile
config.status:1267: creating plugins/dm.difficulty/Makefile
config.status:1267: creating plugins/dm.gui/Makefile
config.status:1267: creating plugins/dm.editing/Makefile
config.status:1267: creating plugins/dm.gameconnection/Makefile
config.status:1267: creating plugins/dm.conversation/Makefile
config.status:1267: creating config.h
config.status:1496: executing po-directories commands
config.status:1496: executing depfiles commands
config.status:1687: cd radiant       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1692: $? = 0
config.status:1687: cd radiantcore       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1692: $? = 0
config.status:1687: cd libs/wxutil       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1692: $? = 0
config.status:1687: cd libs/math       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1692: $? = 0
config.status:1687: cd libs/module       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1692: $? = 0
config.status:1687: cd libs/scene       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1692: $? = 0
config.status:1687: cd libs/xmlutil       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1692: $? = 0
config.status:1687: cd plugins/script       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1692: $? = 0
config.status:1687: cd plugins/sound       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1692: $? = 0
config.status:1687: cd plugins/dm.stimresponse       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1692: $? = 0
config.status:1687: cd plugins/dm.objectives       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1692: $? = 0
config.status:1687: cd plugins/dm.difficulty       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1692: $? = 0
config.status:1687: cd plugins/dm.gui       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1692: $? = 0
config.status:1687: cd plugins/dm.editing       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1692: $? = 0
config.status:1687: cd plugins/dm.gameconnection       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1692: $? = 0
config.status:1687: cd plugins/dm.conversation       && sed -e '/# am--include-marker/d' Makefile         | make -f - am--depfiles
config.status:1692: $? = 0
config.status:1496: executing libtool commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_BOOST_ROOT_set=
ac_cv_env_BOOST_ROOT_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_FTGL_CFLAGS_set=
ac_cv_env_FTGL_CFLAGS_value=
ac_cv_env_FTGL_LIBS_set=
ac_cv_env_FTGL_LIBS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBSIGC_CFLAGS_set=
ac_cv_env_LIBSIGC_CFLAGS_value=
ac_cv_env_LIBSIGC_LIBS_set=
ac_cv_env_LIBSIGC_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_PNG_CFLAGS_set=
ac_cv_env_PNG_CFLAGS_value=
ac_cv_env_PNG_LIBS_set=
ac_cv_env_PNG_LIBS_value=
ac_cv_env_PYTHON_set=
ac_cv_env_PYTHON_value=
ac_cv_env_XML_CFLAGS_set=
ac_cv_env_XML_CFLAGS_value=
ac_cv_env_XML_LIBS_set=
ac_cv_env_XML_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_AL_alut_h=yes
ac_cv_header_GL_glew_h=yes
ac_cv_header_cstdint=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_filesystem=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_jpeglib_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_pybind11_pybind11_h=yes
ac_cv_header_stdc=no
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_header_zlib_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_lib_GLEW_main=yes
ac_cv_lib_GLU_gluBuild2DMipmaps=yes
ac_cv_lib_GL_main=yes
ac_cv_lib_alut_main=yes
ac_cv_lib_dl_main=yes
ac_cv_lib_jpeg_jpeg_start_compress=yes
ac_cv_lib_openal_alGetError=yes
ac_cv_lib_vorbisfile_ov_clear=yes
ac_cv_lib_z_inflateEnd=yes
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GMSGFMT=/usr/bin/msgfmt
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_MSGFMT=/usr/bin/msgfmt
ac_cv_path_MSGMERGE=/usr/bin/msgmerge
ac_cv_path_PYTHON=/usr/bin/python3
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_WX_CONFIG_PATH=/usr/bin/wx-config
ac_cv_path_XGETTEXT=/usr/bin/xgettext
ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_lt_DD=/usr/bin/dd
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP='g++ -E'
ac_cv_prog_HAS_MSGFMT=yes
ac_cv_prog_HAS_MSGMERGE=yes
ac_cv_prog_HAS_XGETTEXT=yes
ac_cv_prog_PYTHON_CONFIG=python-config
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_prog_make_make_set=yes
acl_cv_hardcode_direct=no
acl_cv_hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
acl_cv_hardcode_libdir_separator=
acl_cv_hardcode_minus_L=no
acl_cv_libext=a
acl_cv_libname_spec='lib$name'
acl_cv_library_names_spec='$libname$shrext'
acl_cv_path_LD=/usr/bin/ld
acl_cv_prog_gnu_ld=yes
acl_cv_rpath=done
acl_cv_shlibext=so
acl_cv_wl=-Wl,
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
ax_cv_cxx_compile_cxx11__std_cpp11=yes
ax_cv_cxx_compile_cxx17__std_cpp17=yes
gt_cv_func_CFLocaleCopyCurrent=no
gt_cv_func_CFPreferencesCopyAppValue=no
gt_cv_func_gnugettext1_libc=yes
lt_cv_ar_at_file=@
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64'
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_c_o_CXX=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_pic_works_CXX=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_compiler_static_works_CXX=yes
lt_cv_prog_gnu_ld=yes
lt_cv_prog_gnu_ldcxx=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_shlibpath_overrides_runpath=yes
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[     ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[     ][     ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \(.*\) .*$/  {"\1", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(lib.*\)$/  {"\1", (void *) \&\1},/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/  {"lib\1", (void *) \&\1},/p'\'''
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_global_symbol_to_import=
lt_cv_sys_max_cmd_len=1572864
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
lt_cv_truncate_bin='/usr/bin/dd bs=4096 count=1'
pc_cv_python_req_version_3_8_0=yes
pkg_cv_FTGL_CFLAGS='-I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16'
pkg_cv_FTGL_LIBS=-lftgl
pkg_cv_LIBSIGC_CFLAGS='-I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include'
pkg_cv_LIBSIGC_LIBS=-lsigc-2.0
pkg_cv_PNG_CFLAGS=-I/usr/include/libpng16
pkg_cv_PNG_LIBS='-lpng16 -lz'
pkg_cv_XML_CFLAGS=-I/usr/include/libxml2
pkg_cv_XML_LIBS=-lxml2

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/biel/code/DarkRadiant/missing aclocal-1.16'
ALUT_LIBS='-lalut'
AL_LIBS='-lopenal'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} /home/biel/code/DarkRadiant/missing autoconf'
AUTOHEADER='${SHELL} /home/biel/code/DarkRadiant/missing autoheader'
AUTOMAKE='${SHELL} /home/biel/code/DarkRadiant/missing automake-1.16'
AWK='gawk'
BOOST_CPPFLAGS=''
BOOST_FILESYSTEM_LDFLAGS=''
BOOST_FILESYSTEM_LDPATH=''
BOOST_FILESYSTEM_LIBS=''
BOOST_LDPATH=''
BOOST_ROOT=''
BOOST_SYSTEM_LDFLAGS=''
BOOST_SYSTEM_LDPATH=''
BOOST_SYSTEM_LIBS=''
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2 -DNDEBUG -g -O2 -Wall -Wno-unused-variable -Werror=return-type -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread'
CPP='gcc -E'
CPPFLAGS=' -DPOSIX -fPIC -I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -DWXINTL_NO_GETTEXT_MACRO -I/home/biel/code/DarkRadiant/libs/libfmt -DFMT_HEADER_ONLY'
CXX='g++ -std=c++11 -std=c++17'
CXXCPP='g++ -E -std=c++11 -std=c++17'
CXXDEPMODE='depmode=gcc3'
CXXFLAGS='-g -O2 -DNDEBUG  -Wall -Wno-unused-variable -Werror=return-type '
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DISTCHECK_CONFIGURE_FLAGS=''
DLLTOOL='false'
DL_LIBS='-ldl'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
FGREP='/usr/bin/grep -F'
FILESYSTEM_LIBS='-lstdc++fs'
FTGL_CFLAGS='-I/usr/include/FTGL -I/usr/include/freetype2 -I/usr/include/libpng16'
FTGL_LIBS='-lftgl'
GETTEXT_MACRO_VERSION='0.19'
GLEW_LIBS='-lGLEW'
GLU_LIBS='-lGLU'
GL_LIBS='-lGL'
GMSGFMT='/usr/bin/msgfmt'
GMSGFMT_015='/usr/bin/msgfmt'
GREP='/usr/bin/grep'
HAS_MSGFMT='yes'
HAS_MSGMERGE='yes'
HAS_XGETTEXT='yes'
HAVE_CXX11='1'
HAVE_CXX17='1'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTLLIBS=''
INTL_LIBS=''
INTL_MACOSX_LIBS=''
JPEG_LIBS='-ljpeg'
LD='/usr/bin/ld -m elf_x86_64'
LDFLAGS=' -lsigc-2.0 '
LIBICONV='-liconv'
LIBINTL=''
LIBOBJS=''
LIBS=''
LIBSIGC_CFLAGS='-I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include'
LIBSIGC_LIBS='-lsigc-2.0'
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBICONV='-liconv'
LTLIBINTL=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} /home/biel/code/DarkRadiant/missing makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='/usr/bin/mkdir -p'
MSGFMT='/usr/bin/msgfmt'
MSGFMT_015='/usr/bin/msgfmt'
MSGMERGE='/usr/bin/msgmerge'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='darkradiant'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='darkradiant'
PACKAGE_STRING='darkradiant 2.8.1'
PACKAGE_TARNAME='darkradiant'
PACKAGE_URL=''
PACKAGE_VERSION='2.8.1'
PATH_SEPARATOR=':'
PKG_CONFIG='/usr/bin/pkg-config'
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
PNG_CFLAGS='-I/usr/include/libpng16'
PNG_LIBS='-lpng16 -lz'
POSUB='po'
PYBIND11_CPPFLAGS=''
PYTHON='/usr/bin/python3'
PYTHON_CONFIG='python-config'
PYTHON_CPPFLAGS='-I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7'
PYTHON_LIBS='Usage: /usr/bin/python-config --prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help|--configdir'
RANLIB='ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
STRIP='strip'
SYSTEM_HAS_PYBIND11=''
SYSTEM_HAS_PYBIND11_FALSE='#'
SYSTEM_HAS_PYBIND11_TRUE=''
USE_NLS='yes'
VERSION='2.8.1'
VORBIS_LIBS='-lvorbisfile'
WX_CFLAGS='-I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread'
WX_CFLAGS_ONLY='-pthread'
WX_CONFIG_PATH='/usr/bin/wx-config'
WX_CPPFLAGS='-I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__'
WX_CXXFLAGS='-I/usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread'
WX_CXXFLAGS_ONLY=''
WX_LIBS='-L/usr/lib/x86_64-linux-gnu -pthread   -lwx_gtk3u_gl-3.0 -lwx_gtk3u_stc-3.0 -lwx_gtk3u_xrc-3.0 -lwx_gtk3u_html-3.0 -lwx_gtk3u_qa-3.0 -lwx_gtk3u_adv-3.0 -lwx_gtk3u_core-3.0 -lwx_baseu_xml-3.0 -lwx_baseu_net-3.0 -lwx_baseu-3.0 '
WX_LIBS_STATIC=''
WX_RESCOMP=''
WX_VERSION='3.0.4'
WX_VERSION_MAJOR='3'
WX_VERSION_MICRO='4'
WX_VERSION_MINOR='0'
XGETTEXT='/usr/bin/xgettext'
XGETTEXT_015='/usr/bin/xgettext'
XGETTEXT_EXTRA_OPTIONS=''
XML_CFLAGS='-I/usr/include/libxml2'
XML_LIBS='-lxml2'
Z_LIBS='-lz'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE='#'
am__fastdepCXX_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
conv_plugin=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
difficulty_plugin=''
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
editing_plugin=''
exec_prefix='${prefix}'
gameconn_plugin=''
gui_plugin=''
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/biel/code/DarkRadiant/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
obj_plugin=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
script_module='script'
sharedstatedir='${prefix}/com'
sound_module='sound'
sr_plugin=''
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "darkradiant"
#define PACKAGE_TARNAME "darkradiant"
#define PACKAGE_VERSION "2.8.1"
#define PACKAGE_STRING "darkradiant 2.8.1"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "darkradiant"
#define VERSION "2.8.1"
#define ENABLE_NLS 1
#define HAVE_GETTEXT 1
#define HAVE_DCGETTEXT 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_CXX11 1
#define HAVE_CXX17 1
#define HAVE_STD_FILESYSTEM 1
#define CORE_MODULE_LIBRARY "libradiantcore"

configure: exit 0

my Ubuntu is Ubuntu 20.04.1 LTS, my python is the standard one.

Edited by 7318

Biel Bestué de Luna - Github

Link to post
Share on other sites

I fixed the one compiler error in EntityNode.cpp in the meantime, but it'll still be failing at the end of the scripting plugin. I'm now curious what the configure script is doing in terms of Python. I can see now that Ubuntu 20.04 switched to Python 3 by default. This section here is different to my Ubuntu 19.04 installation:

5 hours ago, 7318 said:

configure:17568: checking for python-config
configure:17584: found /usr/bin/python-config
configure:17595: result: python-config
configure:17620: checking for python3
configure:17638: found /usr/bin/python3
configure:17650: result: /usr/bin/python3
configure:17664: checking if Python >= '3.8.0'
configure:17701: chmod +x conftest.py && cp conftest.py conftest >&5
configure:17701: $? = 0
configure:17701: ./conftest
configure:17701: $? = 0
configure:17717: result: yes

Mine is also checking for Python 3, but it will not succeed, it reports "no" for Python >= 3.8.0. Even though I have Python 3 installed, typing "python" in the console will refer to the Python 2.7 binary:

Quote

configure:17572: checking for python-config
configure:17588: found /usr/bin/python-config
configure:17599: result: python-config
configure:17624: checking for python3
configure:17642: found /usr/bin/python3
configure:17654: result: /usr/bin/python3
configure:17668: checking if Python >= '3.8.0'
configure:17705: chmod +x conftest.py && cp conftest.py conftest >&5
configure:17705: $? = 0
configure:17705: ./conftest
configure:17705: $? = 1
configure: program exited with status 1
configure: failed program was:
| #!/usr/bin/python3
...
configure:17721: result: no

I'll set up Ubuntu 20.04 in my VM and check it out. I've adjusted the configure script in the past for Python 3 compatibility, but obviously this was not enough for the default Ubuntu config.

Link to post
Share on other sites

Ubuntu 20 has Python 3 installed by default, and removed Python 2 (typing "python" will not resolve in the console, you have to type "python3"), yet installing the "python-dev" package will install the entire Python 2 stack. So from Ubuntu 20 onwards, I'll change the compilation instructions on the wiki to install "python3-dev".

The configure script still fails to find python-config, since it is called python3-config after installing python3-dev. I'll have a look to fix this so it can work with python3-config too.

Link to post
Share on other sites

It's really tiresome to find out what python-config binary to use in the configure.ac script. Ubuntu ships with Python3 installed by default, but installing the "python-dev" package will give you the Python 2 stack. I'd have expected that if the system Python defaults to 3, the python-dev resolves to the 3.0 stack too, but I was wrong, one has to install python3-dev instead.

I've adjusted the wiki instructions now to install the python3-dev package in Ubuntu (even in older versions prior to 20), and I've adjusted the configure.ac checks to prefer python3-config over the regular python-config when the Python interpreter is reporting a version >= 3.0. And of course the script checks for Python >= 3.8 afterwards, since that one requires the additional python3-config --embed switch.

And at this point I want the world to know that the automake/autoconf script/macro syntax is awful to the bone, it's both hard to read and write and it's full of quirks. Even simple "is this variable set or not" checks are needlessly hard to get right.

@7318 Please can you pull, run ./autogen.sh and try to build again? It should build whether you have python3-dev or python-dev installed.

If you want to keep your system clean of the old Python2, you can also remove python-dev and take python3-dev instead, then DR will build against Python 3.

Link to post
Share on other sites

once I start darkradiant I get a segfault:

here is the darkradiant.log

Quote

 (140116530182784) Started logging to /home/biel/.cache/darkradiant/darkradiant.log
 (140116530182784) This is DarkRadiant 2.8.1 x64
 (140116530182784) Today is 2020-10-12 12:59:53
 (140116530182784) ModuleRegistry instantiated.
 (140116530182784) Module registered: RadiantCore
 (140116530182784) Current language setting: en
 (140116530182784) Found 2 language folders.
 (140116530182784) Module registered: CameraWndManager
 (140116530182784) Module registered: EventManager
 (140116530182784) Module registered: MouseToolManager
 (140116530182784) Module registered: OpenGL
 (140116530182784) Module registered: UserInterfaceModule
 (140116530182784) Module registered: TextureBrowserManager
 (140116530182784) Module registered: MediaBrowser
 (140116530182784) Module registered: GridUserInterface
 (140116530182784) Module registered: OrthoContextMenu
 (140116530182784) Module registered: EntityInspector
 (140116530182784) Module registered: FilterUserInterface
 (140116530182784) Module registered: wxGLWidgetManager
 (140116530182784) Module registered: MainFrame
 (140116530182784) Module registered: MainFrameLayoutManager
 (140116530182784) Module registered: ScriptUserInterface
 (140116530182784) Module registered: UIManager
 (140116530182784) Module registered: OrthoviewManager
 (140116530182784) Module registered: LocalisationModule
 (140116530182784) Module registered: StartupMapLoader
 (140116530182784) Module registered: Doom3BrushCreator
 (140116530182784) Module registered: CameraManager
 (140116530182784) Module registered: Clipper
 (140116530182784) Module registered: CommandSystem
 (140116530182784) Module registered: EntityClassManager
 (140116530182784) Module registered: EntityModule
 (140116530182784) Module registered: FileTypes
 (140116530182784) Module registered: FilterSystem
 (140116530182784) Module registered: FontManager
 (140116530182784) Module registered: Grid
 (140116530182784) Module registered: ImageLoader
 (140116530182784) Module registered: LayerModule
 (140116530182784) Module registered: ZAasFileManager
 (140116530182784) Module registered: Doom3AasFileLoader
 (140116530182784) Module registered: MapFormatManager
 (140116530182784) Module registered: Quake3MapLoader
 (140116530182784) Module registered: Quake4MapLoader
 (140116530182784) Module registered: Doom3MapLoader
 (140116530182784) Module registered: Doom3PrefabLoader
 (140116530182784) Module registered: N3map6format17PortableMapFormatE
 (140116530182784) Module registered: MapInfoFileManager
 (140116530182784) Module registered: MRUManager
 (140116530182784) Module registered: NamespaceFactory
 (140116530182784) Module registered: AutomaticMapSaver
 (140116530182784) Module registered: Counters
 (140116530182784) Module registered: EditingStopwatch
 (140116530182784) Module registered: Map
 (140116530182784) Module registered: MapResourceManager
 (140116530182784) Module registered: PointFile
 (140116530182784) Module registered: RegionManager
 (140116530182784) Module registered: MD5Module
 (140116530182784) Module registered: MD5AnimationCache
 (140116530182784) Module registered: PicoModelModule
 (140116530182784) Module registered: ModelCache
 (140116530182784) Module registered: ModelFormatManager
 (140116530182784) Module registered: ParticlesManager
 (140116530182784) Module registered: PatchModule
 (140116530182784) Module registered: ShaderCache
 (140116530182784) Module registered: RenderSystemFactory
 (140116530182784) Module registered: SharedGLContextHolder
 (140116530182784) Module registered: SceneGraph
 (140116530182784) Module registered: SceneGraphFactory
 (140116530182784) Module registered: SelectionGroupModule
 (140116530182784) Module registered: SelectionSetModule
 (140116530182784) Module registered: ShaderClipboard
 (140116530182784) Module registered: SelectionSystem
 (140116530182784) Module registered: ColourSchemeManager
 (140116530182784) Module registered: GameManager
 (140116530182784) Module registered: PreferenceSystem
 (140116530182784) Module registered: MaterialManager
 (140116530182784) Module registered: ModelSkinCache
 (140116530182784) Module registered: UndoSystem
 (140116530182784) Module registered: VirtualFileSystem
 (140116530182784) Module registered: XMLRegistry
 (140116530182784) ModuleRegistry Compatibility Level is 20200419
 (140116530182784) ModuleLoader: loading modules from /usr/local/bin/../lib/darkradiant/modules/
 (140116530182784) ModuleLoader: Loading module '/usr/local/bin/../lib/darkradiant/modules/script.so'
 (140116530182784) Module registered: ScriptingSystem
 (140116530182784) ModuleLoader: Loading module '/usr/local/bin/../lib/darkradiant/modules/libradiantcore.so'
 (140116530182784) /usr/local/bin/../lib/darkradiant/modules/libradiantcore.so: undefined symbol: RegisterModule
 (140116530182784) WARNING: Could not find symbol RegisterModule in module /usr/local/bin/../lib/darkradiant/modules/libradiantcore.so:
 (140116530182784) ModuleLoader: Loading module '/usr/local/bin/../lib/darkradiant/modules/sound.so'
 (140116530182784) Module registered: SoundManager
 (140116530182784) ModuleLoader: loading modules from /usr/local/bin/../lib/darkradiant/plugins/
 (140116530182784) ModuleLoader::loadModules(): modules directory '/usr/local/bin/../lib/darkradiant/plugins/' not found.
 (140116530182784) FileTypes::initialiseModule called.
 (140116530182784) XMLRegistry::initialiseModule called
 (140116530182784) XMLRegistry: looking for XML files in /usr/local/bin/../share/darkradiant/
 (140116530182784) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/user.xml
 (140116530182784) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/colours.xml
 (140116530182784) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/input.xml
 (140116530182784) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/menu.xml
 (140116530182784) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/commandsystem.xml
 (140116530182784) XMLRegistry: file user.xml not present in /home/biel/.config/darkradiant/
 (140116530182784) XMLRegistry: file colours.xml not present in /home/biel/.config/darkradiant/
 (140116530182784) XMLRegistry: file input.xml not present in /home/biel/.config/darkradiant/
 (140116530182784) XMLRegistry: file filters.xml not present in /home/biel/.config/darkradiant/
 (140116530182784) CommandSystem::initialiseModule called.
 (140116530182784) PreferenceSystem::initialiseModule called
 (140116530182784) VirtualFileSystem::initialiseModule called
 (140116530182784) GameManager: Scanning for game description files: /usr/local/bin/../share/darkradiant/games/
 (140116530182784) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/games/darkmod.game
 (140116530182784) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/games/doom3.game
 (140116530182784) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/games/quake4.game
 (140116530182784) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/games/prey.game
 (140116530182784) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/games/xreal.game
 (140116530182784) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/games/quake3.game
 (140116530182784) XMLRegistry: Importing XML file: /usr/local/bin/../share/darkradiant/games/doom3-demo.game
 (140116530182784) GameManager: Found game definitions:
 (140116530182784)   Doom 3
 (140116530182784)   Doom 3 Demo
 (140116530182784)   Prey
 (140116530182784)   Quake 3
 (140116530182784)   Quake 4
 (140116530182784)   The Dark Mod 2.0 (Standalone)
 (140116530182784)   XreaL
 (140116530182784)
 (140116530182784) No game selected, will choose the highest ranked one.
 (140116530182784) GameManager: Selected game type: The Dark Mod 2.0 (Standalone)
 (140116530182784) ModuleRegistry: Warning! Module with name MainFrame requested but not found!

here is GDB:

Quote

$ gdb darkradiant
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from darkradiant...
(gdb) run
Starting program: /usr/local/bin/darkradiant
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff1bc3700 (LWP 163698)]
[New Thread 0x7ffff13c2700 (LWP 163699)]

Thread 3 "gdbus" received signal SIG33, Real-time event 33.
[Switching to Thread 0x7ffff13c2700 (LWP 163699)]
0x00007ffff69a1aff in __GI___poll (fds=0x555555b32dc0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
29    ../sysdeps/unix/sysv/linux/poll.c: El fitxer o directori no existeix.
(gdb) continue
Continuing.

Thread 2 "gmain" received signal SIG33, Real-time event 33.
[Switching to Thread 0x7ffff1bc3700 (LWP 163698)]
0x00007ffff69a1aff in __GI___poll (fds=0x555555b1f080, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
29    in ../sysdeps/unix/sysv/linux/poll.c
(gdb) continue
Continuing.
[New Thread 0x7fffeaf08700 (LWP 163702)]

Thread 1 "darkradiant" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff24eaa80 (LWP 163694)]
0x00007ffff6ed6ad8 in wxutil::DialogBase::DialogBase (this=0x555555e91820, title=..., parent=0x0) at /usr/include/wx-3.0/wx/buffer.h:164
164        struct Data : public wxPrivate::UntypedBufferData
(gdb) continue
Continuing.
Couldn't get registers: El procés no existeix.
Couldn't get registers: El procés no existeix.
(gdb) [Thread 0x7fffeaf08700 (LWP 163702) exited]
[Thread 0x7ffff13c2700 (LWP 163699) exited]
[Thread 0x7ffff1bc3700 (LWP 163698) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
quit

 

Edited by 7318

Biel Bestué de Luna - Github

Link to post
Share on other sites

Can you try to pull and build again? I ran over this bug when adjusting the Xcode project, I think it was the same problem as the one you described.

Link to post
Share on other sites

I've got this error while compiling:

 

Quote

In file included from ModelScale.cpp:1:
RadiantTest.h:3:10: fatal error: gtest/gtest.h: El fitxer o directori no existeix
    3 | #include "gtest/gtest.h"
      |          ^~~~~~~~~~~~~~~
In file included from Camera.cpp:1:
RadiantTest.h:3:10: fatal error: gtest/gtest.h: El fitxer o directori no existeix
    3 | #include "gtest/gtest.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
In file included from CSG.cpp:1:
RadiantTest.h:3:10: fatal error: gtest/gtest.h: El fitxer o directori no existeix
    3 | #include "gtest/gtest.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
In file included from SelectionAlgorithm.cpp:1:
RadiantTest.h:3:10: fatal error: gtest/gtest.h: El fitxer o directori no existeix
    3 | #include "gtest/gtest.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:558: test-Camera.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:600: test-ModelScale.o] Error 1
make[2]: *** [Makefile:572: test-CSG.o] Error 1
make[2]: *** [Makefile:614: test-SelectionAlgorithm.o] Error 1
make[2]: Leaving directory '/home/biel/code/DarkRadiant/test'
make[1]: *** [Makefile:749: all-recursive] Error 1
make[1]: Leaving directory '/home/biel/code/DarkRadiant'
make: *** [Makefile:490: all] Error 2

 

Biel Bestué de Luna - Github

Link to post
Share on other sites

I need to get the configure.ac script to exclude the unit tests. I really ought to switch to a branch next time I make that kind of change, sorry.

Link to post
Share on other sites

what do you mean? you need my configure.ac script?

Quote

AC_INIT([darkradiant], [2.8.1])
AM_INIT_AUTOMAKE([subdir-objects])
AM_SILENT_RULES([yes])

AC_CONFIG_MACRO_DIR([m4])

# Get info about the OS we're on
AC_CANONICAL_HOST

build_linux=no
build_osx=no

case $host_os in
  linux*)
        build_linux=yes
        ;;
  darwin* )
        build_osx=yes
        ;;
esac

# Initialise Gettext
AM_GNU_GETTEXT_VERSION(0.18.1)
AM_GNU_GETTEXT([external])

# greebo: Require that the gettext binaries are available
AC_CHECK_PROG(HAS_MSGFMT, msgfmt, [yes], [no])
AC_CHECK_PROG(HAS_MSGMERGE, msgmerge, [yes], [no])
AC_CHECK_PROG(HAS_XGETTEXT, xgettext, [yes], [no])

if test x"$HAS_MSGFMT" == x"no" || test x"$HAS_MSGMERGE" == x"no" || test x"$HAS_XGETTEXT" == x"no"
then
    AC_MSG_ERROR([Please make sure msgfmt, msgmerge and xgettext are available (probably through the gettext package).])
fi

# Save user flags
USER_CFLAGS=$CFLAGS
USER_CXXFLAGS=$CXXFLAGS
USER_CPPFLAGS=$CPPFLAGS
USER_LDFLAGS=$LDFLAGS

# Setup and defaults
AC_LANG(C++)
AC_PROG_CXX
AC_DISABLE_STATIC
AC_PROG_LIBTOOL

# We require a C++11-compliant compiler, without nonstandard extensions
AX_CXX_COMPILE_STDCXX([11], [noext], [mandatory])

# Check for a C++17-compliant compiler, this will automatically add --std=c++17 if it finds it has to
AX_CXX_COMPILE_STDCXX([17], [noext], [optional])

# We require the cstdint header to be present
AC_CHECK_HEADER([cstdint], [], [AC_MSG_ERROR([Could not find the <cstdint> header.])])

# Optional features
AC_ARG_ENABLE([debug],
              [AS_HELP_STRING([--enable-debug],
                              [enable debug build])],
              [debug_build=$enableval],
              [debug_build='no'])
AC_ARG_ENABLE([relocation],
              [AS_HELP_STRING([--enable-relocation],
                              [build a relocatable package without hard-coded
                               absolute paths])],
              [reloc_build=$enableval],
              [reloc_build='no'])
AC_ARG_ENABLE([darkmod-plugins],
              [AS_HELP_STRING([--enable-darkmod-plugins],
                              [build Dark Mod plugins such as S/R editor])],
              [darkmod_plugins=$enableval],
              [darkmod_plugins='no'])
AC_ARG_ENABLE([python],
              [AS_HELP_STRING([--disable-python],
                              [disable Python scripting functionality])],
              [python_scripting=$enableval],
              [python_scripting='yes'])

AC_ARG_WITH(pybind11,
            [--with-pybind11=/path/to/pybind11/include pybind11 include path to use (optional)],
            pybind11_include_path="$withval")

if [[ "$darkmod_plugins" != 'no' ]]
then
    # Enable conditional directories (used by plugins/Makefile.am)
    sr_plugin="dm.stimresponse"
    obj_plugin="dm.objectives"
    difficulty_plugin="dm.difficulty"
    conv_plugin="dm.conversation"
    gui_plugin="dm.gui"
    editing_plugin="dm.editing"
    gameconn_plugin="dm.gameconnection"
fi
AC_SUBST([sr_plugin])
AC_SUBST([obj_plugin])
AC_SUBST([difficulty_plugin])
AC_SUBST([conv_plugin])
AC_SUBST([gui_plugin])
AC_SUBST([editing_plugin])
AC_SUBST([gameconn_plugin])

# Check for required libraries

# Zlib
AC_CHECK_HEADER([zlib.h], [], [AC_MSG_ERROR([ZLib not found])])
AC_CHECK_LIB([z], [inflateEnd],
             [Z_LIBS='-lz'],
             [AC_MSG_ERROR([ZLib not found])])
AC_SUBST([Z_LIBS])

# JPEG
AC_CHECK_HEADER([jpeglib.h], [], [AC_MSG_ERROR([libjpeg header not found])])
AC_CHECK_LIB([jpeg], [jpeg_start_compress],
             [JPEG_LIBS='-ljpeg'],
             [AC_MSG_ERROR([libjpeg library not found])])
AC_SUBST([JPEG_LIBS])

# wxWidgets
WX_CONFIG_OPTIONS
WX_CONFIG_CHECK([3.0.0], [wxWin=1], [wxWin=0], [std,gl,stc])
if test "$wxWin" != 1; then
    AC_MSG_ERROR([
                wxWidgets must be installed on your system
                but wx-config script could not be found.

                Please check that wx-config is in path, the directory
                where wxWidgets libraries are installed (returned by
                'wx-config --libs' command) is in LD_LIBRARY_PATH or
                equivalent variable and wxWidgets version is 3.0.0 or above.
        ])
fi

# Support libraries
PKG_CHECK_MODULES([XML], [libxml-2.0])
PKG_CHECK_MODULES([LIBSIGC], [sigc++-2.0])
PKG_CHECK_MODULES([PNG], [libpng])
PKG_CHECK_MODULES([FTGL], [ftgl])

# GLEW
AC_CHECK_HEADER([GL/glew.h], [], [AC_MSG_ERROR([GLEW not found])])
AC_CHECK_LIB([GLEW], [main],
             [GLEW_LIBS='-lGLEW'],
             [AC_MSG_ERROR([GLEW not found])])
AC_SUBST([GLEW_LIBS])

# In OSX, OpenGL and GLU are handled through the -framework OpenGL switch
# In Linux we need to check for the libs
if test "$build_osx" != "no"; then
    [GL_LIBS='-framework OpenGL']
    
    # We need the libintl library in OSX
    AC_CHECK_LIB([intl], [main],
                [INTL_LIBS='-lintl'],
                [AC_MSG_ERROR([intl library not found])])
    AC_SUBST([INTL_LIBS])
fi

if test "$build_linux" != "no"; then
    AC_CHECK_LIB([GL], [main],
             [GL_LIBS='-lGL'],
             [AC_MSG_ERROR([GL library not found.])])
    AC_CHECK_LIB([GLU], [gluBuild2DMipmaps],
             [GLU_LIBS="-lGLU"],
             [AC_MSG_ERROR([GLU library not found.])])
    AC_SUBST([GL_LIBS])
    AC_SUBST([GLU_LIBS])
fi

# By default, we rely on boost.filesystem, unless we have the C++17 libs
use_boost_filesystem=yes

# Check for the regular C++17 <filesystem> header
AC_CHECK_HEADER([filesystem], [found_std_filesystem=yes], [found_std_filesystem=no])

# if no <filesystem> is present, check for the pre-C++17 header <experimental/filesystem>
if test "$found_std_filesystem" = "yes"
then
    AC_DEFINE([HAVE_STD_FILESYSTEM], [1], [Define this to indicate that the <filesystem> header is available for inclusion.])
    use_boost_filesystem=no
else
    AC_CHECK_HEADER([experimental/filesystem], [found_experimental_filesystem=yes], [found_experimental_filesystem=no])
    
    if test "$found_experimental_filesystem" = "yes"
    then
        AC_DEFINE([HAVE_EXPERIMENTAL_FILESYSTEM], [1], [Define this to indicate that the <experimental/filesystem>
                                                        header is available for inclusion.])
        use_boost_filesystem=no
    fi
fi

FILESYSTEM_LIBS=''

# Require Boost Filesystem if the C++17-style header is not present
if test "$use_boost_filesystem" = "yes"
then
    AC_MSG_NOTICE([Will check for boost libraries since std::filesystem is not available])

    # Boost
    BOOST_REQUIRE([1.46.1])

    BOOST_FILESYSTEM
    BOOST_SYSTEM
    FILESYSTEM_LIBS="$(BOOST_FILESYSTEM_LIBS) $(BOOST_SYSTEM_LIBS)"
else
    AC_MSG_NOTICE([Will use std::filesystem instead of boost.filesystem])
    FILESYSTEM_LIBS="-lstdc++fs"
fi

AC_SUBST([FILESYSTEM_LIBS])

# Check if we have a python interpreter and python-config, otherwise disable scripting
if test "$python_scripting" = 'yes'
then
    # Check for any Python interpreter (minimum version >= 2.0), this will set $PYTHON on success
    PC_PROG_PYTHON()

    if test ! -z "$PYTHON"
    then
        # Check for the python-config (this will set $PYTHON_CONFIG on success)
        # Prefer python3-config if Python is reporting version >= 3.0
        PC_PYTHON_VERIFY_VERSION([>=], [3.0.0],
            [PC_PYTHON_PROG_PYTHON_CONFIG(["python3-config" "python-config"])],
            [PC_PYTHON_PROG_PYTHON_CONFIG(["python-config"])])

        if test -z "$PYTHON_CONFIG"; then
            # No python-config found
            AC_MSG_NOTICE([No python-config binary found])
            python_scripting='no'
        fi
    else
        # No interpreter found
        AC_MSG_NOTICE([No python interpreter found])
        python_scripting='no'
    fi
fi

# Python scripting still required, check for PyBind11
if test "$python_scripting" = 'yes'
then
    AM_CONDITIONAL([SYSTEM_HAS_PYBIND11], [false]) # default to "not found"
    
    # Python 3.8 requires the --embed switch to produce working linker flags
    PC_PYTHON_VERIFY_VERSION([>=], [3.8.0],
        [PYTHON_LIBS=`$PYTHON_CONFIG --libs --embed`],
        [PYTHON_LIBS=`$PYTHON_CONFIG --libs`])

    PYTHON_CPPFLAGS=`$PYTHON_CONFIG --includes`
    PYBIND11_CPPFLAGS=``
    
    # Add the path to the pybind11 library if we got one from the arguments
    if test "x$pybind11_include_path" != x ; then
        PYBIND11_CPPFLAGS="-I$pybind11_include_path"
    fi
    
    # pybind11.h is including Python.h, need to help it find the Python.h header
    CPPFLAGS="$USER_CPPFLAGS $PYTHON_CPPFLAGS $PYBIND11_CPPFLAGS"
    
    AC_MSG_NOTICE([Checking for pybind11 headers...])
    found_local_pybind11=no
    
    # Check for a system-provided pybind11, otherwise fall back on
    # the pybind11 headers we ship in the libs/pybind folder
    AC_CHECK_HEADER([pybind11/pybind11.h], [found_local_pybind11=yes], [found_local_pybind11=no])

    if test "$found_local_pybind11" = 'yes'
    then
        AC_MSG_NOTICE([Using the system-provided pybind11 headers])
    else
        AC_MSG_NOTICE([Using the pybind11 headers shipped with the sources])
    fi

    AM_CONDITIONAL([SYSTEM_HAS_PYBIND11], [test "$found_local_pybind11" = 'yes'])
    
    script_module='script'
    AC_SUBST([script_module])
    AC_SUBST([PYTHON_CPPFLAGS])
    AC_SUBST([PYTHON_LIBS])
    AC_SUBST([PYBIND11_CPPFLAGS])
    AC_SUBST([SYSTEM_HAS_PYBIND11]) # Used by Makefile.am in plugins/script/
else
    AM_CONDITIONAL([SYSTEM_HAS_PYBIND11], [false])
fi

# greebo: Don't check for the system-provided fmtlib, since linking
# against the libfmt.a produces a relocation linker error, complaining about
# a missing -fPIC switch. I won't bother with that right now, let's use the
# headers shipped with the repository.

#AC_MSG_NOTICE([Checking for fmtlib headers...])
found_local_fmtlib=no

# Check for a system-provided fmtlib, otherwise fall back on
# the headers we ship in the libs/libfmt folder
#AC_CHECK_HEADER([fmt/format.h], [found_local_fmtlib=yes], [found_local_fmtlib=no])

if test "$found_local_fmtlib" = 'yes'
then
    FMTLIB_CPPFLAGS="" # system got one
    FMTLIB_LDFLAGS="-lfmt"
    AC_MSG_NOTICE([Using the system-provided fmtlib headers])
else
    # Switch to header-only mode when using our own shipped sources
    FMTLIB_CPPFLAGS="-I`pwd`/libs/libfmt -DFMT_HEADER_ONLY"
    FMTLIB_LDFLAGS=""
    AC_MSG_NOTICE([Using the fmtlib headers shipped with the sources (header-only mode)])
fi

# dynamic link library
AC_CHECK_LIB([dl], [main],
             [DL_LIBS='-ldl'],
             [AC_MSG_ERROR([DL library not found])])
AC_SUBST([DL_LIBS])

# OpenAL and vorbis
AC_CHECK_HEADER([AL/alut.h],
                [sound_module='sound'],
                [sound_module=''])
AC_CHECK_LIB([vorbisfile], [ov_clear],
             [VORBIS_LIBS='-lvorbisfile'],
             [sound_module=''])

# Use the OpenAL framework in OSX
if test "$build_osx" != "no"; then
    [AL_LIBS='-framework OpenAL']
else
    AC_CHECK_LIB([openal], [alGetError],
             [AL_LIBS='-lopenal'],
             [sound_module=''])
fi

AC_CHECK_LIB([alut], [main],
             [ALUT_LIBS='-lalut'],
             [sound_module=''],
             [$AL_LIBS])

AC_SUBST([sound_module])
AC_SUBST([ALUT_LIBS])
AC_SUBST([VORBIS_LIBS])
AC_SUBST([AL_LIBS])

# Configure global flags, cancelling any modifications we may have made during
# configuration
WARNING_FLAGS="-Wall -Wno-unused-variable -Werror=return-type"

if test "$build_osx" != "no"; then
    WARNING_FLAGS="$WARNING_FLAGS -Wno-inconsistent-missing-override -Wno-potentially-evaluated-expression"
fi

CFLAGS="$USER_CFLAGS $WARNING_FLAGS $WX_CFLAGS"
CXXFLAGS="$USER_CXXFLAGS $WARNING_FLAGS $WX_CXXFLAGS_ONLY"
CPPFLAGS="$USER_CPPFLAGS -DPOSIX -fPIC $WX_CPPFLAGS $LIBSIGC_CFLAGS -DWXINTL_NO_GETTEXT_MACRO $FMTLIB_CPPFLAGS"
LDFLAGS="$USER_LDFLAGS $LIBSIGC_LIBS $FMTLIB_LDFLAGS"

# Debug/optimisation
if test "$debug_build" != 'no'
then
    CPPFLAGS="-D_DEBUG $CPPFLAGS"
    CFLAGS="-g -Og $CFLAGS"
    CXXFLAGS="-g -Og $CXXFLAGS"
else
    CFLAGS="-g -O2 -DNDEBUG $CFLAGS"
    CXXFLAGS="-g -O2 -DNDEBUG $CXXFLAGS"
fi

# Relocation
if test "$reloc_build" != 'no'
then
    CPPFLAGS="-DENABLE_RELOCATION $CPPFLAGS"
fi

AC_SUBST([CPPFLAGS])
AC_SUBST([CFLAGS])
AC_SUBST([CXXFLAGS])
AC_SUBST([LDFLAGS])

# Define the file name of the radiant core module without extension
AC_DEFINE([CORE_MODULE_LIBRARY], ["libradiantcore"], ["Core module filename without extension, e.g. 'libradiantcore'"])

# Generate output files
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([install/darkradiant.desktop install/i18n//Makefile.in
                 Makefile
                 radiant/Makefile
                 radiantcore/Makefile
                 test/Makefile
                 install/i18n/Makefile.in
                 doc/Makefile
                 libs/Makefile
                 libs/wxutil/Makefile
                 libs/math/Makefile
                 libs/module/Makefile
                 libs/scene/Makefile
                 libs/xmlutil/Makefile
                 plugins/Makefile
                 plugins/script/Makefile
                 plugins/sound/Makefile
                 plugins/dm.stimresponse/Makefile
                 plugins/dm.objectives/Makefile
                 plugins/dm.difficulty/Makefile
                 plugins/dm.gui/Makefile
                 plugins/dm.editing/Makefile
                 plugins/dm.gameconnection/Makefile
                 plugins/dm.conversation/Makefile])

AC_OUTPUT

# Display configured options
echo "
Configuration options:"

echo     " Installation prefix:   $prefix"

if test "$reloc_build" != 'no'
then
    echo " Relocatable package:   yes"
else
    echo " Relocatable package:   no"
fi

if test -n "$sound_module"
then
    echo " Sound:                 yes"
else
    echo " Sound:                 no"
fi

if test "$darkmod_plugins" != 'no'
then
    echo " Darkmod plugins:       yes"
else
    echo " Darkmod plugins:       no"
fi

if test -z "$script_module"
then
    echo " Python scripting:      no"
else
    echo " Python scripting:      yes"
    
    if test "$found_local_pybind11" = "yes"
    then
        echo " Use system pybind11:   yes"
    else
        echo " Use system pybind11:   no"
    fi
fi

#if test "$found_local_fmtlib" = "yes"
#then
#    echo " Use system fmtlib:     yes"
#else
#    echo " Use system fmtlib:     no"
#fi

echo " Use boost.filesystem:  $use_boost_filesystem"

 

Edited by 7318

Biel Bestué de Luna - Github

Link to post
Share on other sites

No no, thanks, I broke the scripts while working on the gtest-integration, and I made the mistake to push it to master, because I thought I'd be finished soon, but I ran out of time - so the master is in a broken state now. I'll look into that today, so you can compile again.

You can work around that problem by installing the libgtest-dev package.

Link to post
Share on other sites

built and installed, but I still get an error when running it I get the following Error window:

Quote

Error

ModuleRegistry: multiple modules named CameraWndManager

here is the GDB trace:

Quote

$ gdb darkradiant
GNU gdb (Ubuntu 9.2-0ubuntu2) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from darkradiant...
(gdb) start
Temporary breakpoint 1 at 0xfa900: file main.cpp, line 7.
Starting program: /usr/local/bin/darkradiant
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Temporary breakpoint 1, main (argc=1, argv=0x7fffffffdf98) at main.cpp:7
7    wxIMPLEMENT_APP(RadiantApp);
(gdb) continue
Continuing.
[New Thread 0x7ffff1b0b640 (LWP 49615)]
[New Thread 0x7ffff130a640 (LWP 49616)]

Thread 2 "gmain" received signal SIG33, Real-time event 33.
[Switching to Thread 0x7ffff1b0b640 (LWP 49615)]
0x00007ffff699e66f in __GI___poll (fds=0x555555a9fb50, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
29    ../sysdeps/unix/sysv/linux/poll.c: El fitxer o directori no existeix.
(gdb) continue
Continuing.

Thread 3 "gdbus" received signal SIG33, Real-time event 33.
[Switching to Thread 0x7ffff130a640 (LWP 49616)]
0x00007ffff699e66f in __GI___poll (fds=0x555555ab3250, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
29    in ../sysdeps/unix/sysv/linux/poll.c
(gdb) continue
Continuing.
[New Thread 0x7fffeae54640 (LWP 49618)]

Thread 1 "darkradiant" received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff242ca80 (LWP 49611)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49
49    ../sysdeps/unix/sysv/linux/raise.c: El fitxer o directori no existeix.
(gdb) continue
Continuing.
Couldn't get registers: El procés no existeix.
Couldn't get registers: El procés no existeix.
(gdb) [Thread 0x7fffeae54640 (LWP 49618) exited]
[Thread 0x7ffff130a640 (LWP 49616) exited]
[Thread 0x7ffff1b0b640 (LWP 49615) exited]

Program terminated with signal SIGABRT, Aborted.
The program no longer exists.

 

Biel Bestué de Luna - Github

Link to post
Share on other sites

This here sounds suspicious, maybe some old library is lying around in you install folder?

Quote

ModuleRegistry: multiple modules named CameraWndManager

Can you check the file listing in the lib/ folder for old modules from a preivous build?

Link to post
Share on other sites

nope, I uninstalled it with

sudo make uninstall

 

Then I searched for all folders with "darkradiant" in my system and deleted them all manually.

 

Then recompiled the code and Installed it again,

but unfortunately I get the same error message.

Edited by 7318

Biel Bestué de Luna - Github

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...