Postado Julho 5, 2018 7 anos Boa Tarde galerinha do tk Bem eu estava com uma vps quem tinha instalado o debian-8.7-x86_64 agora estou ne uma com o Debian 8 que é a 8.11 estava tentando compilar da mesma forma que compilo no 4youstart make clean make mas esta aparecendo esses erros e nao compila alguem pode me ajudar?? /usr/include/boost/bind/mem_fn_template.hpp:723:73: note: candidates are: In file included from /usr/include/boost/function/function_base.hpp:29:0, from /usr/include/boost/function/detail/prologue.hpp:17, from /usr/include/boost/function.hpp:24, from otpch.h:35, from protocolgame.cpp:17: /usr/include/boost/ref.hpp:182:29: note: template<class T> T* boost::get_pointer(const boost::reference_wrapper<T>&) /usr/include/boost/ref.hpp:182:29: note: template argument deduction/substitution failed: In file included from /usr/include/boost/bind/mem_fn.hpp:215:0, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/function/detail/prologue.hpp:18, from /usr/include/boost/function.hpp:24, from otpch.h:35, from protocolgame.cpp:17: /usr/include/boost/bind/mem_fn_template.hpp:723:73: note: ‘std::shared_ptr<ProtocolGame>’ is not derived from ‘const boost::reference_wrapper<T>’ In file included from /usr/include/boost/bind/mem_fn.hpp:25:0, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/function/detail/prologue.hpp:18, from /usr/include/boost/function.hpp:24, from otpch.h:35, from protocolgame.cpp:17: /usr/include/boost/get_pointer.hpp:18:23: note: template<class T> T* boost::get_pointer(T*) /usr/include/boost/get_pointer.hpp:18:23: note: template argument deduction/substitution failed: In file included from /usr/include/boost/bind/mem_fn.hpp:215:0, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/function/detail/prologue.hpp:18, from /usr/include/boost/function.hpp:24, from otpch.h:35, from protocolgame.cpp:17: /usr/include/boost/bind/mem_fn_template.hpp:723:73: note: mismatched types ‘T*’ and ‘std::shared_ptr<ProtocolGame>’ In file included from /usr/include/boost/bind/mem_fn.hpp:25:0, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/function/detail/prologue.hpp:18, from /usr/include/boost/function.hpp:24, from otpch.h:35, from protocolgame.cpp:17: /usr/include/boost/get_pointer.hpp:25:23: note: template<class T> T* boost::get_pointer(const std::auto_ptr<T>&) /usr/include/boost/get_pointer.hpp:25:23: note: template argument deduction/substitution failed: In file included from /usr/include/boost/bind/mem_fn.hpp:215:0, from /usr/include/boost/mem_fn.hpp:22, from /usr/include/boost/function/detail/prologue.hpp:18, from /usr/include/boost/function.hpp:24, from otpch.h:35, from protocolgame.cpp:17: /usr/include/boost/bind/mem_fn_template.hpp:723:73: note: ‘std::shared_ptr<ProtocolGame>’ is not derived from ‘const std::auto_ptr<T>’ make: *** [obj/protocolgame.o] Error 1
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.