Title: Compilation failed in mingw 8.1 · Issue #123 · cpp-redis/cpp_redis · GitHub
Open Graph Title: Compilation failed in mingw 8.1 · Issue #123 · cpp-redis/cpp_redis
X Title: Compilation failed in mingw 8.1 · Issue #123 · cpp-redis/cpp_redis
Description: (base) PS E:\GitLab\cpp_redis> cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX="E:/GitLab/cpp_redis" . CMake Deprecation Warning at CMakeLists.txt:26 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a futu...
Open Graph Description: (base) PS E:\GitLab\cpp_redis> cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX="E:/GitLab/cpp_redis" . CMake Deprecation Warning at CMakeLists.txt:26 (cmake_minimum_required): Compatibility with ...
X Description: (base) PS E:\GitLab\cpp_redis> cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX="E:/GitLab/cpp_redis" . CMake Deprecation Warning at CMakeLists.txt:26 (cmake_minimum_require...
Opengraph URL: https://github.com/cpp-redis/cpp_redis/issues/123
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compilation failed in mingw 8.1","articleBody":"```\r\n(base) PS E:\\GitLab\\cpp_redis\u003e cmake -G \"MinGW Makefiles\" -DCMAKE_INSTALL_PREFIX=\"E:/GitLab/cpp_redis\" .\r\nCMake Deprecation Warning at CMakeLists.txt:26 (cmake_minimum_required):\r\n Compatibility with CMake \u003c 3.10 will be removed from a future version of\r\n CMake.\r\n\r\n Update the VERSION argument \u003cmin\u003e value. Or, use the \u003cmin\u003e...\u003cmax\u003e syntax\r\n to tell CMake that the project requires at least \u003cmin\u003e but has been updated\r\n to work with policies introduced by \u003cmax\u003e or earlier.\r\n\r\n\r\nCMake Deprecation Warning at tacopie/CMakeLists.txt:26 (cmake_minimum_required):\r\n Compatibility with CMake \u003c 3.10 will be removed from a future version of\r\n CMake.\r\n\r\n Update the VERSION argument \u003cmin\u003e value. Or, use the \u003cmin\u003e...\u003cmax\u003e syntax\r\n to tell CMake that the project requires at least \u003cmin\u003e but has been updated\r\n to work with policies introduced by \u003cmax\u003e or earlier.\r\n\r\n\r\n-- Configuring done (0.4s)\r\n-- Generating done (0.1s)\r\n-- Build files have been written to: E:/GitLab/cpp_redis\r\n(base) PS E:\\GitLab\\cpp_redis\u003e mingw32-make install\r\n[ 4%] Building CXX object tacopie/CMakeFiles/tacopie.dir/sources/network/io_service.cpp.obj\r\nIn file included from E:/GitLab/cpp_redis/tacopie/includes/tacopie/network/io_service.hpp:42,\r\n from E:\\GitLab\\cpp_redis\\tacopie\\sources\\network\\io_service.cpp:23:\r\nE:/GitLab/cpp_redis/tacopie/includes/tacopie/utils/thread_pool.hpp:134:18: error: 'thread' is not a member of 'std'\r\n std::list\u003cstd::thread\u003e m_workers;\r\n ^~~~~~\r\nE:/GitLab/cpp_redis/tacopie/includes/tacopie/utils/thread_pool.hpp:134:18: note: 'std::thread' is defined in header '\u003cthread\u003e'; did you forget to '#include \u003cthread\u003e'?\r\nE:/GitLab/cpp_redis/tacopie/includes/tacopie/utils/thread_pool.hpp:31:1:\r\n+#include \u003cthread\u003e\r\n #include \u003cthread\u003e\r\nE:/GitLab/cpp_redis/tacopie/includes/tacopie/utils/thread_pool.hpp:134:18:\r\n std::list\u003cstd::thread\u003e m_workers;\r\n ^~~~~~\r\nE:/GitLab/cpp_redis/tacopie/includes/tacopie/utils/thread_pool.hpp:134:18: error: 'thread' is not a member of 'std'\r\nE:/GitLab/cpp_redis/tacopie/includes/tacopie/utils/thread_pool.hpp:134:18: note: 'std::thread' is defined in header '\u003cthread\u003e'; did you forget to '#include \u003cthread\u003e'?\r\nE:/GitLab/cpp_redis/tacopie/includes/tacopie/utils/thread_pool.hpp:134:24: error: template argument 1 is invalid\r\n std::list\u003cstd::thread\u003e m_workers;\r\n ^\r\nE:/GitLab/cpp_redis/tacopie/includes/tacopie/utils/thread_pool.hpp:134:24: error: template argument 2 is invalid\r\nE:/GitLab/cpp_redis/tacopie/includes/tacopie/utils/thread_pool.hpp:159:8: error: 'mutex' in namespace 'std' does not name a type\r\n std::mutex m_tasks_mtx;\r\n ^~~~~\r\nE:/GitLab/cpp_redis/tacopie/includes/tacopie/utils/thread_pool.hpp:159:3: note: 'std::mutex' is defined in header '\u003cmutex\u003e'; did you forget to '#include \u003cmutex\u003e'?\r\nE:/GitLab/cpp_redis/tacopie/includes/tacopie/utils/thread_pool.hpp:31:1:\r\n+#include \u003cmutex\u003e\r\n #include \u003cthread\u003e\r\nE:/GitLab/cpp_redis/tacopie/includes/tacopie/utils/thread_pool.hpp:159:3:\r\n```","author":{"url":"https://github.com/homuraLan","@type":"Person","name":"homuraLan"},"datePublished":"2025-01-05T17:09:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/123/cpp_redis/issues/123"}
| 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:b1ee15b3-77b3-d10a-d2f3-e12cbedf25ed |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E9C4:1BD7A5:8D0178E:B6B6E0A:6975FD14 |
| html-safe-nonce | d579430c2e240bceed67c2648dccd6e0c133e995df9eda590a1327165b20b18d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUM0OjFCRDdBNTo4RDAxNzhFOkI2QjZFMEE6Njk3NUZEMTQiLCJ2aXNpdG9yX2lkIjoiNTI5NDUzNjM5Mzc3NzA4NTcxNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b3b906972ea0f9501671f06df0ca19211e0b991317cf4a498cd224c4d431ecd1 |
| hovercard-subject-tag | issue:2769366033 |
| 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/cpp-redis/cpp_redis/123/issue_layout |
| twitter:image | https://opengraph.githubassets.com/acf510d8f1046c35c03f83a0e8b4f3045377150c02554e20e93920c521504bf5/cpp-redis/cpp_redis/issues/123 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/acf510d8f1046c35c03f83a0e8b4f3045377150c02554e20e93920c521504bf5/cpp-redis/cpp_redis/issues/123 |
| og:image:alt | (base) PS E:\GitLab\cpp_redis> cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX="E:/GitLab/cpp_redis" . CMake Deprecation Warning at CMakeLists.txt:26 (cmake_minimum_required): Compatibility with ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | homuraLan |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6814b4cc7afd45cd6e64525d0cff0e76dd802f315a5b0e55a7abda1d1d070d0 |
| turbo-cache-control | no-preview |
| go-import | github.com/cpp-redis/cpp_redis git https://github.com/cpp-redis/cpp_redis.git |
| octolytics-dimension-user_id | 45303665 |
| octolytics-dimension-user_login | cpp-redis |
| octolytics-dimension-repository_id | 158901124 |
| octolytics-dimension-repository_nwo | cpp-redis/cpp_redis |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 38889153 |
| octolytics-dimension-repository_parent_nwo | Cylix/cpp_redis |
| octolytics-dimension-repository_network_root_id | 38889153 |
| octolytics-dimension-repository_network_root_nwo | Cylix/cpp_redis |
| 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 | 4ea235bfed58ef16c8a5642b3ac64b74f10c9f52 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width