We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the default options for websocketpp (asio == boost) there is a linker error that boost random lib cannot be found.
by extending the code in test_package to also create a client will result in linker errors.
#include <websocketpp/server.hpp> #include <websocketpp/config/asio_no_tls.hpp> #include <websocketpp/config/asio_client.hpp> #include <websocketpp/client.hpp> int main() { websocketpp::server<websocketpp::config::asio> server; websocketpp::client<websocketpp::config::asio_tls_client> client; }
Fixing the problem just requires appending "boost::random" in package_info
error LNK2019: unresolved external symbol "public: __cdecl boost::random::random_device::random_device(void)" (??0random_device@random@boost@@QEAA@XZ) referenced in function "public: __cdecl websocketpp::random::random_device::int_generator<unsigned int,class websocketpp::concurrency::basic>::int_generator<unsigned int,class websocketpp::concurrency::basic>(void)" (??0?$int_generator@IVbasic@concurrency@websocketpp@@@random_device@random@websocketpp@@QEAA@XZ) error LNK2019: unresolved external symbol "public: __cdecl boost::random::random_device::~random_device(void)" (??1random_device@random@boost@@QEAA@XZ) referenced in function "int `public: __cdecl websocketpp::random::random_device::int_generator<unsigned int,class websocketpp::concurrency::basic>::int_generator<unsigned int,class websocketpp::concurrency::basic>(void)'::`1'::dtor$0" (?dtor$0@?0???0?$int_generator@IVbasic@concurrency@websocketpp@@@random_device@random@websocketpp@@QEAA@XZ@4HA)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description
Using the default options for websocketpp (asio == boost) there is a linker error that boost random lib cannot be found.
by extending the code in test_package to also create a client will result in linker errors.
Fixing the problem just requires appending "boost::random" in package_info
Package and Environment Details
Conan profile
Steps to reproduce
Logs
Click to expand log
The text was updated successfully, but these errors were encountered: