Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Do anyone uses archlinux around here?

 

I tried to download the code from the git repository, but compiling directly does not work.

I patched many missing "include" and the python flag because the default version in arch is python3, while darkradiant expect python2.

 

The compilation has success, but it fails on linking phase. Any help?

 

 

Compiling log:

$ make
make  all-recursive
make[1]: Entering directory '/home/paolo/darkradiant/DarkRadiant_build'
Making all in libs
make[2]: Entering directory '/home/paolo/darkradiant/DarkRadiant_build/libs'
Making all in math
make[3]: Entering directory '/home/paolo/darkradiant/DarkRadiant_build/libs/math'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/paolo/darkradiant/DarkRadiant_build/libs/math'
Making all in xmlutil
make[3]: Entering directory '/home/paolo/darkradiant/DarkRadiant_build/libs/xmlutil'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/paolo/darkradiant/DarkRadiant_build/libs/xmlutil'
Making all in scene
make[3]: Entering directory '/home/paolo/darkradiant/DarkRadiant_build/libs/scene'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/paolo/darkradiant/DarkRadiant_build/libs/scene'
Making all in gtkutil
make[3]: Entering directory '/home/paolo/darkradiant/DarkRadiant_build/libs/gtkutil'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/paolo/darkradiant/DarkRadiant_build/libs/gtkutil'
Making all in ddslib
make[3]: Entering directory '/home/paolo/darkradiant/DarkRadiant_build/libs/ddslib'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/paolo/darkradiant/DarkRadiant_build/libs/ddslib'
Making all in picomodel
make[3]: Entering directory '/home/paolo/darkradiant/DarkRadiant_build/libs/picomodel'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/paolo/darkradiant/DarkRadiant_build/libs/picomodel'
make[3]: Entering directory '/home/paolo/darkradiant/DarkRadiant_build/libs'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/paolo/darkradiant/DarkRadiant_build/libs'
make[2]: Leaving directory '/home/paolo/darkradiant/DarkRadiant_build/libs'
Making all in radiant
make[2]: Entering directory '/home/paolo/darkradiant/DarkRadiant_build/radiant'
 CXXLD  darkradiant
selection/algorithm/darkradiant-Shader.o: In function `selection::algorithm::pasteShader(SelectionTest&, bool, bool)':
/home/paolo/darkradiant/DarkRadiant_build/radiant/selection/algorithm/Shader.cpp:281: undefined reference to `selection::algorithm::ClosestTexturableFinder::ClosestTexturableFinder(SelectionTest&, selection::Texturable&)'
selection/algorithm/darkradiant-Shader.o: In function `selection::algorithm::pasteTextureCoords(SelectionTest&)':
/home/paolo/darkradiant/DarkRadiant_build/radiant/selection/algorithm/Shader.cpp:306: undefined reference to `selection::algorithm::ClosestTexturableFinder::ClosestTexturableFinder(SelectionTest&, selection::Texturable&)'
selection/shaderclipboard/darkradiant-ShaderClipboard.o: In function `selection::ShaderClipboard::getTexturable(SelectionTest&)':
/home/paolo/darkradiant/DarkRadiant_build/radiant/selection/shaderclipboard/ShaderClipboard.cpp:62: undefined reference to `selection::algorithm::ClosestTexturableFinder::ClosestTexturableFinder(SelectionTest&, selection::Texturable&)'
collect2: error: ld returned 1 exit status
Makefile:1715: recipe for target 'darkradiant' failed
make[2]: *** [darkradiant] Error 1
make[2]: Leaving directory '/home/paolo/darkradiant/DarkRadiant_build/radiant'
Makefile:704: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/paolo/darkradiant/DarkRadiant_build'
Makefile:423: recipe for target 'all' failed
make: *** [all] Error 2

 

Random info that might be useful...

$ uname -a
Linux sink 3.12.6-1-ARCH #1 SMP PREEMPT Fri Dec 20 19:39:00 CET 2013 x86_64 GNU/Linux
$ g++ --version
g++ (GCC) 4.8.2 20131219 (prerelease)
Copyright (C) 2013 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.

$ optirun glxinfo | grep '^dir\|^Ope'
direct rendering: Yes
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 765M/PCIe/SSE2
OpenGL core profile version string: 4.3.0 NVIDIA 331.20
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.4.0 NVIDIA 331.20
OpenGL shading language version string: 4.40 NVIDIA via Cg compiler
OpenGL context flags: (none)
OpenGL profile mask: (none)

$ pacman -Q boost freealut ftgl glew gtkglextmm libgtksourceviewmm2 openal python2
boost 1.55.0-4
freealut 1.1.0-5
ftgl 2.1.3rc5-5
glew 1.10.0-2
gtkglextmm 1.2.0-9
libgtksourceviewmm2 2.10.3-1
openal 1.15.1-1
python2 2.7.6-1

 

 

Patch:

$ diff -ur DarkRadiant/configure DarkRadiant_build/configure
--- DarkRadiant/configure 2014-01-10 13:17:17.747488351 +0100
+++ DarkRadiant_build/configure 2014-01-10 13:44:28.734173359 +0100
@@ -20432,7 +20432,7 @@
# Boost.Python if required
if test "$python_scripting" = 'yes'
then
-	for ac_prog in python-config
+	for ac_prog in python2-config
do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@@ -20478,13 +20478,13 @@
 then
	 PYTHON_LIBS=`$PYTHON_CONFIG --libs`

-		BOOST_PYTHON_CPPFLAGS=`python-config --includes 2>/dev/null`
+		BOOST_PYTHON_CPPFLAGS=`python2-config --includes 2>/dev/null`
boost_python_save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $BOOST_PYTHON_CPPFLAGS"
-BOOST_PYTHON_LDFLAGS=`python-config --ldflags 2>/dev/null`
+BOOST_PYTHON_LDFLAGS=`python2-config --ldflags 2>/dev/null`
boost_python_save_LDFLAGS=$LDFLAGS
LDFLAGS="$LDFLAGS $BOOST_PYTHON_LDFLAGS"
-BOOST_PYTHON_LIBS=`python-config --libs 2>/dev/null`
+BOOST_PYTHON_LIBS=`python2-config --libs 2>/dev/null`
boost_python_save_LIBS=$LIBS
LIBS="$LIBS $BOOST_PYTHON_LIBS"
if test x"$boost_cv_inc_path" = xno; then
diff -ur DarkRadiant/libs/gtkutil/FileChooser.h DarkRadiant_build/libs/gtkutil/FileChooser.h
--- DarkRadiant/libs/gtkutil/FileChooser.h 2014-01-10 13:17:17.854154998 +0100
+++ DarkRadiant_build/libs/gtkutil/FileChooser.h 2014-01-10 13:48:04.147509125 +0100
@@ -101,7 +101,7 @@
  * Get the selected map format by name (corresponds to the
  * string as returned by MapFormat::getMapFormatName()).
  */
- virtual std::string FileChooser::getSelectedMapFormat();
+ virtual std::string getSelectedMapFormat();

 /**
  * It's possible to inihibit the "File exists - replace" question when
diff -ur DarkRadiant/radiant/camera/CamWnd.cpp DarkRadiant_build/radiant/camera/CamWnd.cpp
--- DarkRadiant/radiant/camera/CamWnd.cpp 2014-01-10 13:17:17.804154997 +0100
+++ DarkRadiant_build/radiant/camera/CamWnd.cpp 2014-01-10 13:56:20.580848038 +0100
@@ -1,5 +1,6 @@
#include "CamWnd.h"

+#include "ibrush.h"
#include "iclipper.h"
#include "iuimanager.h"
#include "ieventmanager.h"
diff -ur DarkRadiant/radiant/layers/LayerSystem.cpp DarkRadiant_build/radiant/layers/LayerSystem.cpp
--- DarkRadiant/radiant/layers/LayerSystem.cpp 2014-01-10 13:17:17.800821659 +0100
+++ DarkRadiant_build/radiant/layers/LayerSystem.cpp 2014-01-10 14:07:55.077522145 +0100
@@ -6,6 +6,7 @@
#include "iuimanager.h"
#include "itextstream.h"
#include "imainframe.h"
+#include "ientity.h"
#include "icommandsystem.h"
#include "scene/Node.h"
#include "scenelib.h"
diff -ur DarkRadiant/radiant/map/EntityBreakdown.h DarkRadiant_build/radiant/map/EntityBreakdown.h
--- DarkRadiant/radiant/map/EntityBreakdown.h 2014-01-10 13:17:17.800821659 +0100
+++ DarkRadiant_build/radiant/map/EntityBreakdown.h 2014-01-10 14:00:19.004184058 +0100
@@ -3,6 +3,7 @@

#include <map>
#include <string>
+#include "iscenegraph.h"
#include "ientity.h"
#include "ieclass.h"

diff -ur DarkRadiant/radiant/map/MapFileManager.cpp DarkRadiant_build/radiant/map/MapFileManager.cpp
--- DarkRadiant/radiant/map/MapFileManager.cpp 2014-01-10 13:17:17.804154997 +0100
+++ DarkRadiant_build/radiant/map/MapFileManager.cpp 2014-01-10 14:54:44.904220577 +0100
@@ -8,6 +8,7 @@
#include "gtkutil/IConv.h"
#include "os/path.h"
#include "MapFileChooserPreview.h"
+#include "i18n.h"

#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string/erase.hpp>
diff -ur DarkRadiant/radiant/map/MapFileManager.h DarkRadiant_build/radiant/map/MapFileManager.h
--- DarkRadiant/radiant/map/MapFileManager.h 2014-01-10 13:17:17.804154997 +0100
+++ DarkRadiant_build/radiant/map/MapFileManager.h 2014-01-10 14:49:15.510883786 +0100
@@ -3,6 +3,8 @@
#include <string>
#include <map>

+#include "imapformat.h"
+
namespace map
{

diff -ur DarkRadiant/radiant/map/ModelBreakdown.h DarkRadiant_build/radiant/map/ModelBreakdown.h
--- DarkRadiant/radiant/map/ModelBreakdown.h 2014-01-10 13:17:17.804154997 +0100
+++ DarkRadiant_build/radiant/map/ModelBreakdown.h 2014-01-10 14:01:44.980851696 +0100
@@ -5,6 +5,7 @@
#include <string>
#include "imodel.h"
#include "modelskin.h"
+#include "iscenegraph.h"

namespace map {

diff -ur DarkRadiant/radiant/map/algorithm/InfoFileExporter.h DarkRadiant_build/radiant/map/algorithm/InfoFileExporter.h
--- DarkRadiant/radiant/map/algorithm/InfoFileExporter.h 2014-01-10 13:17:17.800821659 +0100
+++ DarkRadiant_build/radiant/map/algorithm/InfoFileExporter.h 2014-01-10 16:18:32.990944119 +0100
@@ -3,6 +3,10 @@
#include <ostream>
#include <sstream>
#include "inode.h"
+#include "iselectionset.h"
+#include "iscenegraph.h"
+#include "iparticlenode.h"
+#include "math/AABB.h"
#include <map>

namespace map
diff -ur DarkRadiant/radiant/map/algorithm/MapExporter.h DarkRadiant_build/radiant/map/algorithm/MapExporter.h
--- DarkRadiant/radiant/map/algorithm/MapExporter.h 2014-01-10 13:17:17.800821659 +0100
+++ DarkRadiant_build/radiant/map/algorithm/MapExporter.h 2014-01-10 14:57:04.320889080 +0100
@@ -3,6 +3,7 @@
#include "inode.h"
#include "imapformat.h"
#include "igame.h"
+#include "iselectionset.h"

#include "gtkutil/ModalProgressDialog.h"
#include "InfoFileExporter.h"
diff -ur DarkRadiant/radiant/modulesystem/ApplicationContextImpl.cpp DarkRadiant_build/radiant/modulesystem/ApplicationContextImpl.cpp
--- DarkRadiant/radiant/modulesystem/ApplicationContextImpl.cpp 2014-01-10 13:17:17.827488330 +0100
+++ DarkRadiant_build/radiant/modulesystem/ApplicationContextImpl.cpp 2014-01-10 14:12:26.740858928 +0100
@@ -1,5 +1,7 @@
#include "ApplicationContextImpl.h"

+#include "inode.h"
+#include "iselectable.h"
#include "string/string.h"
#include "debugging/debugging.h"
#include "itextstream.h"
diff -ur DarkRadiant/radiant/namespace/Namespace.cpp DarkRadiant_build/radiant/namespace/Namespace.cpp
--- DarkRadiant/radiant/namespace/Namespace.cpp 2014-01-10 13:17:17.834154998 +0100
+++ DarkRadiant_build/radiant/namespace/Namespace.cpp 2014-01-10 13:58:29.637516161 +0100
@@ -1,5 +1,6 @@
#include "Namespace.h"

+#include "inameobserver.h"
#include "itextstream.h"
#include "modulesystem/StaticModule.h"

diff -ur DarkRadiant/radiant/referencecache/ModelCache.cpp DarkRadiant_build/radiant/referencecache/ModelCache.cpp
--- DarkRadiant/radiant/referencecache/ModelCache.cpp 2014-01-10 13:17:17.830821664 +0100
+++ DarkRadiant_build/radiant/referencecache/ModelCache.cpp 2014-01-10 17:00:49.360972673 +0100
@@ -9,6 +9,8 @@
#include "iselection.h"
#include "ieventmanager.h"
#include "iparticles.h"
+#include "inode.h"
+#include "iparticlenode.h"

#include <iostream>
#include <set>
@@ -143,7 +145,7 @@
 if (type == "prt")
 {
 // This is a particle, pass the call to the Particles Manager
- return GlobalParticlesManager().createParticleNode(actualModelPath);
+		return boost::dynamic_pointer_cast<scene::INode> (GlobalParticlesManager().createParticleNode(actualModelPath));
 }

 // Get a suitable model loader
diff -ur DarkRadiant/radiant/render/frontend/RenderHighlighted.h DarkRadiant_build/radiant/render/frontend/RenderHighlighted.h
--- DarkRadiant/radiant/render/frontend/RenderHighlighted.h 2014-01-10 13:17:17.830821664 +0100
+++ DarkRadiant_build/radiant/render/frontend/RenderHighlighted.h 2014-01-10 13:54:29.964180127 +0100
@@ -1,5 +1,6 @@
#pragma once

+#include "iselection.h"
#include "ientity.h"
#include "ieclass.h"
#include "iscenegraph.h"
diff -ur DarkRadiant/radiant/selection/Manipulatables.cpp DarkRadiant_build/radiant/selection/Manipulatables.cpp
--- DarkRadiant/radiant/selection/Manipulatables.cpp 2014-01-10 13:17:17.807488332 +0100
+++ DarkRadiant_build/radiant/selection/Manipulatables.cpp 2014-01-10 14:15:14.444194143 +0100
@@ -1,6 +1,7 @@
#include "math/FloatTools.h"
#include "Manipulatables.h"
#include "Intersection.h"
+#include "iscenegraph.h"

#include "igrid.h"

diff -ur DarkRadiant/radiant/selection/Manipulatables.h DarkRadiant_build/radiant/selection/Manipulatables.h
--- DarkRadiant/radiant/selection/Manipulatables.h 2014-01-10 13:17:17.810821665 +0100
+++ DarkRadiant_build/radiant/selection/Manipulatables.h 2014-01-10 14:15:38.997527753 +0100
@@ -1,6 +1,7 @@
#ifndef MANIPULATABLES_H_
#define MANIPULATABLES_H_

+#include "iscenegraph.h"
#include "math/Vector3.h"
#include "math/Matrix4.h"
#include "math/Quaternion.h"
diff -ur DarkRadiant/radiant/selection/TransformationVisitors.h DarkRadiant_build/radiant/selection/TransformationVisitors.h
--- DarkRadiant/radiant/selection/TransformationVisitors.h 2014-01-10 13:17:17.807488332 +0100
+++ DarkRadiant_build/radiant/selection/TransformationVisitors.h 2014-01-10 14:18:58.517530033 +0100
@@ -2,6 +2,7 @@
#define TRANSFORMATIONVISITORS_H_

#include "iselection.h"
+#include "iscenegraph.h"

#include "math/Vector3.h"
#include "math/Matrix4.h"
diff -ur DarkRadiant/radiant/selection/algorithm/Curves.cpp DarkRadiant_build/radiant/selection/algorithm/Curves.cpp
--- DarkRadiant/radiant/selection/algorithm/Curves.cpp 2014-01-10 13:17:17.807488332 +0100
+++ DarkRadiant_build/radiant/selection/algorithm/Curves.cpp 2014-01-10 14:30:03.957537490 +0100
@@ -1,5 +1,7 @@
#include "Curves.h"

+#include "ientity.h"
+
#include "i18n.h"
#include "icurve.h"
#include "iundo.h"
diff -ur DarkRadiant/radiant/selection/algorithm/Curves.h DarkRadiant_build/radiant/selection/algorithm/Curves.h
--- DarkRadiant/radiant/selection/algorithm/Curves.h 2014-01-10 13:17:17.807488332 +0100
+++ DarkRadiant_build/radiant/selection/algorithm/Curves.h 2014-01-10 14:38:19.920876413 +0100
@@ -1,6 +1,7 @@
#pragma once

#include "icommandsystem.h"
+#include "itransformable.h"

namespace selection
{
diff -ur DarkRadiant/radiant/selection/algorithm/Entity.h DarkRadiant_build/radiant/selection/algorithm/Entity.h
--- DarkRadiant/radiant/selection/algorithm/Entity.h 2014-01-10 13:17:17.807488332 +0100
+++ DarkRadiant_build/radiant/selection/algorithm/Entity.h 2014-01-10 14:40:11.384211012 +0100
@@ -1,5 +1,6 @@
#pragma once

+#include "itransformable.h"
#include "icommandsystem.h"
#include "inode.h"

diff -ur DarkRadiant/radiant/selection/algorithm/General.h DarkRadiant_build/radiant/selection/algorithm/General.h
--- DarkRadiant/radiant/selection/algorithm/General.h 2014-01-10 13:17:17.807488332 +0100
+++ DarkRadiant_build/radiant/selection/algorithm/General.h 2014-01-10 14:42:38.224212656 +0100
@@ -2,6 +2,7 @@
#define SELECTION_ALGORITHM_GENERAL_H_

#include <list>
+#include "imodel.h"
#include <string>
#include "icommandsystem.h"
#include "iscenegraph.h"
diff -ur DarkRadiant/radiant/selection/algorithm/GroupCycle.cpp DarkRadiant_build/radiant/selection/algorithm/GroupCycle.cpp
--- DarkRadiant/radiant/selection/algorithm/GroupCycle.cpp 2014-01-10 13:17:17.807488332 +0100
+++ DarkRadiant_build/radiant/selection/algorithm/GroupCycle.cpp 2014-01-10 14:26:59.957535425 +0100
@@ -1,7 +1,10 @@
-#include "GroupCycle.h"

+#include "iselection.h"
+#include "iselectable.h"
#include "selectionlib.h"

+#include "GroupCycle.h"
+
namespace selection {

namespace algorithm {
diff -ur DarkRadiant/radiant/selection/algorithm/GroupCycle.h DarkRadiant_build/radiant/selection/algorithm/GroupCycle.h
--- DarkRadiant/radiant/selection/algorithm/GroupCycle.h 2014-01-10 13:17:17.807488332 +0100
+++ DarkRadiant_build/radiant/selection/algorithm/GroupCycle.h 2014-01-10 14:23:15.390866215 +0100
@@ -3,6 +3,7 @@

#include <vector>
#include "icommandsystem.h"
+#include "iscenegraph.h"

namespace selection {

diff -ur DarkRadiant/radiant/selection/selectionset/SelectionSet.cpp DarkRadiant_build/radiant/selection/selectionset/SelectionSet.cpp
--- DarkRadiant/radiant/selection/selectionset/SelectionSet.cpp 2014-01-10 13:17:17.807488332 +0100
+++ DarkRadiant_build/radiant/selection/selectionset/SelectionSet.cpp 2014-01-10 14:13:14.270859589 +0100
@@ -1,3 +1,7 @@
+
+#include "inode.h"
+#include "iselectable.h"
+
#include "SelectionSet.h"


diff -ur DarkRadiant/radiant/ui/einspector/EntityPropertyEditor.cpp DarkRadiant_build/radiant/ui/einspector/EntityPropertyEditor.cpp
--- DarkRadiant/radiant/ui/einspector/EntityPropertyEditor.cpp 2014-01-10 13:17:17.814154998 +0100
+++ DarkRadiant_build/radiant/ui/einspector/EntityPropertyEditor.cpp 2014-01-10 14:04:07.870853304 +0100
@@ -1,5 +1,6 @@
#include "EntityPropertyEditor.h"

+#include "iundo.h"
#include "i18n.h"
#include "iscenegraph.h"
#include "ientity.h"

Posted

The makefiles are out of date and need to be regenerated. I think ./autogen.sh is the command that does this, I'd have to check the wiki.

 

I'll run a linux compile and will fix up the missing #includes.

 

edit: done. Is it working better now?

Posted (edited)

Much better. I still had to make small patches, but nothing serious. I used the result for a package in the archlinux AUR. (Yes, I am the same guy that created the package in the past, but lost the password)

 

In particular, I had to:

Delete the second line of configure.ac as calling AM_INIT_AUTOMAKE twice crashes automake.

Replace python-config with python2-config in configure.ac and m4/boost.m4.

Add the explicit static cast to bool in line 257 of plugins/mapdoom3/compiler/ProcFile.h, my compiler does not like to call operator bool on return.

Configure with boost_cv_lib_python='donottest' ./configure --prefix=/usr --enable-darkmod-plugins --enable-python, the env variable is needed otherwise boost cv does not configure...

 

I am not sure about the last point, but about the firsts three I do not see a reason while they should not be applied in trunk.

Edited by ezze
Posted

Got a patch for me? I'm not really an automake expert, but if the scripts will still be working on Ubuntu/Debian afterwards, I'm happy to apply the changes.

Posted

I have no idea about Ubuntu, but I see no reason why it should not work. Here is the patch:

 

--- DarkRadiant/configure.ac 2014-01-11 14:13:20.466455787 +0100
+++ DarkRadiant-build/configure.ac 2014-01-11 15:15:40.523164567 +0100
@@ -1,5 +1,4 @@
AC_INIT([darkradiant], [1.8.0])
-AM_INIT_AUTOMAKE([1.11])
AM_INIT_AUTOMAKE([subdir-objects])
AM_SILENT_RULES([yes])

@@ -129,7 +128,7 @@
# Boost.Python if required
if test "$python_scripting" = 'yes'
then
-    AC_CHECK_PROGS([PYTHON_CONFIG], [python-config], [])
+    AC_CHECK_PROGS([PYTHON_CONFIG], [python2-config], [])
    if test ! -z "$PYTHON_CONFIG"
    then
        PYTHON_LIBS=`$PYTHON_CONFIG --libs`

--- DarkRadiant/m4/boost.m4 2014-01-11 14:13:20.526455788 +0100
+++ DarkRadiant-build/m4/boost.m4 2014-01-11 15:15:40.533164568 +0100
@@ -707,11 +707,11 @@

# _BOOST_PYTHON_CONFIG(VARIABLE, FLAG)
# ------------------------------------
-# Save VARIABLE, and define it via `python-config --FLAG`.
+# Save VARIABLE, and define it via `python2-config --FLAG`.
# Substitute BOOST_PYTHON_VARIABLE.
m4_define([_BOOST_PYTHON_CONFIG],
[AC_SUBST([bOOST_PYTHON_$1],
-          [`python-config --$2 2>/dev/null`])dnl
+          [`python2-config --$2 2>/dev/null`])dnl
boost_python_save_$1=$$1
$1="$$1 $BOOST_PYTHON_$1"])

--- DarkRadiant/plugins/mapdoom3/compiler/ProcFile.h 2014-01-11 14:13:20.569789121 +0100
+++ DarkRadiant-build/plugins/mapdoom3/compiler/ProcFile.h 2014-01-11 15:15:40.536497900 +0100
@@ -254,7 +254,7 @@

 bool hasLeak() const
 {
- return leakFile;
+return static_cast<bool>(leakFile);
 }

 static const char* const Extension()

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.

  • Recent Status Updates

    • Ansome

      While updating my first FM, I noticed a lot of silly things I did because I was still new to DR. For example, there was a model for a wheel that I wanted the player to be able to turn that had its origin off-center. I didn't know I could just re-export the model inside DR to fix its origin, so instead that wheel triggers a func_mover it's bound to. A silly solution in retrospect, has anyone else made somewhat janky or roundabout solutions to technical challenges in their maps? I'd love to hear about 'em!
      · 5 replies
    • datiswous

      If you use DarkRadiant in Linux while using a dark theme, a large amount of the icons are hard to see, because it's dark-color on dark background (wish DR darkmode was a little less dark). A workaround is switching to a light theme when using DR. I'm using XFCE as DE, so I made this script (mostly copied from this code), which works as a toggle. Then I set it to a keyboard shortcut. The switch works even when DR is already opened.
      current_theme=$(xfconf-query -c xfwm4 -p /general/theme) if [[ $current_theme == 'Adwaita-dark' ]]; then xfconf-query -c xsettings -p /Net/ThemeName -s 'Mint-X-Grey' xfconf-query -c xfwm4 -p /general/theme -s 'Mint-X-Grey' else xfconf-query -c xsettings -p /Net/ThemeName -s 'Adwaita-dark' xfconf-query -c xfwm4 -p /general/theme -s 'Adwaita-dark' fi This only works for the XFCE DE though.
      · 0 replies
    • datiswous

      I just bought/build a new pc, so probably less performance related whining from my part from now on..
      Sorry in advance!
      Here are the specs
      · 4 replies
    • jivo

      In case you missed it, I updated the Visible Player Hands mod to version 2.0. It now works while a weapon is selected and has a Linux version too.
      Check it out if you're interested: Visible Player Hands 2.0
      · 0 replies
    • thebigh

      Starting a playthrough of the whole Dark Mod, from oldest mission to newest. I've knocked over the first few already and about to start Living Expenses. Only ~170 missions to go!
      · 12 replies
×
×
  • Create New...