Jump to content
The Dark Mod Forums

can't compile DR 1.8.0 on Debian Jessie 64-bit...


Recommended Posts

I had to pull that libgtksourceviewmm-2.2 package from the Squeeze packages, and when I am compiling I get

 

 

CXX DDSImage.lo

CXX ImageGDK.lo

CXX pcx.lo

CXX tga.lo

jpeg.cpp: In function 'void j_putRGBAScanline(unsigned char*, int, unsigned char*, int)':

jpeg.cpp:303:37: warning: variable 'iAlp' set but not used [-Wunused-but-set-variable]

unsigned char iRed, iBlu, iGrn, iAlp;

^

CXX png.lo

In file included from png.cpp:29:0:

/usr/include/libpng12/png.h:579:0: warning: "int_p_NULL" redefined [enabled by default]

#define int_p_NULL (int *)NULL

^

png.cpp:23:0: note: this is the location of the previous definition

#define int_p_NULL (int*)NULL

^

In file included from png.cpp:29:0:

/usr/include/libpng12/png.h:2659:31: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]

fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \

^

/usr/include/libpng12/png.h:2667:31: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]

fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \

^

/usr/include/libpng12/png.h:2675:31: warning: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wliteral-suffix]

fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \

^

CXXLD image.la

make[3]: Leaving directory `/homehd/kevin/dr/DarkRadiant/plugins/image'

Making all in mapdoom3

make[3]: Entering directory `/homehd/kevin/dr/DarkRadiant/plugins/mapdoom3'

CXX Doom3MapFormat.lo

CXX Doom3PrefabFormat.lo

CXX Quake4MapFormat.lo

CXX Quake4MapReader.lo

CXX Doom3MapReader.lo

CXX mapdoom3.lo

CXX Doom3MapWriter.lo

CXX compiler/Doom3MapCompiler.lo

CXX compiler/OptIsland.lo

CXX compiler/ProcCompiler.lo

In file included from compiler/Doom3MapCompiler.h:7:0,

from compiler/Doom3MapCompiler.cpp:1:

compiler/ProcFile.h: In member function 'bool map::ProcFile::hasLeak() const':

compiler/ProcFile.h:257:10: error: cannot convert 'const LeakFilePtr {aka const boost::shared_ptr<map::LeakFile>}' to 'bool' in return

return leakFile;

^

In file included from compiler/ProcCompiler.h:8:0,

from compiler/Doom3MapCompiler.cpp:19:

compiler/LeakFile.h: In constructor 'map::LeakFile::LeakFile(const map::BspTree&)':

compiler/LeakFile.h:43:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

if (p->nodes->occupied && p->nodes->occupied < next)

^

In file included from compiler/ProcCompiler.h:9:0,

from compiler/Doom3MapCompiler.cpp:19:

compiler/TriangleHash.h: In member function 'void map::TriangleHash::fixTriangleAgainstHash(const map::ProcTri&, map::ProcTris&)':

compiler/TriangleHash.h:294:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

for (std::size_t i = blocks[0][0]; i <= blocks[1][0]; ++i)

^

compiler/TriangleHash.h:296:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

for (std::size_t j = blocks[0][1]; j <= blocks[1][1]; ++j)

^

compiler/TriangleHash.h:298:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

for (std::size_t k = blocks[0][2]; k <= blocks[1][2]; ++k)

^

In file included from compiler/Doom3MapCompiler.h:7:0,

from mapdoom3.cpp:4:

compiler/ProcFile.h: In member function 'bool map::ProcFile::hasLeak() const':

compiler/ProcFile.h:257:10: error: cannot convert 'const LeakFilePtr {aka const boost::shared_ptr<map::LeakFile>}' to 'bool' in return

return leakFile;

^

In file included from compiler/OptIsland.h:3:0,

from compiler/OptIsland.cpp:1:

compiler/ProcFile.h: In member function 'bool map::ProcFile::hasLeak() const':

compiler/ProcFile.h:257:10: error: cannot convert 'const LeakFilePtr {aka const boost::shared_ptr<map::LeakFile>}' to 'bool' in return

return leakFile;

^

compiler/OptIsland.cpp: In constructor 'map::OptIsland::OptIsland(map::ProcOptimizeGroup&, std::vector<map::OptVertex>&, std::vector<map::OptEdge>&, const ProcFilePtr&)':

compiler/OptIsland.cpp:19:17: warning: passing NULL to non-pointer argument 1 of 'std::vector<_Tp, _Alloc>::vector(std::vector<_Tp, _Alloc>::size_type, const allocator_type&) [with _Tp = boost::shared_ptr<map::OptTri>; _Alloc = std::allocator<boost::shared_ptr<map::OptTri> >; std::vector<_Tp, _Alloc>::size_type = long unsigned int; std::vector<_Tp, _Alloc>::allocator_type = std::allocator<boost::shared_ptr<map::OptTri> >]' [-Wconversion-null]

_optEdges(edges)

^

In file included from compiler/Doom3MapCompiler.h:7:0,

from compiler/Doom3MapCompiler.cpp:1:

compiler/ProcFile.h: In member function 'bool map::ProcFile::hasLeak() const':

compiler/ProcFile.h:258:2: error: control reaches end of non-void function [-Werror=return-type]

}

^

cc1plus: some warnings being treated as errors

make[3]: *** [compiler/Doom3MapCompiler.lo] Error 1

make[3]: *** Waiting for unfinished jobs....

make[3]: *** [compiler/OptIsland.lo] Error 1

make[3]: *** [mapdoom3.lo] Error 1

In file included from compiler/ProcCompiler.h:5:0,

from compiler/ProcCompiler.cpp:1:

compiler/ProcFile.h: In member function 'bool map::ProcFile::hasLeak() const':

compiler/ProcFile.h:257:10: error: cannot convert 'const LeakFilePtr {aka const boost::shared_ptr<map::LeakFile>}' to 'bool' in return

return leakFile;

^

In file included from compiler/ProcCompiler.h:8:0,

from compiler/ProcCompiler.cpp:1:

compiler/LeakFile.h: In constructor 'map::LeakFile::LeakFile(const map::BspTree&)':

compiler/LeakFile.h:43:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

if (p->nodes->occupied && p->nodes->occupied < next)

^

In file included from compiler/ProcCompiler.h:9:0,

from compiler/ProcCompiler.cpp:1:

compiler/TriangleHash.h: In member function 'void map::TriangleHash::fixTriangleAgainstHash(const map::ProcTri&, map::ProcTris&)':

compiler/TriangleHash.h:294:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

for (std::size_t i = blocks[0][0]; i <= blocks[1][0]; ++i)

^

compiler/TriangleHash.h:296:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

for (std::size_t j = blocks[0][1]; j <= blocks[1][1]; ++j)

^

compiler/TriangleHash.h:298:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

for (std::size_t k = blocks[0][2]; k <= blocks[1][2]; ++k)

^

compiler/ProcCompiler.cpp: In member function 'bool map::{anonymous}::ToolPrimitiveGenerator::removeDuplicateBrushPlanes()':

compiler/ProcCompiler.cpp:370:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

if (_buildBrush.sides.planenum == -1)

^

compiler/ProcCompiler.cpp: In member function 'void map::{anonymous}::ToolDataGenerator::createMapLight(const Entity&)':

compiler/ProcCompiler.cpp:530:60: warning: value computed is not used [-Wunused-value]

light.parms.origin[0], light.parms.origin[1], light.parms.origin[2] );

^

compiler/ProcCompiler.cpp:530:60: warning: value computed is not used [-Wunused-value]

compiler/ProcCompiler.cpp: In member function 'void map::ProcCompiler::buildFaceTreeRecursively(const BspTreeNodePtr&, map::ProcCompiler::BspFaces&, map::BspTree&)':

compiler/ProcCompiler.cpp:771:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

if ((*split)->planenum == node->planenum)

^

compiler/ProcCompiler.cpp: In member function 'void map::ProcCompiler::floodAreasRecursively(const BspTreeNodePtr&)':

compiler/ProcCompiler.cpp:2012:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

if (node->area != -1)

^

compiler/ProcCompiler.cpp: In member function 'void map::ProcCompiler::findAreasRecursively(const BspTreeNodePtr&)':

compiler/ProcCompiler.cpp:2060:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

if (node->area != -1)

^

compiler/ProcCompiler.cpp: In member function 'std::size_t map::ProcCompiler::checkWindingInAreasRecursively(const map::ProcWinding&, const BspTreeNodePtr&)':

compiler/ProcCompiler.cpp:2339:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

if (a1 == -1)

^

compiler/ProcCompiler.cpp:2344:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

if (a2 == -1)

^

compiler/ProcCompiler.cpp: In member function 'bool map::ProcCompiler::clipTriangleToLight(const Vector3&, const Vector3&, const Vector3&, int, const Plane3*)':

compiler/ProcCompiler.cpp:3853:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

for (std::size_t i = 0; i < ct.numVerts; ++i)

^

compiler/ProcCompiler.cpp: In member function 'void map::ProcCompiler::addSilEdges(const map::Surface&, short unsigned int*, const Plane3*, int*, unsigned char*)':

compiler/ProcCompiler.cpp:4031:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

if (sil.p1 < 0 || sil.p1 > numPlanes || sil.p2 < 0 || sil.p2 > numPlanes)

^

compiler/ProcCompiler.cpp:4031:72: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

if (sil.p1 < 0 || sil.p1 > numPlanes || sil.p2 < 0 || sil.p2 > numPlanes)

^

compiler/ProcCompiler.cpp: In member function 'map::Surface map::ProcCompiler::createShadowVolume(const Matrix4&, const map::Surface&, const map::ProcLight&, map::ProcCompiler::ShadowGenType, map::Surface::CullInfo&)':

compiler/ProcCompiler.cpp:4533:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

for (j = 0; j < frust.numPlanes; ++j)

^

compiler/ProcCompiler.cpp:4547:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

if (j != frust.numPlanes)

^

make[3]: *** [compiler/ProcCompiler.lo] Error 1

make[3]: Leaving directory `/homehd/kevin/dr/DarkRadiant/plugins/mapdoom3'

make[2]: *** [all-recursive] Error 1

make[2]: Leaving directory `/homehd/kevin/dr/DarkRadiant/plugins'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/homehd/kevin/dr/DarkRadiant'

make: *** [all] Error 2

--- War does not decide who is right, war decides who is left.

Link to comment
Share on other sites

  • 2 weeks later...

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

    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 2 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 5 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
×
×
  • Create New...