facebook / facebook/proxygen

Error linking with folly when building Proxygen on Mac OS

Offen
#537 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
build mac
Vorherrschende Sprache
C++
Sterne
8.4k
Forks
1.5k
Ø Merge
10 Min.
Gemergte PRs (30 T.)
2

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.