Closed tonyGit1 closed 10 years ago
make all-recursive make[1]: Entering directory /home/maison/calaos_base' Making all in src make[2]: Entering directory/home/maison/calaos_base/src' Making all in lib make[3]: Entering directory /home/maison/calaos_base/src/lib' make[3]: Nothing to be done forall'. make[3]: Leaving directory /home/maison/calaos_base/src/lib' Making all in bin make[3]: Entering directory/home/maison/calaos_base/src/bin' Making all in calaos_server make[4]: Entering directory /home/maison/calaos_base/src/bin/calaos_server' CXX main.o CXX IO/InputTime.o IO/InputTime.cpp:29:1: error: call of overloaded ‘Registrar(const char [10], <lambda(Params&)>)’ is ambiguous IO/InputTime.cpp:29:1: note: candidates are: In file included from ./ListeRoom.h:39:0, from ./ListeRule.h:31, from IO/InputTime.cpp:23: ./IO/IOFactory.h:39:5: note: Calaos::Registrar::Registrar(std::string,std::function<Calaos::IPCam*(Params&)>) ./IO/IOFactory.h:38:5: note: Calaos::Registrar::Registrar(std::string,std::function<Calaos::AudioPlayer(Params&)>) ./IO/IOFactory.h:37:5: note: Calaos::Registrar::Registrar(std::string,std::function<Calaos::Output*(Params&)>) ./IO/IOFactory.h:36:5: note: Calaos::Registrar::Registrar(std::string, std::function<Calaos::Input*(Params&)>) make[4]: *** [IO/InputTime.o] Error 1 make[4]: Leaving directory/home/maison/calaos_base/src/bin/calaos_server' make[3]: * [all-recursive] Error 1 make[3]: Leaving directory /home/maison/calaos_base/src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory/home/maison/calaos_base/src' make[1]: *\ [all-recursive] Error 1 make[1]: Leaving directory `/home/maison/calaos_base' make: * [all] Error 2
/home/maison/calaos_base' Making all in src make[2]: Entering directory
/home/maison/calaos_base/src/lib' make[3]: Nothing to be done for
/home/maison/calaos_base/src/lib' Making all in bin make[3]: Entering directory
/home/maison/calaos_base/src/bin/calaos_server' CXX main.o CXX IO/InputTime.o IO/InputTime.cpp:29:1: error: call of overloaded ‘Registrar(const char [10], <lambda(Params&)>)’ is ambiguous IO/InputTime.cpp:29:1: note: candidates are: In file included from ./ListeRoom.h:39:0, from ./ListeRule.h:31, from IO/InputTime.cpp:23: ./IO/IOFactory.h:39:5: note: Calaos::Registrar::Registrar(std::string,std::function<Calaos::IPCam*(Params&)>) ./IO/IOFactory.h:38:5: note: Calaos::Registrar::Registrar(std::string,std::function<Calaos::AudioPlayer(Params&)>) ./IO/IOFactory.h:37:5: note: Calaos::Registrar::Registrar(std::string,std::function<Calaos::Output*(Params&)>) ./IO/IOFactory.h:36:5: note: Calaos::Registrar::Registrar(std::string, std::function<Calaos::Input*(Params&)>) make[4]: *** [IO/InputTime.o] Error 1 make[4]: Leaving directory
/home/maison/calaos_base/src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory
You need at least gcc 4.8
make all-recursive make[1]: Entering directory
/home/maison/calaos_base' Making all in src make[2]: Entering directory
/home/maison/calaos_base/src' Making all in lib make[3]: Entering directory/home/maison/calaos_base/src/lib' make[3]: Nothing to be done for
all'. make[3]: Leaving directory/home/maison/calaos_base/src/lib' Making all in bin make[3]: Entering directory
/home/maison/calaos_base/src/bin' Making all in calaos_server make[4]: Entering directory/home/maison/calaos_base/src/bin/calaos_server' CXX main.o CXX IO/InputTime.o IO/InputTime.cpp:29:1: error: call of overloaded ‘Registrar(const char [10], <lambda(Params&)>)’ is ambiguous IO/InputTime.cpp:29:1: note: candidates are: In file included from ./ListeRoom.h:39:0, from ./ListeRule.h:31, from IO/InputTime.cpp:23: ./IO/IOFactory.h:39:5: note: Calaos::Registrar::Registrar(std::string,std::function<Calaos::IPCam*(Params&)>) ./IO/IOFactory.h:38:5: note: Calaos::Registrar::Registrar(std::string,std::function<Calaos::AudioPlayer(Params&)>) ./IO/IOFactory.h:37:5: note: Calaos::Registrar::Registrar(std::string,std::function<Calaos::Output*(Params&)>) ./IO/IOFactory.h:36:5: note: Calaos::Registrar::Registrar(std::string, std::function<Calaos::Input*(Params&)>) make[4]: *** [IO/InputTime.o] Error 1 make[4]: Leaving directory
/home/maison/calaos_base/src/bin/calaos_server' make[3]: * [all-recursive] Error 1 make[3]: Leaving directory/home/maison/calaos_base/src/bin' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory
/home/maison/calaos_base/src' make[1]: *\ [all-recursive] Error 1 make[1]: Leaving directory `/home/maison/calaos_base' make: * [all] Error 2