Open
Description
I am getting build errors when I try to include the ppconsul using CPM module:
CPMAddPackage("gh:oliora/ppconsul@0.2.3")
Undefined symbols for architecture x86_64:
"ppconsul::makeDefaultHttpClientFactory()", referenced from:
ppconsul::Consul::Consul<void>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>) in emitter.cpp.o
"ppconsul::Consul::Consul(std::__1::function<std::__1::unique_ptr<ppconsul::http::HttpClient, std::__1::default_delete<ppconsul::http::HttpClient>> (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, ppconsul::http::TlsConfig const&, std::__1::function<bool ()>)>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ppconsul::http::TlsConfig, bool)", referenced from:
ppconsul::Consul::Consul<void>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>) in emitter.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
linking with "ppconsul" in the target_link_libraries
Metadata
Metadata
Assignees
Labels
No labels