Windows application fails to compile when including boost/process/v2.hpp
- Dominant language
- C++
- Stars
- 145
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
I'm upgrading my application from using
**#include **
to using the new boost process v2 stuff by using
**#include **
When I do this, I get the following compile errors in Visual Studio 2022...
**boost\process\v2\detail\utf8.hpp(28,47): error C2491: 'boost::process::v2::detail::conv_string': definition of dllimport function not allowed
boost\asio\detail\socket_types.hpp(24,1): fatal error C1189: #error: WinSock.h has already been included**
Any ideas why I'm getting these errors? I've tried different things from previous issues posted but no success so far.
I'm using VS 2022 64-bit running on Windows 11. I'm also using boost::process version 1.86 built with vcpkg
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.