When I used the code compiled by msbuild for unit testing, the test failed. The specific failure is as follows:
"F:\tencent\libco\build_amd64\libco.sln" (Rebuild target) (1) ->
"F:\tencent\libco\build_amd64\colib_shared.vcxproj.metaproj" (Rebuild target) (3) ->
"F:\tencent\libco\build_amd64\colib_shared.vcxproj" (Rebuild target) (14) ->
(ClCompile target) ->
F:\tencent\libco\co_epoll.h(31,10): fatal error C1083: Cannot open include file: 'sys/epoll.h': No such file or directory (d:\a01\_work\34\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0prepro.c:1964) [F:\tencent\libco\build_amd64\colib_shared.vcxproj]
F:\tencent\libco\co_hook_sys_call.cpp(19,10): fatal error C1083: Cannot open include file: 'sys/socket.h': No such file or directory (d:\a01\_work\34\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0prepro.c:1964) [F:\tencent\libco\build_amd64\colib_shared.vcxproj]
F:\tencent\libco\co_routine.h(23,10): fatal error C1083: Cannot open include file: 'sys/poll.h': No such file or directory (d:\a01\_work\34\s\src\vctools\Compiler\CxxFE\sl\p1\c\p0prepro.c:1964) [F:\tencent\libco\build_amd64\colib_shared.vcxproj]
F:\tencent\libco\coctx.cpp(86,44): error C2143: syntax error: missing ';' before 'asm' [F:\tencent\libco\build_amd64\colib_shared.vcxproj]
F:\tencent\libco\coctx.cpp(86,60): error C2290: C++ 'asm' syntax ignored. Use __asm. [F:\tencent\libco\build_amd64\colib_shared.vcxproj]
Environment
What version of VW did you use?
What OS or language did you use?
OS: Windows Server 2016 1607
CPU: AMD EPYC 7452 32-Core Processor
Compiler: MSVC 14.29.30133
Language: ENU
Additional context
You can also check build error messages from attached file build.log
Describe the bug
When I used the code compiled by msbuild for unit testing, the test failed. The specific failure is as follows:
To Reproduce
Steps to reproduce the behavior:
Expected behavior Build pass.
Observed Behavior build failed.
Environment What version of VW did you use? What OS or language did you use? OS: Windows Server 2016 1607 CPU: AMD EPYC 7452 32-Core Processor Compiler: MSVC 14.29.30133 Language: ENU
Additional context You can also check build error messages from attached file build.log