facebook / facebook/proxygen

Error linking with folly when building Proxygen on Mac OS

オープン
#537 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
build mac
主要言語
C++
スター
8.4k
フォーク
1.5k
平均マージ
10分
マージ済み PR(30日)
2

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。