facebook / facebook/proxygen

Error linking with folly when building Proxygen on Mac OS

Abierto
#537 6 comentarios 0 reacciones 0 asignados Ver en GitHub
build mac
Lenguaje dominante
C++
Estrellas
8.4k
Forks
1.5k
Merge medio
10 min
PR fusionados (30 d)
2

Descripción

Hi

Could someone please help me with the errors below. I'm trying build the EchoServer that comes as part of proxygen.
I have not installed proxygen from the source, but have used vcpkg to link the dependencies.

"EchoService::EchoHandler::EchoHandler(EchoService::EchoStats*)", referenced from:
EchoHandlerFactory::onRequest(proxygen::RequestHandler*, proxygen::HTTPMessage*) in EchoServer.cpp.o
"proxygen::HTTPServer::bind(std::__1::vector> const&)", referenced from:
_main in EchoServer.cpp.o
"proxygen::HTTPServer::start(std::__1::function, std::__1::function, std::__1::function (proxygen::HTTPServer::AcceptorFactoryConfig)>, std::__1::shared_ptr)", referenced from:
main::$_0::operator()() const in EchoServer.cpp.o
"proxygen::HTTPServer::HTTPServer(proxygen::HTTPServerOptions)", referenced from:
_main in EchoServer.cpp.o
"proxygen::HTTPServer::~HTTPServer()", referenced from:
_main in EchoServer.cpp.o
"___cxa_decrement_exception_refcount", referenced from:
folly::detail::exception_cleanup_(_Unwind_Reason_Code, _Unwind_Exception*) in libfolly.a(Exception.cpp.o)
"___cxa_increment_exception_refcount", referenced from:
folly::detail::exception_ptr_get_type_(std::exception_ptr const&) in libfolly.a(Exception.cpp.o)
folly::detail::exception_ptr_get_object_(std::exception_ptr const&, std::type_info const*) in libfolly.a(Exception.cpp.o)
folly::detail::make_exception_ptr_with_(folly::detail::make_exception_ptr_with_arg_ const&, void*) in libfolly.a(Exception.cpp.o)
decltype(auto) folly::detail::cxxabi_with_cxa_exception(void*, folly::detail::exception_cleanup_(_Unwind_Reason_Code, _Unwind_Exception*)::$_1) in libfolly.a(Exception.cpp.o)
ld: symbol(s) not found for architecture x86_64

I'm using Mac OS 13.7.1 (22H221)

Thanks.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.