Error linking with folly when building Proxygen on Mac OS
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<proxygen::HTTPServer::IPConfig, std::__1::allocatorproxygen::HTTPServer::IPConfig> const&)", referenced from: _main in EchoServer.cpp.o "proxygen::HTTPServer::start(std::__1::function<void ()>, std::__1::function<void (std::exception_ptr)>, std::__1::function<std::__1::shared_ptrwangle::AcceptorFactory (proxygen::HTTPServer::AcceptorFactoryConfig)>, std::__1::shared_ptrfolly::IOThreadPoolExecutorBase)", 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<folly::detail::exception_cleanup_(_Unwind_Reason_Code, _Unwind_Exception*)::$_1>(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.
Source: facebook/proxygen