Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Ubunutu 64bit #565

    Sorry I didn't get back sooner.  I've been able to play using the precompiled version.  I was just trying to compile myself.  Come to find out, my machine was in need of updating so I haven't had a chance to try recompiling yet.

    in reply to: Ubunutu 64bit #562

    Don't know if it helps or not, but Debian 64-bit:
    on master – commit 69f4523b6bbf7a0fedb899e510fb57d4a488ad66

    Code:
    /keeperrl$ make -j 8 # for slow & debug mode
    g++ -MMD -Werror -Wall -std=c++0x -Wno-sign-compare -Wno-unused-variable -Wl,-rpath=. -I. -I./extern -static-libstdc++ -g -c square_factory.cpp -o obj/square_factory.o
    g++ -MMD -Werror -Wall -std=c++0x -Wno-sign-compare -Wno-unused-variable -Wl,-rpath=. -I. -I./extern -static-libstdc++ -g -c creature_factory.cpp -o obj/creature_factory.o
    g++ -MMD -Werror -Wall -std=c++0x -Wno-sign-compare -Wno-unused-variable -Wl,-rpath=. -I. -I./extern -static-libstdc++ -g -c level_maker.cpp -o obj/level_maker.o
    g++ -MMD -Werror -Wall -std=c++0x -Wno-sign-compare -Wno-unused-variable -Wl,-rpath=. -I. -I./extern -static-libstdc++ -g -c trigger.cpp -o obj/trigger.o
    g++ -MMD -Werror -Wall -std=c++0x -Wno-sign-compare -Wno-unused-variable -Wl,-rpath=. -I. -I./extern -static-libstdc++ -g -c map_memory.cpp -o obj/map_memory.o
    g++ -MMD -Werror -Wall -std=c++0x -Wno-sign-compare -Wno-unused-variable -Wl,-rpath=. -I. -I./extern -static-libstdc++ -g -c view_index.cpp -o obj/view_index.o
    g++ -MMD -Werror -Wall -std=c++0x -Wno-sign-compare -Wno-unused-variable -Wl,-rpath=. -I. -I./extern -static-libstdc++ -g -c pantheon.cpp -o obj/pantheon.o
    g++ -MMD -Werror -Wall -std=c++0x -Wno-sign-compare -Wno-unused-variable -Wl,-rpath=. -I. -I./extern -static-libstdc++ -g -c enemy_check.cpp -o obj/enemy_check.o
    level_maker.cpp:40:26: error: ‘AttribPredicate::AttribPredicate’ names constructor
    square_factory.cpp:545:17: error: ‘Square::Square’ names constructor
    square_factory.cpp:712:24: error: ‘TrainingDummy::TrainingDummy’ names constructor
    square_factory.cpp:727:20: error: ‘Furniture::Furniture’ names constructor
    square_factory.cpp:772:19: error: ‘Workshop::Workshop’ names constructor
    square_factory.cpp: In static member function ‘static Square* SquareFactory::getPtr(SquareType)’:
    square_factory.cpp:924:51: error: no matching function for call to ‘DestroyableSquare::DestroyableSquare(ViewObject, const char [6], Vision*)’
    square_factory.cpp:924:51: note: candidates are:
    square_factory.cpp:543:7: note: DestroyableSquare::DestroyableSquare()
    square_factory.cpp:543:7: note:  candidate expects 0 arguments, 3 provided
    square_factory.cpp:543:7: note: DestroyableSquare::DestroyableSquare(const DestroyableSquare&)
    square_factory.cpp:543:7: note:  candidate expects 1 argument, 3 provided
    square_factory.cpp:927:51: error: no matching function for call to ‘DestroyableSquare::DestroyableSquare(ViewObject, const char [6], Vision*)’
    square_factory.cpp:927:51: note: candidates are:
    square_factory.cpp:543:7: note: DestroyableSquare::DestroyableSquare()
    square_factory.cpp:543:7: note:  candidate expects 0 arguments, 3 provided
    square_factory.cpp:543:7: note: DestroyableSquare::DestroyableSquare(const DestroyableSquare&)
    square_factory.cpp:543:7: note:  candidate expects 1 argument, 3 provided
    square_factory.cpp:948:25: error: no matching function for call to ‘Library::Library(ViewObject, const char [11])’
    square_factory.cpp:948:25: note: candidates are:
    square_factory.cpp:722:3: note: Library::Library()
    square_factory.cpp:722:3: note:  candidate expects 0 arguments, 2 provided
    square_factory.cpp:710:7: note: Library::Library(const Library&)
    square_factory.cpp:710:7: note:  candidate expects 1 argument, 2 provided
    square_factory.cpp:950:49: error: no matching function for call to ‘Laboratory::Laboratory(ViewObject, const char [9], int)’
    square_factory.cpp:950:49: note: candidates are:
    square_factory.cpp:770:7: note: Laboratory::Laboratory()
    square_factory.cpp:770:7: note:  candidate expects 0 arguments, 3 provided
    square_factory.cpp:770:7: note: Laboratory::Laboratory(const Laboratory&)
    square_factory.cpp:770:7: note:  candidate expects 1 argument, 3 provided
    square_factory.cpp:953:32: error: no matching function for call to ‘Workshop::Workshop(ViewObject, const char [15], int)’
    square_factory.cpp:953:32: note: candidates are:
    square_factory.cpp:725:7: note: Workshop::Workshop()
    square_factory.cpp:725:7: note:  candidate expects 0 arguments, 3 provided
    square_factory.cpp:725:7: note: Workshop::Workshop(const Workshop&)
    square_factory.cpp:725:7: note:  candidate expects 1 argument, 3 provided
    creature_factory.cpp:626:18: error: ‘Monster::Monster’ names constructor
    level_maker.cpp: In function ‘SquarePredicate* getSettlementPredicate(SettlementType)’:
    level_maker.cpp:1783:57: error: no matching function for call to ‘NoAttribPredicate::NoAttribPredicate(SquareAttrib)’
    level_maker.cpp:1783:57: note: candidates are:
    level_maker.cpp:39:7: note: constexpr NoAttribPredicate::NoAttribPredicate(const NoAttribPredicate&)
    level_maker.cpp:39:7: note:  no known conversion for argument 1 from ‘SquareAttrib’ to ‘const NoAttribPredicate&’
    level_maker.cpp:39:7: note: constexpr NoAttribPredicate::NoAttribPredicate(NoAttribPredicate&&)
    level_maker.cpp:39:7: note:  no known conversion for argument 1 from ‘SquareAttrib’ to ‘NoAttribPredicate&&’
    level_maker.cpp: In static member function ‘static LevelMaker* LevelMaker::topLevel(CreatureFactory, std::vector)’:
    level_maker.cpp:1850:50: error: no matching function for call to ‘NoAttribPredicate::NoAttribPredicate(SquareAttrib)’
    level_maker.cpp:1850:50: note: candidates are:
    level_maker.cpp:39:7: note: constexpr NoAttribPredicate::NoAttribPredicate(const NoAttribPredicate&)
    level_maker.cpp:39:7: note:  no known conversion for argument 1 from ‘SquareAttrib’ to ‘const NoAttribPredicate&’
    level_maker.cpp:39:7: note: constexpr NoAttribPredicate::NoAttribPredicate(NoAttribPredicate&&)
    level_maker.cpp:39:7: note:  no known conversion for argument 1 from ‘SquareAttrib’ to ‘NoAttribPredicate&&’
    creature_factory.cpp: In lambda function:
    creature_factory.cpp:1881:60: error: no matching function for call to ‘GreenDragonController::GreenDragonController(Creature*&, const MonsterAIFactory&)’
    creature_factory.cpp:1881:60: note: candidate is:
    creature_factory.cpp:624:7: note: GreenDragonController::GreenDragonController()
    creature_factory.cpp:624:7: note:  candidate expects 0 arguments, 2 provided
    creature_factory.cpp:1882:11: error: return-statement with a value, in function returning 'void' [-fpermissive]
    In file included from /usr/include/c++/4.7/bits/stl_algo.h:68:0,
                    from /usr/include/c++/4.7/algorithm:63,
                    from stdafx.h:21:
    /usr/include/c++/4.7/functional: In instantiation of ‘static _Res std::_Function_handler::_M_invoke(const std::_Any_data&, _ArgTypes …) [with _Res = Controller*; _Functor = getController(CreatureId, MonsterAIFactory)::; _ArgTypes = {Creature*}]’:
    /usr/include/c++/4.7/functional:2298:6:  required from ‘std::function::function(_Functor, typename std::enable_if<(! std::is_integral::value), std::function::_Useless>::type) [with _Functor = getController(CreatureId, MonsterAIFactory)::; _Res = Controller*; _ArgTypes = {Creature*}; typename std::enable_if<(! std::is_integral::value), std::function::_Useless>::type = std::function::_Useless]’
    creature_factory.cpp:1882:12:  required from here
    /usr/include/c++/4.7/functional:1912:40: error: void value not ignored as it ought to be
    g++ -MMD -Werror -Wall -std=c++0x -Wno-sign-compare -Wno-unused-variable -Wl,-rpath=. -I. -I./extern -static-libstdc++ -g -c collective.cpp -o obj/collective.o
    g++ -MMD -Werror -Wall -std=c++0x -Wno-sign-compare -Wno-unused-variable -Wl,-rpath=. -I. -I./extern -static-libstdc++ -g -c task.cpp -o obj/task.o
    make: *** [obj/level_maker.o] Error 1
    make: *** Waiting for unfinished jobs….
    collective.cpp: In lambda function:
    collective.cpp:1092:55: error: passing ‘const Collective’ as ‘this’ argument of ‘void Collective::handleHumanoidBreeding(View*)’ discards qualifiers [-fpermissive]
    collective.cpp: In lambda function:
    collective.cpp:1094:50: error: passing ‘const Collective’ as ‘this’ argument of ‘void Collective::handleBeastTaming(View*)’ discards qualifiers [-fpermissive]
    collective.cpp: In lambda function:
    collective.cpp:1097:54: error: passing ‘const Collective’ as ‘this’ argument of ‘void Collective::handleMatterAnimation(View*)’ discards qualifiers [-fpermissive]
    collective.cpp: In lambda function:
    collective.cpp:1100:49: error: passing ‘const Collective’ as ‘this’ argument of ‘void Collective::handleNecromancy(View*, int, bool)’ discards qualifiers [-fpermissive]
    collective.cpp: In lambda function:
    collective.cpp:1101:90: error: passing ‘const Collective’ as ‘this’ argument of ‘void Collective::handlePersonalSpells(View*)’ discards qualifiers [-fpermissive]
    collective.cpp: In lambda function:
    collective.cpp:1104:46: error: passing ‘const Collective’ as ‘this’ argument of ‘void Collective::handleLibrary(View*)’ discards qualifiers [-fpermissive]
    collective.cpp: In lambda function:
    collective.cpp:1106:45: error: passing ‘const Collective’ as ‘this’ argument of ‘void Collective::handleMarket(View*, int)’ discards qualifiers [-fpermissive]
    make: *** [obj/square_factory.o] Error 1
    make: *** [obj/creature_factory.o] Error 1
    make: *** [obj/collective.o] Error 1
    Code:
    build-essential:amd64/testing 11.6 uptodate
    freeglut3-dev:amd64/testing 2.8.1-1 uptodate
    libboost-dev:amd64/testing 1.54.0.1 uptodate
    libboost-serialization-dev:amd64/testing 1.54.0.1 uptodate
    libglew-dev:amd64/testing 1.10.0-3 uptodate
    libsfml-dev:amd64/testing 2.1+dfsg-5+b1 uptodate
Viewing 2 posts - 1 through 2 (of 2 total)