Title: Build error of release 3.1.0 using CMake and MinGW 11.2 · Issue #430 · socketio/socket.io-client-cpp · GitHub
Open Graph Title: Build error of release 3.1.0 using CMake and MinGW 11.2 · Issue #430 · socketio/socket.io-client-cpp
X Title: Build error of release 3.1.0 using CMake and MinGW 11.2 · Issue #430 · socketio/socket.io-client-cpp
Description: Configuration requires to add the OpenSSL path to the Path variable: Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found version "1.1.1q") I ...
Open Graph Description: Configuration requires to add the OpenSSL path to the Path variable: Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRY...
X Description: Configuration requires to add the OpenSSL path to the Path variable: Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRY...
Opengraph URL: https://github.com/socketio/socket.io-client-cpp/issues/430
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build error of release 3.1.0 using CMake and MinGW 11.2","articleBody":"Configuration requires to add the OpenSSL path to the Path variable:\r\n\r\n\u003e Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found version \"1.1.1q\")\r\n\r\nI added it. Configuration works without problems:\r\n\r\n\u003e cmake -G \"MinGW Makefiles\" --fresh -S . -B dist -DCMAKE_INSTALL_PREFIX=E:/libs/socket.io-client-cpp-3.1.0-prefix\r\n\r\n```\r\nCMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):\r\n Compatibility with CMake \u003c 3.5 will be removed from a future version of\r\n CMake.\r\n\r\n Update the VERSION argument \u003cmin\u003e value or use a ...\u003cmax\u003e suffix to tell\r\n CMake that the project does not need compatibility with older versions.\r\n\r\n\r\n-- The C compiler identification is GNU 11.2.0\r\n-- The CXX compiler identification is GNU 11.2.0\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Check for working C compiler: C:/Qt/Tools/mingw1120_64/bin/gcc.exe - skipped\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Check for working CXX compiler: C:/Qt/Tools/mingw1120_64/bin/c++.exe - skipped\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\n-- not define build type, set to release\r\n-- Found OpenSSL: C:/Qt/Tools/OpenSSL-1.1.1j/Win_x64/bin/ssl_1.1/x86_64/libcrypto.a (found version \"1.1.1u\")\r\n-- Configuring done (3.6s)\r\n-- Generating done (0.1s)\r\n-- Build files have been written to: E:/libs/socket.io-client-cpp-3.1.0/dist\r\n```\r\n\r\nBut when I try to build I have errors:\r\n\r\n\u003e cmake --build dist -j4\r\n\r\n```\r\n[ 10%] Building CXX object CMakeFiles/sioclient_tls.dir/src/sio_client.cpp.obj\r\n[ 20%] Building CXX object CMakeFiles/sioclient.dir/src/sio_client.cpp.obj\r\n[ 30%] Building CXX object CMakeFiles/sioclient.dir/src/sio_socket.cpp.obj\r\n[ 40%] Building CXX object CMakeFiles/sioclient_tls.dir/src/sio_socket.cpp.obj\r\nIn file included from In file included from ent-cpp-3.1.0\\src\\sio_client.cpp:8 : sio_client_impl.h:14:10: 14 | #include websocketpp/client.hpp: No such file or directory\r\n 14 | #include |\r\n | ^~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nccoommppiillaattiioonn tteerrmmiinnaatteedd..\r\n\r\nmingw32-make.exe[2]: *** [CMakeFiles\\sioclient.dir\\build.make:76: CMakeFiles/sioclient.dir/src/sio_client.cpp.obj] Error 1\r\nmingw32-make.exe[2]: *** Waiting for unfinished jobs....\r\nmingw32-make.exe[2]: *** [CMakeFiles\\sioclient_tls.dir\\build.make:76: CMakeFiles/sioclient_tls.dir/src/sio_client.cpp.obj] Error 1\r\nmingw32-make.exe[2]: *** Waiting for unfinished jobs....\r\n[ 50%] Building CXX object CMakeFiles/sioclient_tls.dir/src/internal/sio_client_impl.cpp.obj\r\nIn file included from E:\\libs\\socket.io-client-cpp-3.1.0\\src\\internal\\sio_client_impl.cpp:9:\r\nE:\\libs\\socket.io-client-cpp-3.1.0\\src\\internal\\sio_client_impl.h:14:10: fatal error: websocketpp/client.hpp: No such file or directory\r\n 14 | #include \u003cwebsocketpp/client.hpp\u003e\r\n | ^~~~~~~~~~~~~~~~~~~~~~~~\r\ncompilation terminated.\r\nmingw32-make.exe[2]: *** [CMakeFiles\\sioclient_tls.dir\\build.make:106: CMakeFiles/sioclient_tls.dir/src/internal/sio_client_impl.cpp.obj] Error 1\r\nIn file included from In file included from ent-cpp-3.1.0\\src\\sio_socket.cpp:3 :\r\nE:\\libs\\socket.io-client-cpp-3.1.0\\src\\internal/sio_client_impl.h:14:10:E:\\libs\\socket.io-client-cpp-3.1.0\\src\\internal/sio_client_impl.h:14:10: fatal error: fatal error: websocketpp/client.hpp: No such file or directory\r\n 14 | #include websocketpp/client.hpp: No such file or directory\r\n 14 | #include | ^~~~~~~~~~~~~~~~~~~~~~~~\r\ncom lat\r\n | ion t inat^~~~~~~~~~~~~~~~~~~~~~~~e .\r\n\r\ncompilation terminated.\r\nmingw32-make.exe[2]: *** [CMakeFiles\\sioclient_tls.dir\\build.make:91: CMakeFiles/sioclient_tls.dir/src/sio_socket.cpp.obj] Error 1\r\nmingw32-make.exe[2]: *** [CMakeFiles\\sioclient.dir\\build.make:91: CMakeFiles/sioclient.dir/src/sio_socket.cpp.obj] Error 1\r\nmingw32-make.exe[1]: *** [CMakeFiles\\Makefile2:110: CMakeFiles/sioclient_tls.dir/all] Error 2\r\nmingw32-make.exe[1]: *** Waiting for unfinished jobs....\r\nmingw32-make.exe[1]: *** [CMakeFiles\\Makefile2:84: CMakeFiles/sioclient.dir/all] Error 2\r\nmingw32-make.exe: *** [Makefile:135: all] Error 2\r\n```","author":{"url":"https://github.com/8Observer8","@type":"Person","name":"8Observer8"},"datePublished":"2024-09-15T18:24:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/430/socket.io-client-cpp/issues/430"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:032ff5ee-27e7-3b1f-3ab6-50bf89025795 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A98A:3C885E:4E086F7:6AE43FD:698CC4E3 |
| html-safe-nonce | 24c21e8b0a61fda1ecc8c4eb06e69b1a1a12adbd9fb5c5e102cd970ee4400125 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOThBOjNDODg1RTo0RTA4NkY3OjZBRTQzRkQ6Njk4Q0M0RTMiLCJ2aXNpdG9yX2lkIjoiNzE4MzEwNTEyMzgxOTUwNDg2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 033a762e066677d0b7710ef1f65b89cff17534fa4d3f561bb526e2f688aa5aac |
| hovercard-subject-tag | issue:2527098710 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/socketio/socket.io-client-cpp/430/issue_layout |
| twitter:image | https://opengraph.githubassets.com/216dbe782f0935c99dd07838df764e07e9d6e741c014061875909f1f514bdc6f/socketio/socket.io-client-cpp/issues/430 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/216dbe782f0935c99dd07838df764e07e9d6e741c014061875909f1f514bdc6f/socketio/socket.io-client-cpp/issues/430 |
| og:image:alt | Configuration requires to add the OpenSSL path to the Path variable: Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRY... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | 8Observer8 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/socketio/socket.io-client-cpp git https://github.com/socketio/socket.io-client-cpp.git |
| octolytics-dimension-user_id | 10566080 |
| octolytics-dimension-user_login | socketio |
| octolytics-dimension-repository_id | 33086039 |
| octolytics-dimension-repository_nwo | socketio/socket.io-client-cpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33086039 |
| octolytics-dimension-repository_network_root_nwo | socketio/socket.io-client-cpp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width