Skip to content

Help with Building on Windows  #319

@OYan60718

Description

@OYan60718

Hi,

I am trying to build rpclib on Windows 11 with CMAKE and Visual Studio 2019 following the instructions here. However, I got the following errors. I have tried re-install CMAKE and Visual Studio but made no difference.

If anyone knows the reason for this error or could provide any suggestions would be much appreciated!

Thanks in advance!

-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
-- The C compiler identification is MSVC 19.29.30154.0
-- The CXX compiler identification is MSVC 19.29.30154.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (6.4s)
-- Generating done (0.0s)
-- Build files have been written to: E:/rpclib/build
PS E:\rpclib\build> cmake --build .
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  1>Checking Build System
  Building Custom Rule E:/rpclib/CMakeLists.txt
  dispatcher.cc
  server.cc
E:\rpclib\include\rpc/detail/async_writer.h(22,18): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rp
clib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(22,31): error C2061: syntax error: identifier 'io_service' [E:\rpclib\build
\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(82,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpc
lib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(82,33): error C2143: syntax error: missing ';' before '&' [E:\rpclib\build\
rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(82,33): error C4430: missing type specifier - int assumed. Note: C++ does n
ot support default-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(82,44): error C2334: unexpected token(s) preceding '{'; skipping apparent f
unction body [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(92,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpc
lib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(92,24): error C2143: syntax error: missing ';' before '&' [E:\rpclib\build\
rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(92,24): error C4430: missing type specifier - int assumed. Note: C++ does n
ot support default-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(92,41): error C2334: unexpected token(s) preceding '{'; skipping apparent f
unction body [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(97,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpc
lib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(97,34): error C3646: 'socket_': unknown override specifier [E:\rpclib\build
\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(97,41): error C4430: missing type specifier - int assumed. Note: C++ does n
ot support default-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(98,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpc
lib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(98,25): error C3646: 'write_strand_': unknown override specifier [E:\rpclib
\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(98,38): error C4430: missing type specifier - int assumed. Note: C++ does n
ot support default-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(24,54): error C2065: 'io': undeclared identifier [E:\rpclib\build\rpc.vcxpr
oj]
E:\rpclib\include\rpc/detail/async_writer.h(24,11): error C2614: 'rpc::detail::async_writer': illegal member initializa
tion: 'socket_' is not a base or member [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(24,39): error C2614: 'rpc::detail::async_writer': illegal member initializa
tion: 'write_strand_' is not a base or member [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(30,9): error C2065: 'write_strand_': undeclared identifier [E:\rpclib\build
\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(33,13): error C2065: 'socket_': undeclared identifier [E:\rpclib\build\rpc.
vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(34,17): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rp
clib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(34,47): error C2065: 'shutdown_both': undeclared identifier [E:\rpclib\buil
d\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(39,13): error C2065: 'socket_': undeclared identifier [E:\rpclib\build\rpc.
vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(55,9): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpc
lib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(56,13): error C2065: 'socket_': undeclared identifier [E:\rpclib\build\rpc.
vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(56,22): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rp
clib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(56,35): error C3861: 'buffer': identifier not found [E:\rpclib\build\rpc.vc
xproj]
E:\rpclib\include\rpc/detail/async_writer.h(57,13): error C2065: 'write_strand_': undeclared identifier [E:\rpclib\buil
d\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(55,22): error C3861: 'async_write': identifier not found [E:\rpclib\build\r
pc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(25,33): error C2653: 'clmdep_asio': is not a class or namespace name [E:\
rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(25,46): error C2061: syntax error: identifier 'io_service' [E:\rpclib\bui
ld\rpc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(37,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\r
pclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(37,29): error C2143: syntax error: missing ';' before '*' [E:\rpclib\buil
d\rpc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(37,29): error C4430: missing type specifier - int assumed. Note: C++ does
 not support default-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(37,33): error C2238: unexpected token(s) preceding ';' [E:\rpclib\build\r
pc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(38,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\r
pclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(38,25): error C3646: 'read_strand_': unknown override specifier [E:\rpcli
b\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(38,37): error C4430: missing type specifier - int assumed. Note: C++ does
 not support default-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(19,7): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpclib\build\rpc.vc
xproj]
E:\rpclib\lib\rpc\server.cc(19,1): error C2873: 'tcp': symbol cannot be used in a using-declaration [E:\rpclib\build\rp
c.vcxproj]
E:\rpclib\lib\rpc\server.cc(20,28): error C2871: 'clmdep_asio': a namespace with this name does not exist [E:\rpclib\bu
ild\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(99,16): error C3646: 'io_': unknown override specifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(99,19): error C4430: missing type specifier - int assumed. Note: C++ does not support defau
lt-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(100,5): error C2653: 'ip': is not a class or namespace name [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(100,23): error C3646: 'acceptor_': unknown override specifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(100,32): error C4430: missing type specifier - int assumed. Note: C++ does not support defa
ult-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(101,5): error C2653: 'ip': is not a class or namespace name [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(101,21): error C3646: 'socket_': unknown override specifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(101,28): error C4430: missing type specifier - int assumed. Note: C++ does not support defa
ult-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(28,21): error C2065: 'io_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(29,19): error C2065: 'io_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(27,11): error C2614: 'rpc::server::impl': illegal member initialization: 'io_' is not a bas
e or member [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(28,11): error C2614: 'rpc::server::impl': illegal member initialization: 'acceptor_' is not
 a base or member [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(29,11): error C2614: 'rpc::server::impl': illegal member initialization: 'socket_' is not a
 base or member [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(31,19): error C2653: 'tcp': is not a class or namespace name [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(31,33): error C2653: 'ip': is not a class or namespace name [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(31,46): error C3861: 'from_string': identifier not found [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(31,24): error C3861: 'endpoint': identifier not found [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(32,9): error C2065: 'acceptor_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(36,9): error C2065: 'acceptor_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(37,9): error C2065: 'acceptor_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(43,21): error C2065: 'io_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(44,19): error C2065: 'io_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(42,11): error C2614: 'rpc::server::impl': illegal member initialization: 'io_' is not a bas
e or member [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(43,11): error C2614: 'rpc::server::impl': illegal member initialization: 'acceptor_' is not
 a base or member [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(44,11): error C2614: 'rpc::server::impl': illegal member initialization: 'socket_' is not a
 base or member [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(46,19): error C2653: 'tcp': is not a class or namespace name [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(46,33): error C2653: 'tcp': is not a class or namespace name [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(46,38): error C3861: 'v4': identifier not found [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(46,24): error C3861: 'endpoint': identifier not found [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(47,9): error C2065: 'acceptor_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(51,9): error C2065: 'acceptor_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(52,9): error C2065: 'acceptor_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(56,9): error C2065: 'acceptor_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(56,32): error C2065: 'socket_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(58,27): error C2065: 'socket_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(62,31): error C2065: 'io_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(62,46): error C2065: 'socket_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(64,1): error C3536: 's': cannot be used before it is initialized [E:\rpclib\build\rpc.vcxpr
oj]
E:\rpclib\lib\rpc\server.cc(66,1): error C2664: 'void std::vector<std::shared_ptr<rpc::detail::server_session>,std::all
ocator<std::shared_ptr<rpc::detail::server_session>>>::push_back(const _Ty &)': cannot convert argument 1 from 'int' to
 'const _Ty &' [E:\rpclib\build\rpc.vcxproj]
          with
          [
              _Ty=std::shared_ptr<rpc::detail::server_session>
          ]
E:\rpclib\lib\rpc\server.cc(66,1): message : Reason: cannot convert from 'int' to 'const _Ty' [E:\rpclib\build\rpc.vcxp
roj]
          with
          [
              _Ty=std::shared_ptr<rpc::detail::server_session>
          ]
E:\rpclib\lib\rpc\server.cc(66,1): message : No constructor could take the source type, or constructor overload resolut
ion was ambiguous [E:\rpclib\build\rpc.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(742,33): message
 : see declaration of 'std::vector<std::shared_ptr<rpc::detail::server_session>,std::allocator<std::shared_ptr<rpc::det
ail::server_session>>>::push_back' [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(88,13): error C2065: 'acceptor_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(92,9): error C2065: 'io_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(96,42): error C2065: 'acceptor_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(147,29): error C2039: 'io_': is not a member of 'rpc::server::impl' [E:\rpclib\build\rpc.vc
xproj]
E:\rpclib\include\rpc/server.h(136): message : see declaration of 'rpc::server::impl' [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(153,16): error C2039: 'io_': is not a member of 'rpc::server::impl' [E:\rpclib\build\rpc.vc
xproj]
E:\rpclib\include\rpc/server.h(136): message : see declaration of 'rpc::server::impl' [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\server.cc(153,1): error C2039: '__this': is not a member of 'rpc::server::impl' [E:\rpclib\build\rpc.
vcxproj]
E:\rpclib\include\rpc/server.h(136): message : see declaration of 'rpc::server::impl' [E:\rpclib\build\rpc.vcxproj]
  client.cc
E:\rpclib\include\rpc/detail/async_writer.h(22,18): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rp
clib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(22,31): error C2061: syntax error: identifier 'io_service' [E:\rpclib\build
\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(82,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpc
lib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(82,33): error C2143: syntax error: missing ';' before '&' [E:\rpclib\build\
rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(82,33): error C4430: missing type specifier - int assumed. Note: C++ does n
ot support default-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(82,44): error C2334: unexpected token(s) preceding '{'; skipping apparent f
unction body [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(92,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpc
lib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(92,24): error C2143: syntax error: missing ';' before '&' [E:\rpclib\build\
rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(92,24): error C4430: missing type specifier - int assumed. Note: C++ does n
ot support default-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(92,41): error C2334: unexpected token(s) preceding '{'; skipping apparent f
unction body [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(97,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpc
lib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(97,34): error C3646: 'socket_': unknown override specifier [E:\rpclib\build
\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(97,41): error C4430: missing type specifier - int assumed. Note: C++ does n
ot support default-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(98,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpc
lib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(98,25): error C3646: 'write_strand_': unknown override specifier [E:\rpclib
\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(98,38): error C4430: missing type specifier - int assumed. Note: C++ does n
ot support default-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(24,54): error C2065: 'io': undeclared identifier [E:\rpclib\build\rpc.vcxpr
oj]
E:\rpclib\include\rpc/detail/async_writer.h(24,11): error C2614: 'rpc::detail::async_writer': illegal member initializa
tion: 'socket_' is not a base or member [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(24,39): error C2614: 'rpc::detail::async_writer': illegal member initializa
tion: 'write_strand_' is not a base or member [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(30,9): error C2065: 'write_strand_': undeclared identifier [E:\rpclib\build
\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(33,13): error C2065: 'socket_': undeclared identifier [E:\rpclib\build\rpc.
vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(34,17): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rp
clib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(34,47): error C2065: 'shutdown_both': undeclared identifier [E:\rpclib\buil
d\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(39,13): error C2065: 'socket_': undeclared identifier [E:\rpclib\build\rpc.
vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(55,9): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpc
lib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(56,13): error C2065: 'socket_': undeclared identifier [E:\rpclib\build\rpc.
vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(56,22): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rp
clib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(56,35): error C3861: 'buffer': identifier not found [E:\rpclib\build\rpc.vc
xproj]
E:\rpclib\include\rpc/detail/async_writer.h(57,13): error C2065: 'write_strand_': undeclared identifier [E:\rpclib\buil
d\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(55,22): error C3861: 'async_write': identifier not found [E:\rpclib\build\r
pc.vcxproj]
E:\rpclib\lib\rpc\client.cc(20,28): error C2871: 'clmdep_asio': a namespace with this name does not exist [E:\rpclib\bu
ild\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(21,7): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpclib\build\rpc.vc
xproj]
E:\rpclib\lib\rpc\client.cc(21,1): error C2873: 'tcp': symbol cannot be used in a using-declaration [E:\rpclib\build\rp
c.vcxproj]
E:\rpclib\lib\rpc\client.cc(46,21): error C2653: 'tcp': is not a class or namespace name [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(46,36): error C2061: syntax error: identifier 'iterator' [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(147,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpclib\build\rpc.v
cxproj]
E:\rpclib\lib\rpc\client.cc(147,29): error C3646: 'io_': unknown override specifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(147,32): error C4430: missing type specifier - int assumed. Note: C++ does not support defa
ult-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(148,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpclib\build\rpc.v
cxproj]
E:\rpclib\lib\rpc\client.cc(148,25): error C3646: 'strand_': unknown override specifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(148,32): error C4430: missing type specifier - int assumed. Note: C++ does not support defa
ult-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(33,19): error C2065: 'io_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(40,16): error C2065: 'io_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(40,21): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpclib\build\rpc.v
cxproj]
E:\rpclib\lib\rpc\client.cc(40,50): error C2065: 'io_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(32,11): error C2614: 'rpc::client::impl': illegal member initialization: 'io_' is not a bas
e or member [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(33,11): error C2614: 'rpc::client::impl': illegal member initialization: 'strand_' is not a
 base or member [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(49,9): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpclib\build\rpc.vc
xproj]
E:\rpclib\lib\rpc\client.cc(50,22): error C2039: 'socket': is not a member of 'rpc::detail::async_writer' [E:\rpclib\bu
ild\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(20): message : see declaration of 'rpc::detail::async_writer' [E:\rpclib\bu
ild\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(50,32): error C2065: 'endpoint_iterator': undeclared identifier [E:\rpclib\build\rpc.vcxpro
j]
E:\rpclib\lib\rpc\client.cc(51,40): error C2653: 'tcp': is not a class or namespace name [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(51,55): error C2061: syntax error: identifier 'iterator' [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(49,22): error C3861: 'async_connect': identifier not found [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(72,18): error C2039: 'socket': is not a member of 'rpc::detail::async_writer' [E:\rpclib\bu
ild\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(20): message : see declaration of 'rpc::detail::async_writer' [E:\rpclib\bu
ild\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(73,13): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpclib\build\rpc.v
cxproj]
E:\rpclib\lib\rpc\client.cc(73,26): error C3861: 'buffer': identifier not found [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(98,25): error C2065: 'strand_': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(112,34): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpclib\build\rpc.
vcxproj]
E:\rpclib\lib\rpc\client.cc(112,54): error C2065: 'eof': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(115,34): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpclib\build\rpc.
vcxproj]
E:\rpclib\lib\rpc\client.cc(115,54): error C2065: 'connection_reset': undeclared identifier [E:\rpclib\build\rpc.vcxpro
j]
E:\rpclib\lib\rpc\client.cc(167,5): error C2653: 'tcp': is not a class or namespace name [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(167,10): error C2065: 'resolver': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(167,19): error C2146: syntax error: missing ';' before identifier 'resolver' [E:\rpclib\bui
ld\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(167,35): error C2039: 'io_': is not a member of 'rpc::client::impl' [E:\rpclib\build\rpc.vc
xproj]
E:\rpclib\include\rpc/client.h(143): message : see declaration of 'rpc::client::impl' [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(167,19): error C3861: 'resolver': identifier not found [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(169,9): error C2065: 'resolver': undeclared identifier [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(170,34): error C3536: 'endpoint_it': cannot be used before it is initialized [E:\rpclib\bui
ld\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(170,34): error C2660: 'rpc::client::impl::do_connect': function does not take 1 arguments [
E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(46,10): message : see declaration of 'rpc::client::impl::do_connect' [E:\rpclib\build\rpc.v
cxproj]
E:\rpclib\lib\rpc\client.cc(174,16): error C2039: 'io_': is not a member of 'rpc::client::impl' [E:\rpclib\build\rpc.vc
xproj]
E:\rpclib\include\rpc/client.h(143): message : see declaration of 'rpc::client::impl' [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(175,5): error C2039: '__this': is not a member of 'rpc::client::impl' [E:\rpclib\build\rpc.
vcxproj]
E:\rpclib\include\rpc/client.h(143): message : see declaration of 'rpc::client::impl' [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(205,12): error C2039: 'strand_': is not a member of 'rpc::client::impl' [E:\rpclib\build\rp
c.vcxproj]
E:\rpclib\include\rpc/client.h(143): message : see declaration of 'rpc::client::impl' [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(213,12): error C2039: 'strand_': is not a member of 'rpc::client::impl' [E:\rpclib\build\rp
c.vcxproj]
E:\rpclib\include\rpc/client.h(143): message : see declaration of 'rpc::client::impl' [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\client.cc(244,12): error C2039: 'io_': is not a member of 'rpc::client::impl' [E:\rpclib\build\rpc.vc
xproj]
E:\rpclib\include\rpc/client.h(143): message : see declaration of 'rpc::client::impl' [E:\rpclib\build\rpc.vcxproj]
  this_handler.cc
  this_session.cc
  this_server.cc
  rpc_error.cc
  server_session.cc
E:\rpclib\include\rpc/detail/async_writer.h(22,18): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rp
clib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(22,31): error C2061: syntax error: identifier 'io_service' [E:\rpclib\build
\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(82,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpc
lib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(82,33): error C2143: syntax error: missing ';' before '&' [E:\rpclib\build\
rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(82,33): error C4430: missing type specifier - int assumed. Note: C++ does n
ot support default-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(82,44): error C2334: unexpected token(s) preceding '{'; skipping apparent f
unction body [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(92,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpc
lib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(92,24): error C2143: syntax error: missing ';' before '&' [E:\rpclib\build\
rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(92,24): error C4430: missing type specifier - int assumed. Note: C++ does n
ot support default-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(92,41): error C2334: unexpected token(s) preceding '{'; skipping apparent f
unction body [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(97,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpc
lib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(97,34): error C3646: 'socket_': unknown override specifier [E:\rpclib\build
\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(97,41): error C4430: missing type specifier - int assumed. Note: C++ does n
ot support default-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(98,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpc
lib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(98,25): error C3646: 'write_strand_': unknown override specifier [E:\rpclib
\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(98,38): error C4430: missing type specifier - int assumed. Note: C++ does n
ot support default-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(24,54): error C2065: 'io': undeclared identifier [E:\rpclib\build\rpc.vcxpr
oj]
E:\rpclib\include\rpc/detail/async_writer.h(24,11): error C2614: 'rpc::detail::async_writer': illegal member initializa
tion: 'socket_' is not a base or member [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(24,39): error C2614: 'rpc::detail::async_writer': illegal member initializa
tion: 'write_strand_' is not a base or member [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(30,9): error C2065: 'write_strand_': undeclared identifier [E:\rpclib\build
\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(33,13): error C2065: 'socket_': undeclared identifier [E:\rpclib\build\rpc.
vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(34,17): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rp
clib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(34,47): error C2065: 'shutdown_both': undeclared identifier [E:\rpclib\buil
d\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(39,13): error C2065: 'socket_': undeclared identifier [E:\rpclib\build\rpc.
vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(55,9): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpc
lib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(56,13): error C2065: 'socket_': undeclared identifier [E:\rpclib\build\rpc.
vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(56,22): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rp
clib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(56,35): error C3861: 'buffer': identifier not found [E:\rpclib\build\rpc.vc
xproj]
E:\rpclib\include\rpc/detail/async_writer.h(57,13): error C2065: 'write_strand_': undeclared identifier [E:\rpclib\buil
d\rpc.vcxproj]
E:\rpclib\include\rpc/detail/async_writer.h(55,22): error C3861: 'async_write': identifier not found [E:\rpclib\build\r
pc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(25,33): error C2653: 'clmdep_asio': is not a class or namespace name [E:\
rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(25,46): error C2061: syntax error: identifier 'io_service' [E:\rpclib\bui
ld\rpc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(37,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\r
pclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(37,29): error C2143: syntax error: missing ';' before '*' [E:\rpclib\buil
d\rpc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(37,29): error C4430: missing type specifier - int assumed. Note: C++ does
 not support default-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(37,33): error C2238: unexpected token(s) preceding ';' [E:\rpclib\build\r
pc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(38,5): error C2653: 'clmdep_asio': is not a class or namespace name [E:\r
pclib\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(38,25): error C3646: 'read_strand_': unknown override specifier [E:\rpcli
b\build\rpc.vcxproj]
E:\rpclib\include\rpc/detail/server_session.h(38,37): error C4430: missing type specifier - int assumed. Note: C++ does
 not support default-int [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\detail\server_session.cc(17,45): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpc
lib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\detail\server_session.cc(17,58): error C2061: syntax error: identifier 'io_service' [E:\rpclib\build\
rpc.vcxproj]
E:\rpclib\lib\rpc\detail\server_session.cc(21,20): error C2065: 'io': undeclared identifier [E:\rpclib\build\rpc.vcxpro
j]
E:\rpclib\lib\rpc\detail\server_session.cc(23,11): error C2065: 'io': undeclared identifier [E:\rpclib\build\rpc.vcxpro
j]
E:\rpclib\lib\rpc\detail\server_session.cc(24,21): error C2065: 'io': undeclared identifier [E:\rpclib\build\rpc.vcxpro
j]
E:\rpclib\lib\rpc\detail\server_session.cc(25,13): error C2065: 'disp': undeclared identifier [E:\rpclib\build\rpc.vcxp
roj]
E:\rpclib\lib\rpc\detail\server_session.cc(27,28): error C2065: 'suppress_exceptions': undeclared identifier [E:\rpclib
\build\rpc.vcxproj]
E:\rpclib\lib\rpc\detail\server_session.cc(23,7): error C2614: 'rpc::detail::server_session': illegal member initializa
tion: 'io_' is not a base or member [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\detail\server_session.cc(24,7): error C2614: 'rpc::detail::server_session': illegal member initializa
tion: 'read_strand_' is not a base or member [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\detail\server_session.cc(39,5): error C3861: 'write_strand': identifier not found [E:\rpclib\build\rp
c.vcxproj]
E:\rpclib\lib\rpc\detail\server_session.cc(47,12): error C2660: 'socket': function does not take 0 arguments [E:\rpclib
\build\rpc.vcxproj]
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um\winsock2.h(2178,1): message : see declaration of 'socket
' [E:\rpclib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\detail\server_session.cc(48,9): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rpcl
ib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\detail\server_session.cc(48,22): error C3861: 'buffer': identifier not found [E:\rpclib\build\rpc.vcx
proj]
E:\rpclib\lib\rpc\detail\server_session.cc(51,9): error C2065: 'read_strand_': undeclared identifier [E:\rpclib\build\r
pc.vcxproj]
E:\rpclib\lib\rpc\detail\server_session.cc(64,21): error C2065: 'io_': undeclared identifier [E:\rpclib\build\rpc.vcxpr
oj]
E:\rpclib\lib\rpc\detail\server_session.cc(96,29): error C3861: 'write_strand': identifier not found [E:\rpclib\build\r
pc.vcxproj]
E:\rpclib\lib\rpc\detail\server_session.cc(108,29): error C3861: 'write_strand': identifier not found [E:\rpclib\build\
rpc.vcxproj]
E:\rpclib\lib\rpc\detail\server_session.cc(115,29): error C3861: 'write_strand': identifier not found [E:\rpclib\build\
rpc.vcxproj]
E:\rpclib\lib\rpc\detail\server_session.cc(133,30): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rp
clib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\detail\server_session.cc(133,50): error C2065: 'eof': undeclared identifier [E:\rpclib\build\rpc.vcxp
roj]
E:\rpclib\lib\rpc\detail\server_session.cc(134,30): error C2653: 'clmdep_asio': is not a class or namespace name [E:\rp
clib\build\rpc.vcxproj]
E:\rpclib\lib\rpc\detail\server_session.cc(134,50): error C2065: 'connection_reset': undeclared identifier [E:\rpclib\b
uild\rpc.vcxproj]
  response.cc
  client_error.cc
  optional.cc
  format.cc
  posix.cc
  Generating Code...`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions