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

    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
×
×
  • Create New...