Title: Boost_1_87 issues - io_service.hpp is deprecated · Issue #907 · cpp-netlib/cpp-netlib · GitHub
Open Graph Title: Boost_1_87 issues - io_service.hpp is deprecated · Issue #907 · cpp-netlib/cpp-netlib
X Title: Boost_1_87 issues - io_service.hpp is deprecated · Issue #907 · cpp-netlib/cpp-netlib
Description: It looks like io_service.hpp is replaced by io_context.hpp in the latest Boost versions, I got the following errors when building the newest cpp-netlib in Windows environment with Boost_1_87_0: "C:\Users\andy9\BlkDev\cpp-netlib-build\CPP...
Open Graph Description: It looks like io_service.hpp is replaced by io_context.hpp in the latest Boost versions, I got the following errors when building the newest cpp-netlib in Windows environment with Boost_1_87_0: "C:...
X Description: It looks like io_service.hpp is replaced by io_context.hpp in the latest Boost versions, I got the following errors when building the newest cpp-netlib in Windows environment with Boost_1_87_0: &qu...
Opengraph URL: https://github.com/cpp-netlib/cpp-netlib/issues/907
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Boost_1_87 issues - io_service.hpp is deprecated","articleBody":"It looks like io_service.hpp is replaced by io_context.hpp in the latest Boost versions, I got the following errors when building the newest cpp-netlib in Windows environment with Boost_1_87_0:\n\n```\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\CPP-NETLIB.sln\" (Build target) (1) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\ALL_BUILD.vcxproj.metaproj\" (default target) (2) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\example\\atom_reader.vcxproj.metaproj\" (default target) (4) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\src\\cppnetlib-client-connections.vcxproj.metaproj\" (default target) (5) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\src\\cppnetlib-client-connections.vcxproj\" (default target) (6) -\u003e\n(ClCompile target) -\u003e\n C:\\Users\\andy9\\BlkDev\\cpp-netlib\\boost\\network\\protocol\\http\\client\\connection\\normal_delegate.hpp(13,10): error C1083: Cannot open include file: 'boost/\nasio/io_service.hpp': No such file or directory [C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\src\\cppnetlib-client-connections.vcxproj]\n\n\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\CPP-NETLIB.sln\" (Build target) (1) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\ALL_BUILD.vcxproj.metaproj\" (default target) (2) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\test\\http\\cpp-netlib-http-server_async_run_stop_concurrency.vcxproj.metaproj\" (default target) (28) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\test\\http\\cpp-netlib-http-server_async_run_stop_concurrency.vcxproj\" (default target) (31) -\u003e\n C:\\Users\\andy9\\BlkDev\\cpp-netlib\\boost\\network\\utils\\thread_pool.hpp(12,10): error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such\nfile or directory [C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\test\\http\\cpp-netlib-http-server_async_run_stop_concurrency.vcxproj]\n\n\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\CPP-NETLIB.sln\" (Build target) (1) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\ALL_BUILD.vcxproj.metaproj\" (default target) (2) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\test\\http\\cpp-netlib-http-server_constructor_test.vcxproj.metaproj\" (default target) (32) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\test\\http\\cpp-netlib-http-server_constructor_test.vcxproj\" (default target) (33) -\u003e\n C:\\Users\\andy9\\BlkDev\\cpp-netlib\\boost\\network\\utils\\thread_pool.hpp(12,10): error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such\nfile or directory [C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\test\\http\\cpp-netlib-http-server_constructor_test.vcxproj]\n\n\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\CPP-NETLIB.sln\" (Build target) (1) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\ALL_BUILD.vcxproj.metaproj\" (default target) (2) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\test\\http\\cpp-netlib-http-server_header_parser_test.vcxproj.metaproj\" (default target) (34) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\test\\http\\cpp-netlib-http-server_header_parser_test.vcxproj\" (default target) (35) -\u003e\n C:\\Users\\andy9\\BlkDev\\cpp-netlib\\boost\\network\\utils\\thread_pool.hpp(12,10): error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such\nfile or directory [C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\test\\http\\cpp-netlib-http-server_header_parser_test.vcxproj]\n\n\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\CPP-NETLIB.sln\" (Build target) (1) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\ALL_BUILD.vcxproj.metaproj\" (default target) (2) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\test\\cpp-netlib-utils_thread_pool.vcxproj.metaproj\" (default target) (36) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\test\\cpp-netlib-utils_thread_pool.vcxproj\" (default target) (37) -\u003e\n C:\\Users\\andy9\\BlkDev\\cpp-netlib\\boost\\network\\utils\\thread_pool.hpp(12,10): error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such\nfile or directory [C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\test\\cpp-netlib-utils_thread_pool.vcxproj]\n\n\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\CPP-NETLIB.sln\" (Build target) (1) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\ALL_BUILD.vcxproj.metaproj\" (default target) (2) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\example\\hello_world_server.vcxproj.metaproj\" (default target) (44) -\u003e\n\"C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\example\\hello_world_server.vcxproj\" (default target) (45) -\u003e\n C:\\Users\\andy9\\BlkDev\\cpp-netlib\\boost\\network\\utils\\thread_pool.hpp(12,10): error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such\nfile or directory [C:\\Users\\andy9\\BlkDev\\cpp-netlib-build\\libs\\network\\example\\hello_world_server.vcxproj]\n\n 14 Warning(s)\n 6 Error(s)\n\nTime Elapsed 00:01:10.86\n```\n\nSo, I'd like to contribute by replacing io_service with io_context.","author":{"url":"https://github.com/Andy11011","@type":"Person","name":"Andy11011"},"datePublished":"2025-01-22T06:12:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/907/cpp-netlib/issues/907"}
| 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:11e1d3b2-af67-c0b3-135e-0fb3893587cf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D76A:360CD8:1730A60:1F670A5:696EAB0C |
| html-safe-nonce | ac27ad1e7627fe1459491a6fbb787a8db24d1eceb10eeb4910147f2041334b8c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzZBOjM2MENEODoxNzMwQTYwOjFGNjcwQTU6Njk2RUFCMEMiLCJ2aXNpdG9yX2lkIjoiMjk3NjA1MzYzMDgxODIzMzEwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bd082a37ed3f6483c819a2f4d74625ab44bc4b8f7f39aa0fbb62fceebfd85bd4 |
| hovercard-subject-tag | issue:2803481521 |
| 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-netlib/cpp-netlib/907/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ba5099544f6b7789bcb254a2f0a1521d8378d501f26109c15019c0ac7364c765/cpp-netlib/cpp-netlib/issues/907 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ba5099544f6b7789bcb254a2f0a1521d8378d501f26109c15019c0ac7364c765/cpp-netlib/cpp-netlib/issues/907 |
| og:image:alt | It looks like io_service.hpp is replaced by io_context.hpp in the latest Boost versions, I got the following errors when building the newest cpp-netlib in Windows environment with Boost_1_87_0: "C:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Andy11011 |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdad15fd2ad43212aa8b8be5f2c2725550f8374ceeeb154a999ad9145b43f3f7 |
| turbo-cache-control | no-preview |
| go-import | github.com/cpp-netlib/cpp-netlib git https://github.com/cpp-netlib/cpp-netlib.git |
| octolytics-dimension-user_id | 192422 |
| octolytics-dimension-user_login | cpp-netlib |
| octolytics-dimension-repository_id | 494068 |
| octolytics-dimension-repository_nwo | cpp-netlib/cpp-netlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 469399 |
| octolytics-dimension-repository_parent_nwo | glynos/cpp-netlib |
| octolytics-dimension-repository_network_root_id | 469399 |
| octolytics-dimension-repository_network_root_nwo | glynos/cpp-netlib |
| 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 | 27b23bc056eb973d350fc95afc848757edb9e7a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width