-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
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
Error websocketpp boost_find_dependency while compiling #834
Comments
I am new to webscoketpp and i am getting error while building websocketpp. could you please help me in fixing the error: viswa@viswa-linux:~/Documents/boost/websocketpp$ cmake -DENABLE_CPP11=TRUE -DBUILD_EXAMPLES=TRUE -DBUILD_TESTS=TRUE -DBOOST_ROOT=/home/viswa/Documents/boost/boost_1_70_0
CMake Error at /usr/local/lib/cmake/Boost-1.70.0/BoostConfig.cmake:124 (boost_find_dependency): CMake Error at /usr/local/lib/cmake/Boost-1.70.0/BoostConfig.cmake:124 (boost_find_dependency): CMake Error at /usr/local/lib/cmake/Boost-1.70.0/BoostConfig.cmake:124 (boost_find_dependency): Boost 1.39.0 found. ** websocketpp ** test_transport_asio_timers ** test_transport_asio_security ** test_transport_iostream_base ** test_transport_iostream_endpoint ** test_transport_iostream_connection ** test_transport_asio_base ** test_http ** test_endpoint ** test_roles_client ** test_roles_server ** test_connection ** test_random_none ** test_random_random_device ** test_close ** test_error ** test_frame ** test_sha1 ** test_uri ** test_utilities ** test_processor ** test_processor_hybi00 ** test_processor_hybi07 ** test_processor_hybi08 ** test_processor_hybi13 ** test_processor_extension_permessage_compress ** test_extension ** test_logger ** test_message_alloc =========== Used Build Configuration ============= -- ENABLE_CPP11 = TRUE -- WEBSOCKETPP_ROOT = /home/viswa/Documents/boost/websocketpp -- WEBSOCKETPP_BOOST_LIBS = system;thread;random;unit_test_framework -- OPENSSL_FOUND = TRUE -- Configuring incomplete, errors occurred! |
Please help me in fixing the issue and the error. |
My suggestion would be to choose a Boost version below 1.70. I work with (a customized, older version of) this library, and Boost 1.70 causes problems. Boost 1.69 works fine for me. |
@viswakonda Is your problem has been solved after using 1.69 version? |
Change CMakeLists.txt
to:
|
This fixes "boost_find_component Macro invoked with incorrect arguments for macro" errors when examples or tests are enabled.
No description provided.
The text was updated successfully, but these errors were encountered: