Bendr0id / xmrigCC

RandomX, CryptoNight, Argon2 and GhostRider CPU/GPU miner with Command&Control (CC) Server and Monitoring
GNU General Public License v3.0
314 stars 109 forks source link

issue compiling MSYS2 GCC7.3 - cygwin1.dll #218

Closed FranzDE closed 5 years ago

FranzDE commented 5 years ago

Hi guys, I have trouble compiling, when I try to install:

It's a "cygwin1.dll" missing problem. I have already installed it from cygwin.com and verified that "cygwin1.dll" is in "c:\cygwin\bin" folder. But can't solve the error, it's a clean system without other "cygwin1.dll" around the system.

MINGW64 ~
wget http://repo.msys2.org/msys/x86_64/gcc-7.3.0-3-x86_64.pkg.tar.xz
pacman -U gcc-7.3.0-3-x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (10) binutils-2.30-1  gcc-libs-7.3.0-3  isl-0.19-1  mpc-1.1.0-1  msys2-runtime-2.11.2-1  msys2-runtime-devel-2.11.2-1  msys2-w32api-headers-6.0.0.5223.7f9d8753-1
              msys2-w32api-runtime-6.0.0.5223.7f9d8753-1  windows-default-manifest-6.4-1  gcc-7.3.0-3

Total Download Size:    19.48 MiB
Total Installed Size:  288.08 MiB
Net Upgrade Size:      272.97 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 msys2-runtime-2.11.2-1-x86_64                                                               2.5 MiB  2.56M/s 00:01 [####################################################################] 100%
 gcc-libs-7.3.0-3-x86_64                                                                   977.7 KiB  73.4M/s 00:00 [####################################################################] 100%
 binutils-2.30-1-x86_64                                                                      4.6 MiB  10.2M/s 00:00 [####################################################################] 100%
 isl-0.19-1-x86_64                                                                         485.7 KiB  47.4M/s 00:00 [####################################################################] 100%
 mpc-1.1.0-1-x86_64                                                                         74.1 KiB  0.00B/s 00:00 [####################################################################] 100%
 msys2-runtime-devel-2.11.2-1-x86_64                                                         4.5 MiB  10.3M/s 00:00 [####################################################################] 100%
 msys2-w32api-headers-6.0.0.5223.7f9d8753-1-x86_64                                           4.7 MiB  10.6M/s 00:00 [####################################################################] 100%
 msys2-w32api-runtime-6.0.0.5223.7f9d8753-1-x86_64                                        1793.2 KiB  11.4M/s 00:00 [####################################################################] 100%
 windows-default-manifest-6.4-1-x86_64                                                    1388.0   B  0.00B/s 00:00 [####################################################################] 100%
(10/10) checking keys in keyring                                                                                    [####################################################################] 100%
( 9/10) checking package integrity                                                                                  [####################################################################] 100%
( 9/10) loading package files                                                                                       [####################################################################] 100%
(10/10) checking for file conflicts                                                                                 [####################################################################] 100%
(10/10) checking available disk space                                                                               [####################################################################] 100%
:: Processing package changes...
( 1/10) upgrading msys2-runtime                                                                                     [####################################################################] 100%
( 2/10) upgrading gcc-libs                                                                                          [####################################################################] 100%
     28 [main] pacman (2508) C:\msys64\usr\bin\pacman.exe: *** fatal error - cygheap base mismatch detected - 0x1802FF410/0x180320410.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
      1 [main] pacman 2416 fork: child -1 - forked process 2508 died unexpectedly, retry 0, exit code 0xC0000005, errno 11
error: could not fork a new process (Resource temporarily unavailable)
( 3/10) installing binutils                                                                                         [####################################################################] 100%
( 4/10) installing isl                                                                                              [####################################################################] 100%
( 5/10) installing mpc                                                                                              [####################################################################] 100%
      3 [main] pacman (1788) C:\msys64\usr\bin\pacman.exe: *** fatal error - cygheap base mismatch detected - 0x1802FF410/0x180320410.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
1300346 [main] pacman 2416 fork: child -1 - forked process 1788 died unexpectedly, retry 0, exit code 0xC0000005, errno 11
error: could not fork a new process (Resource temporarily unavailable)
( 6/10) installing msys2-runtime-devel                                                                              [####################################################################] 100%
( 7/10) installing msys2-w32api-headers                                                                             [####################################################################] 100%
( 8/10) installing msys2-w32api-runtime                                                                             [####################################################################] 100%
( 9/10) installing windows-default-manifest                                                                         [####################################################################] 100%
(10/10) installing gcc                                                                                              [####################################################################] 100%
      4 [main] pacman (2308) C:\msys64\usr\bin\pacman.exe: *** fatal error - cygheap base mismatch detected - 0x1802FF410/0x180320410.
This problem is probably due to using incompatible versions of the cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
FranzDE commented 5 years ago

I double checked my system and I have only one "cygwin1.dll" and it is in "c:\cygwin\bin\" folder. It's "cygwin1.dll" version 2.11.2

Bendr0id commented 5 years ago

Could be. I've never touched my msys2 after installation. There is no reason why I should do that. I'm two weeks on vacation, and this has low priority. I can make release builds and first need to setup a new VM. I don't want to break my system.

FranzDE commented 5 years ago

update:

pacman -Sy
wget http://repo.msys2.org/msys/x86_64/gcc-7.3.0-3-x86_64.pkg.tar.xz
pacman -U gcc-7.3.0-3-x86_64.pkg.tar.xz
pacman -S make
pacman -S mingw-w64-x86_64-cmake
pacman -S mingw-w64-x86_64-pkg-config
pacman -S wget tar bzip2
pacman -Syu

wget https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.bz2
tar xvfj boost_1_67_0.tar.bz2
cd boost_1_67_0
./bootstrap.sh --with-libraries=system
./b2

In the various phases this time no error message is shown. well the library has a new name "libboost_system.a" I have disabled the TLS support inside the file "CMakeLists.txt"

I have never seen these errors during compile:

Franz@master MINGW64 /c/source
# cmake . -G "Unix Makefiles" -DUV_INCLUDE_DIR="c:\xmrigCC-deps\gcc\libuv\x64\include" -DUV_LIBRARY="c:\xmrigCC-deps\gcc\libuv\x64\lib\libuv.a" -DMHD_INCLUDE_DIR="c:\xmrigCC-deps\gcc\libmicrohttpd\x64\include" -DMHD_LIBRARY="c:\xmrigCC-deps\gcc\libmicrohttpd\x64\lib\libmicrohttpd.a" -DOPENSSL_INCLUDE_DIR="c:\xmrigCC-deps\gcc\openssl\x64\include" -DOPENSSL_ROOT_DIR="c:\xmrigCC-deps\gcc\openssl\x64\lib"  -DBOOST_ROOT="c:\msys64\home\Franz\boost_1_67_0" -DBoost_SYSTEM_LIBRARY="c:\msys64\home\Franz\boost_1_67_0\stage\lib\libboost_system.a"
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: C:/msys64/usr/bin/cc.exe
-- Check for working C compiler: C:/msys64/usr/bin/cc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/msys64/usr/bin/c++.exe
-- Check for working CXX compiler: C:/msys64/usr/bin/c++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found UV: C:/xmrigCC-deps/gcc/libuv/x64/lib/libuv.a
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   system
-- Looking for syslog.h
-- Looking for syslog.h - found
-- Found mhd: C:/xmrigCC-deps/gcc/libmicrohttpd/x64/include
-- The ASM compiler identification is GNU
-- Found assembler: C:/msys64/usr/bin/cc.exe
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    OPENSSL_INCLUDE_DIR
    OPENSSL_ROOT_DIR

-- Build files have been written to: C:/source

Franz@master MINGW64 /c/source
# make -j
Scanning dependencies of target xmrigDaemon
Scanning dependencies of target xmrig_common_cc
Scanning dependencies of target xmrig_common
Scanning dependencies of target xmrig_os_dependencies
Scanning dependencies of target xmrig_asm
Scanning dependencies of target xmrig_cpuid
Scanning dependencies of target cpuid
Scanning dependencies of target xmrig_cc_common
[  1%] Building CXX object CMakeFiles/xmrigDaemon.dir/src/cc/XMRigd.cpp.o
[  2%] Building RC object CMakeFiles/xmrigDaemon.dir/res/app.rc.obj
[  3%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/Console.cpp.o
[  4%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/Mem.cpp.o
[  6%] Building CXX object CMakeFiles/xmrig_common.dir/src/Console.cpp.o
[  7%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/net/Url.cpp.o
[  8%] Building CXX object CMakeFiles/xmrig_common.dir/src/Mem.cpp.o
[  9%] Building RC object CMakeFiles/xmrig_os_dependencies.dir/res/app.rc.obj
[ 10%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/Options.cpp.o
[ 12%] Building CXX object CMakeFiles/xmrig_common.dir/src/net/Url.cpp.o
[ 13%] Building CXX object CMakeFiles/xmrig_os_dependencies.dir/src/api/Api.cpp.o
[ 14%] Building CXX object CMakeFiles/xmrig_cpuid.dir/src/Cpu_cpuid.cpp.o
[ 15%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/log/ConsoleLog.cpp.o
[ 17%] Building CXX object CMakeFiles/xmrig_common.dir/src/Options.cpp.o
[ 18%] Building CXX object CMakeFiles/xmrig_os_dependencies.dir/src/api/ApiState.cpp.o
[ 19%] Building ASM object CMakeFiles/xmrig_asm.dir/src/crypto/asm/win/cn_main_loop_win_gcc.S.o
[ 20%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/log/FileLog.cpp.o
[ 21%] Building CXX object CMakeFiles/xmrig_common.dir/src/log/ConsoleLog.cpp.o
[ 23%] Building CXX object CMakeFiles/xmrig_os_dependencies.dir/src/App_win.cpp.o
[ 24%] Building C object src/3rdparty/libcpuid/CMakeFiles/cpuid.dir/cpuid_main.c.obj
[ 25%] Building CXX object CMakeFiles/xmrig_common.dir/src/log/FileLog.cpp.o
[ 26%] Building CXX object CMakeFiles/xmrig_os_dependencies.dir/src/Cpu_win.cpp.o
[ 28%] Building C object src/3rdparty/libcpuid/CMakeFiles/cpuid.dir/asm-bits.c.obj
[ 29%] Building CXX object CMakeFiles/xmrig_cc_common.dir/src/cc/ControlCommand.cpp.o
[ 30%] Building CXX object CMakeFiles/xmrig_os_dependencies.dir/src/Mem_win.cpp.o
[ 31%] Building C object src/3rdparty/libcpuid/CMakeFiles/cpuid.dir/recog_amd.c.obj
[ 32%] Building CXX object CMakeFiles/xmrig_cc_common.dir/src/cc/ClientStatus.cpp.o
[ 34%] Building C object src/3rdparty/libcpuid/CMakeFiles/cpuid.dir/recog_intel.c.obj
[ 35%] Building CXX object CMakeFiles/xmrig_cc_common.dir/src/cc/GPUInfo.cpp.o
[ 36%] Building C object src/3rdparty/libcpuid/CMakeFiles/cpuid.dir/libcpuid_util.c.obj
[ 37%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/log/RemoteLog.cpp.o
[ 39%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/log/Log.cpp.o
[ 40%] Building CXX object CMakeFiles/xmrig_common.dir/src/log/RemoteLog.cpp.o
[ 41%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/Platform.cpp.o
[ 42%] Building CXX object CMakeFiles/xmrig_common.dir/src/log/Log.cpp.o
[ 43%] Building CXX object CMakeFiles/xmrig_os_dependencies.dir/src/Platform_win.cpp.o
C:/source/src/3rdparty/libcpuid/cpuid_main.c: In function ‘get_total_cpus’:
C:/source/src/3rdparty/libcpuid/cpuid_main.c:121:3: warning: implicit declaration of function ‘warnf’ [-Wimplicit-function-declaration]
   warnf("Your system is not supported by libcpuid -- don't know how to detect the\n");
   ^~~~~
[ 45%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/Cpu.cpp.o
[ 46%] Building CXX object CMakeFiles/xmrig_common.dir/src/Platform.cpp.o
[ 47%] Building CXX object CMakeFiles/xmrig_os_dependencies.dir/src/log/SysLog.cpp.o
[ 48%] Building CXX object CMakeFiles/xmrig_common.dir/src/Cpu.cpp.o
[ 50%] Linking C static library libxmrig_asm.a
[ 50%] Built target xmrig_asm
[ 51%] Linking C static library libcpuid.a
[ 51%] Built target cpuid
In file included from C:/source/src/Mem.cpp:27:0:
C:/source/src/crypto/CryptoNight.h:53:28: warning: ‘variant_xtl_table’ defined but not used [-Wunused-variable]
 alignas(64) static uint8_t variant_xtl_table[256];
                            ^~~~~~~~~~~~~~~~~
C:/source/src/crypto/CryptoNight.h:52:28: warning: ‘variant1_table’ defined but not used [-Wunused-variable]
 alignas(64) static uint8_t variant1_table[256];
                            ^~~~~~~~~~~~~~
In file included from C:/source/src/Mem.cpp:27:0:
C:/source/src/crypto/CryptoNight.h:53:28: warning: ‘variant_xtl_table’ defined but not used [-Wunused-variable]
 alignas(64) static uint8_t variant_xtl_table[256];
                            ^~~~~~~~~~~~~~~~~
C:/source/src/crypto/CryptoNight.h:52:28: warning: ‘variant1_table’ defined but not used [-Wunused-variable]
 alignas(64) static uint8_t variant1_table[256];
                            ^~~~~~~~~~~~~~
[ 52%] Linking CXX static library libxmrig_cpuid.a
[ 52%] Built target xmrig_cpuid
[ 53%] Linking CXX static library libxmrig_cc_common.a
[ 53%] Built target xmrig_cc_common
[ 54%] Linking CXX executable xmrigDaemon.exe
[ 54%] Built target xmrigDaemon
In file included from /usr/include/w32api/winsock2.h:56:0,
                 from C:/source/src/log/ConsoleLog.cpp:34:
/usr/include/w32api/psdk_inc/_fd_types.h:100:2: warning: #warning "fd_set and associated macros have been defined in sys/types.      This can cause runtime problems with W32 sockets" [-Wcpp]
 #warning "fd_set and associated macros have been defined in sys/types.  \
  ^~~~~~~
In file included from /usr/include/w32api/winsock2.h:56:0,
                 from C:/source/src/log/ConsoleLog.cpp:34:
/usr/include/w32api/psdk_inc/_fd_types.h:100:2: warning: #warning "fd_set and associated macros have been defined in sys/types.      This can cause runtime problems with W32 sockets" [-Wcpp]
 #warning "fd_set and associated macros have been defined in sys/types.  \
  ^~~~~~~
In file included from /usr/include/sys/socket.h:13:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/cygwin/socket.h:27:8: error: redefinition of ‘struct sockaddr’
 struct sockaddr {
        ^~~~~~~~
In file included from /usr/include/w32api/winsock2.h:57:0,
                 from C:/source/src/Platform_win.cpp:25:
/usr/include/w32api/psdk_inc/_ip_types.h:70:8: note: previous definition of ‘struct sockaddr’
 struct sockaddr {
        ^~~~~~~~
In file included from /usr/include/sys/socket.h:13:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/cygwin/socket.h:39:8: error: redefinition of ‘struct sockaddr_storage’
 struct sockaddr_storage {
        ^~~~~~~~~~~~~~~~
In file included from C:/source/src/Platform_win.cpp:25:0:
/usr/include/w32api/winsock2.h:260:10: note: previous definition of ‘struct sockaddr_storage’
   struct sockaddr_storage {
          ^~~~~~~~~~~~~~~~
In file included from /usr/include/sys/socket.h:13:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/cygwin/socket.h:52:8: error: redefinition of ‘struct linger’
 struct linger {
        ^~~~~~
In file included from /usr/include/w32api/winsock2.h:57:0,
                 from C:/source/src/Platform_win.cpp:25:
/usr/include/w32api/psdk_inc/_ip_types.h:63:8: note: previous definition of ‘struct linger’
 struct linger {
        ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/sys/socket.h:21:7: error: conflicting declaration of C function ‘int accept(int, sockaddr*, socklen_t*)’
   int accept (int, struct sockaddr *__peer, socklen_t *);
       ^~~~~~
In file included from C:/source/src/Platform_win.cpp:25:0:
/usr/include/w32api/winsock2.h:973:37: note: previous declaration ‘SOCKET accept(SOCKET, sockaddr*, int*)’
   WINSOCK_API_LINKAGE SOCKET WSAAPI accept(SOCKET s,struct sockaddr *addr,int *addrlen);
                                     ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/sys/socket.h:23:7: error: conflicting declaration of C function ‘int bind(int, const sockaddr*, socklen_t)’
   int bind (int, const struct sockaddr *__my_addr, socklen_t __addrlen);
       ^~~~
In file included from C:/source/src/Platform_win.cpp:25:0:
/usr/include/w32api/winsock2.h:974:34: note: previous declaration ‘int bind(SOCKET, const sockaddr*, int)’
   WINSOCK_API_LINKAGE int WSAAPI bind(SOCKET s,const struct sockaddr *name,int namelen);
                                  ^~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/sys/socket.h:24:7: error: conflicting declaration of C function ‘int connect(int, const sockaddr*, socklen_t)’
   int connect (int, const struct sockaddr *, socklen_t);
       ^~~~~~~
In file included from C:/source/src/Platform_win.cpp:25:0:
/usr/include/w32api/winsock2.h:976:34: note: previous declaration ‘int connect(SOCKET, const sockaddr*, int)’
   WINSOCK_API_LINKAGE int WSAAPI connect(SOCKET s,const struct sockaddr *name,int namelen);
                                  ^~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/sys/socket.h:25:7: error: conflicting declaration of C function ‘int getpeername(int, sockaddr*, socklen_t*)’
   int getpeername (int, struct sockaddr *__peer, socklen_t *);
       ^~~~~~~~~~~
In file included from C:/source/src/Platform_win.cpp:25:0:
/usr/include/w32api/winsock2.h:978:34: note: previous declaration ‘int getpeername(SOCKET, sockaddr*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI getpeername(SOCKET s,struct sockaddr *name,int *namelen);
                                  ^~~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/sys/socket.h:26:7: error: conflicting declaration of C function ‘int getsockname(int, sockaddr*, socklen_t*)’
   int getsockname (int, struct sockaddr *__addr, socklen_t *);
       ^~~~~~~~~~~
In file included from C:/source/src/Platform_win.cpp:25:0:
/usr/include/w32api/winsock2.h:979:34: note: previous declaration ‘int getsockname(SOCKET, sockaddr*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI getsockname(SOCKET s,struct sockaddr *name,int *namelen);
                                  ^~~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/sys/socket.h:27:7: error: conflicting declaration of C function ‘int listen(int, int)’
   int listen (int, int __n);
       ^~~~~~
In file included from C:/source/src/Platform_win.cpp:25:0:
/usr/include/w32api/winsock2.h:987:34: note: previous declaration ‘int listen(SOCKET, int)’
   WINSOCK_API_LINKAGE int WSAAPI listen(SOCKET s,int backlog);
                                  ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/sys/socket.h:28:11: error: conflicting declaration of C function ‘ssize_t recv(int, void*, size_t, int)’
   ssize_t recv (int, void *__buff, size_t __len, int __flags);
           ^~~~
In file included from C:/source/src/Platform_win.cpp:25:0:
/usr/include/w32api/winsock2.h:992:34: note: previous declaration ‘int recv(SOCKET, char*, int, int)’
   WINSOCK_API_LINKAGE int WSAAPI recv(SOCKET s,char *buf,int len,int flags);
                                  ^~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/sys/socket.h:29:11: error: conflicting declaration of C function ‘ssize_t recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*)’
   ssize_t recvfrom (int, void *__buff, size_t __len, int __flags,
           ^~~~~~~~
In file included from C:/source/src/Platform_win.cpp:25:0:
/usr/include/w32api/winsock2.h:993:34: note: previous declaration ‘int recvfrom(SOCKET, char*, int, int, sockaddr*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI recvfrom(SOCKET s,char *buf,int len,int flags,struct sockaddr *from,int *fromlen);
                                  ^~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/sys/socket.h:32:11: error: conflicting declaration of C function ‘ssize_t send(int, const void*, size_t, int)’
   ssize_t send (int, const void *__buff, size_t __len, int __flags);
           ^~~~
In file included from C:/source/src/Platform_win.cpp:25:0:
/usr/include/w32api/winsock2.h:997:34: note: previous declaration ‘int send(SOCKET, const char*, int, int)’
   WINSOCK_API_LINKAGE int WSAAPI send(SOCKET s,const char *buf,int len,int flags);
                                  ^~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/sys/socket.h:34:11: error: conflicting declaration of C function ‘ssize_t sendto(int, const void*, size_t, int, const sockaddr*, socklen_t)’
   ssize_t sendto (int, const void *, size_t __len, int __flags,
           ^~~~~~
In file included from C:/source/src/Platform_win.cpp:25:0:
/usr/include/w32api/winsock2.h:998:34: note: previous declaration ‘int sendto(SOCKET, const char*, int, int, const sockaddr*, int)’
   WINSOCK_API_LINKAGE int WSAAPI sendto(SOCKET s,const char *buf,int len,int flags,const struct sockaddr *to,int tolen);
                                  ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/sys/socket.h:36:7: error: conflicting declaration of C function ‘int setsockopt(int, int, int, const void*, socklen_t)’
   int setsockopt (int __s, int __level, int __optname, const void *optval,
       ^~~~~~~~~~
In file included from C:/source/src/Platform_win.cpp:25:0:
/usr/include/w32api/winsock2.h:999:34: note: previous declaration ‘int setsockopt(SOCKET, int, int, const char*, int)’
   WINSOCK_API_LINKAGE int WSAAPI setsockopt(SOCKET s,int level,int optname,const char *optval,int optlen);
                                  ^~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/sys/socket.h:38:7: error: conflicting declaration of C function ‘int getsockopt(int, int, int, void*, socklen_t*)’
   int getsockopt (int __s, int __level, int __optname, void *__optval,
       ^~~~~~~~~~
In file included from C:/source/src/Platform_win.cpp:25:0:
/usr/include/w32api/winsock2.h:980:34: note: previous declaration ‘int getsockopt(SOCKET, int, int, char*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI getsockopt(SOCKET s,int level,int optname,char *optval,int *optlen);
                                  ^~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/sys/socket.h:40:7: error: conflicting declaration of C function ‘int shutdown(int, int)’
   int shutdown (int, int);
       ^~~~~~~~
In file included from C:/source/src/Platform_win.cpp:25:0:
/usr/include/w32api/winsock2.h:1000:34: note: previous declaration ‘int shutdown(SOCKET, int)’
   WINSOCK_API_LINKAGE int WSAAPI shutdown(SOCKET s,int how);
                                  ^~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/sys/socket.h:41:7: error: conflicting declaration of C function ‘int socket(int, int, int)’
   int socket (int __family, int __type, int __protocol);
       ^~~~~~
In file included from C:/source/src/Platform_win.cpp:25:0:
/usr/include/w32api/winsock2.h:1001:37: note: previous declaration ‘SOCKET socket(int, int, int)’
   WINSOCK_API_LINKAGE SOCKET WSAAPI socket(int af,int type,int protocol);
                                     ^~~~~~
In file included from C:/source/src/Platform_win.cpp:25:0:
/usr/include/cygwin/in.h:39:3: error: expected identifier before numeric constant
   IPPROTO_IP = 0,  /* Dummy protocol for TCP  */
   ^
/usr/include/cygwin/in.h:39:3: error: expected ‘}’ before numeric constant
/usr/include/cygwin/in.h:39:3: error: expected unqualified-id before numeric constant
/usr/include/cygwin/in.h:85:3: error: expected identifier before numeric constant
   IPPORT_ECHO = 7,  /* Echo service.  */
   ^
/usr/include/cygwin/in.h:85:3: error: expected ‘}’ before numeric constant
/usr/include/cygwin/in.h:85:3: error: expected unqualified-id before numeric constant
In file included from /usr/include/netinet/in.h:12:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:31,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/Platform_win.cpp:27:
/usr/include/cygwin/in.h:120:1: error: expected declaration before ‘}’ token
 };
 ^
make[2]: *** [CMakeFiles/xmrig_os_dependencies.dir/build.make:139: CMakeFiles/xmrig_os_dependencies.dir/src/Platform_win.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/sys/socket.h:13:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/cygwin/socket.h:27:8: error: redefinition of ‘struct sockaddr’
 struct sockaddr {
        ^~~~~~~~
In file included from /usr/include/w32api/winsock2.h:57:0,
                 from C:/source/src/App_win.cpp:25:
/usr/include/w32api/psdk_inc/_ip_types.h:70:8: note: previous definition of ‘struct sockaddr’
 struct sockaddr {
        ^~~~~~~~
In file included from /usr/include/sys/socket.h:13:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/cygwin/socket.h:39:8: error: redefinition of ‘struct sockaddr_storage’
 struct sockaddr_storage {
        ^~~~~~~~~~~~~~~~
In file included from C:/source/src/App_win.cpp:25:0:
/usr/include/w32api/winsock2.h:260:10: note: previous definition of ‘struct sockaddr_storage’
   struct sockaddr_storage {
          ^~~~~~~~~~~~~~~~
In file included from /usr/include/sys/socket.h:13:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/cygwin/socket.h:52:8: error: redefinition of ‘struct linger’
 struct linger {
        ^~~~~~
In file included from /usr/include/w32api/winsock2.h:57:0,
                 from C:/source/src/App_win.cpp:25:
/usr/include/w32api/psdk_inc/_ip_types.h:63:8: note: previous definition of ‘struct linger’
 struct linger {
        ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/sys/socket.h:21:7: error: conflicting declaration of C function ‘int accept(int, sockaddr*, socklen_t*)’
   int accept (int, struct sockaddr *__peer, socklen_t *);
       ^~~~~~
In file included from C:/source/src/App_win.cpp:25:0:
/usr/include/w32api/winsock2.h:973:37: note: previous declaration ‘SOCKET accept(SOCKET, sockaddr*, int*)’
   WINSOCK_API_LINKAGE SOCKET WSAAPI accept(SOCKET s,struct sockaddr *addr,int *addrlen);
                                     ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/sys/socket.h:23:7: error: conflicting declaration of C function ‘int bind(int, const sockaddr*, socklen_t)’
   int bind (int, const struct sockaddr *__my_addr, socklen_t __addrlen);
       ^~~~
In file included from C:/source/src/App_win.cpp:25:0:
/usr/include/w32api/winsock2.h:974:34: note: previous declaration ‘int bind(SOCKET, const sockaddr*, int)’
   WINSOCK_API_LINKAGE int WSAAPI bind(SOCKET s,const struct sockaddr *name,int namelen);
                                  ^~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/sys/socket.h:24:7: error: conflicting declaration of C function ‘int connect(int, const sockaddr*, socklen_t)’
   int connect (int, const struct sockaddr *, socklen_t);
       ^~~~~~~
In file included from C:/source/src/App_win.cpp:25:0:
/usr/include/w32api/winsock2.h:976:34: note: previous declaration ‘int connect(SOCKET, const sockaddr*, int)’
   WINSOCK_API_LINKAGE int WSAAPI connect(SOCKET s,const struct sockaddr *name,int namelen);
                                  ^~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/sys/socket.h:25:7: error: conflicting declaration of C function ‘int getpeername(int, sockaddr*, socklen_t*)’
   int getpeername (int, struct sockaddr *__peer, socklen_t *);
       ^~~~~~~~~~~
In file included from C:/source/src/App_win.cpp:25:0:
/usr/include/w32api/winsock2.h:978:34: note: previous declaration ‘int getpeername(SOCKET, sockaddr*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI getpeername(SOCKET s,struct sockaddr *name,int *namelen);
                                  ^~~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/sys/socket.h:26:7: error: conflicting declaration of C function ‘int getsockname(int, sockaddr*, socklen_t*)’
   int getsockname (int, struct sockaddr *__addr, socklen_t *);
       ^~~~~~~~~~~
In file included from C:/source/src/App_win.cpp:25:0:
/usr/include/w32api/winsock2.h:979:34: note: previous declaration ‘int getsockname(SOCKET, sockaddr*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI getsockname(SOCKET s,struct sockaddr *name,int *namelen);
                                  ^~~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/sys/socket.h:27:7: error: conflicting declaration of C function ‘int listen(int, int)’
   int listen (int, int __n);
       ^~~~~~
In file included from C:/source/src/App_win.cpp:25:0:
/usr/include/w32api/winsock2.h:987:34: note: previous declaration ‘int listen(SOCKET, int)’
   WINSOCK_API_LINKAGE int WSAAPI listen(SOCKET s,int backlog);
                                  ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/sys/socket.h:28:11: error: conflicting declaration of C function ‘ssize_t recv(int, void*, size_t, int)’
   ssize_t recv (int, void *__buff, size_t __len, int __flags);
           ^~~~
In file included from C:/source/src/App_win.cpp:25:0:
/usr/include/w32api/winsock2.h:992:34: note: previous declaration ‘int recv(SOCKET, char*, int, int)’
   WINSOCK_API_LINKAGE int WSAAPI recv(SOCKET s,char *buf,int len,int flags);
                                  ^~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/sys/socket.h:29:11: error: conflicting declaration of C function ‘ssize_t recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*)’
   ssize_t recvfrom (int, void *__buff, size_t __len, int __flags,
           ^~~~~~~~
In file included from C:/source/src/App_win.cpp:25:0:
/usr/include/w32api/winsock2.h:993:34: note: previous declaration ‘int recvfrom(SOCKET, char*, int, int, sockaddr*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI recvfrom(SOCKET s,char *buf,int len,int flags,struct sockaddr *from,int *fromlen);
                                  ^~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/sys/socket.h:32:11: error: conflicting declaration of C function ‘ssize_t send(int, const void*, size_t, int)’
   ssize_t send (int, const void *__buff, size_t __len, int __flags);
           ^~~~
In file included from C:/source/src/App_win.cpp:25:0:
/usr/include/w32api/winsock2.h:997:34: note: previous declaration ‘int send(SOCKET, const char*, int, int)’
   WINSOCK_API_LINKAGE int WSAAPI send(SOCKET s,const char *buf,int len,int flags);
                                  ^~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/sys/socket.h:34:11: error: conflicting declaration of C function ‘ssize_t sendto(int, const void*, size_t, int, const sockaddr*, socklen_t)’
   ssize_t sendto (int, const void *, size_t __len, int __flags,
           ^~~~~~
In file included from C:/source/src/App_win.cpp:25:0:
/usr/include/w32api/winsock2.h:998:34: note: previous declaration ‘int sendto(SOCKET, const char*, int, int, const sockaddr*, int)’
   WINSOCK_API_LINKAGE int WSAAPI sendto(SOCKET s,const char *buf,int len,int flags,const struct sockaddr *to,int tolen);
                                  ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/sys/socket.h:36:7: error: conflicting declaration of C function ‘int setsockopt(int, int, int, const void*, socklen_t)’
   int setsockopt (int __s, int __level, int __optname, const void *optval,
       ^~~~~~~~~~
In file included from C:/source/src/App_win.cpp:25:0:
/usr/include/w32api/winsock2.h:999:34: note: previous declaration ‘int setsockopt(SOCKET, int, int, const char*, int)’
   WINSOCK_API_LINKAGE int WSAAPI setsockopt(SOCKET s,int level,int optname,const char *optval,int optlen);
                                  ^~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/sys/socket.h:38:7: error: conflicting declaration of C function ‘int getsockopt(int, int, int, void*, socklen_t*)’
   int getsockopt (int __s, int __level, int __optname, void *__optval,
       ^~~~~~~~~~
In file included from C:/source/src/App_win.cpp:25:0:
/usr/include/w32api/winsock2.h:980:34: note: previous declaration ‘int getsockopt(SOCKET, int, int, char*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI getsockopt(SOCKET s,int level,int optname,char *optval,int *optlen);
                                  ^~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/sys/socket.h:40:7: error: conflicting declaration of C function ‘int shutdown(int, int)’
   int shutdown (int, int);
       ^~~~~~~~
In file included from C:/source/src/App_win.cpp:25:0:
/usr/include/w32api/winsock2.h:1000:34: note: previous declaration ‘int shutdown(SOCKET, int)’
   WINSOCK_API_LINKAGE int WSAAPI shutdown(SOCKET s,int how);
                                  ^~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/sys/socket.h:41:7: error: conflicting declaration of C function ‘int socket(int, int, int)’
   int socket (int __family, int __type, int __protocol);
       ^~~~~~
In file included from C:/source/src/App_win.cpp:25:0:
/usr/include/w32api/winsock2.h:1001:37: note: previous declaration ‘SOCKET socket(int, int, int)’
   WINSOCK_API_LINKAGE SOCKET WSAAPI socket(int af,int type,int protocol);
                                     ^~~~~~
In file included from C:/source/src/App_win.cpp:25:0:
/usr/include/cygwin/in.h:39:3: error: expected identifier before numeric constant
   IPPROTO_IP = 0,  /* Dummy protocol for TCP  */
   ^
/usr/include/cygwin/in.h:39:3: error: expected ‘}’ before numeric constant
/usr/include/cygwin/in.h:39:3: error: expected unqualified-id before numeric constant
/usr/include/cygwin/in.h:85:3: error: expected identifier before numeric constant
   IPPORT_ECHO = 7,  /* Echo service.  */
   ^
/usr/include/cygwin/in.h:85:3: error: expected ‘}’ before numeric constant
/usr/include/cygwin/in.h:85:3: error: expected unqualified-id before numeric constant
In file included from /usr/include/netinet/in.h:12:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:31,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/App.h:28,
                 from C:/source/src/App_win.cpp:29:
/usr/include/cygwin/in.h:120:1: error: expected declaration before ‘}’ token
 };
 ^
make[2]: *** [CMakeFiles/xmrig_os_dependencies.dir/build.make:97: CMakeFiles/xmrig_os_dependencies.dir/src/App_win.cpp.o] Error 1
In file included from /usr/include/sys/socket.h:13:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/cygwin/socket.h:27:8: error: redefinition of ‘struct sockaddr’
 struct sockaddr {
        ^~~~~~~~
In file included from /usr/include/w32api/winsock2.h:57:0,
                 from C:/source/src/Mem_win.cpp:25:
/usr/include/w32api/psdk_inc/_ip_types.h:70:8: note: previous definition of ‘struct sockaddr’
 struct sockaddr {
        ^~~~~~~~
In file included from /usr/include/sys/socket.h:13:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/cygwin/socket.h:39:8: error: redefinition of ‘struct sockaddr_storage’
 struct sockaddr_storage {
        ^~~~~~~~~~~~~~~~
In file included from C:/source/src/Mem_win.cpp:25:0:
/usr/include/w32api/winsock2.h:260:10: note: previous definition of ‘struct sockaddr_storage’
   struct sockaddr_storage {
          ^~~~~~~~~~~~~~~~
In file included from /usr/include/sys/socket.h:13:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/cygwin/socket.h:52:8: error: redefinition of ‘struct linger’
 struct linger {
        ^~~~~~
In file included from /usr/include/w32api/winsock2.h:57:0,
                 from C:/source/src/Mem_win.cpp:25:
/usr/include/w32api/psdk_inc/_ip_types.h:63:8: note: previous definition of ‘struct linger’
 struct linger {
        ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/sys/socket.h:21:7: error: conflicting declaration of C function ‘int accept(int, sockaddr*, socklen_t*)’
   int accept (int, struct sockaddr *__peer, socklen_t *);
       ^~~~~~
In file included from C:/source/src/Mem_win.cpp:25:0:
/usr/include/w32api/winsock2.h:973:37: note: previous declaration ‘SOCKET accept(SOCKET, sockaddr*, int*)’
   WINSOCK_API_LINKAGE SOCKET WSAAPI accept(SOCKET s,struct sockaddr *addr,int *addrlen);
                                     ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/sys/socket.h:23:7: error: conflicting declaration of C function ‘int bind(int, const sockaddr*, socklen_t)’
   int bind (int, const struct sockaddr *__my_addr, socklen_t __addrlen);
       ^~~~
In file included from C:/source/src/Mem_win.cpp:25:0:
/usr/include/w32api/winsock2.h:974:34: note: previous declaration ‘int bind(SOCKET, const sockaddr*, int)’
   WINSOCK_API_LINKAGE int WSAAPI bind(SOCKET s,const struct sockaddr *name,int namelen);
                                  ^~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/sys/socket.h:24:7: error: conflicting declaration of C function ‘int connect(int, const sockaddr*, socklen_t)’
   int connect (int, const struct sockaddr *, socklen_t);
       ^~~~~~~
In file included from C:/source/src/Mem_win.cpp:25:0:
/usr/include/w32api/winsock2.h:976:34: note: previous declaration ‘int connect(SOCKET, const sockaddr*, int)’
   WINSOCK_API_LINKAGE int WSAAPI connect(SOCKET s,const struct sockaddr *name,int namelen);
                                  ^~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/sys/socket.h:25:7: error: conflicting declaration of C function ‘int getpeername(int, sockaddr*, socklen_t*)’
   int getpeername (int, struct sockaddr *__peer, socklen_t *);
       ^~~~~~~~~~~
In file included from C:/source/src/Mem_win.cpp:25:0:
/usr/include/w32api/winsock2.h:978:34: note: previous declaration ‘int getpeername(SOCKET, sockaddr*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI getpeername(SOCKET s,struct sockaddr *name,int *namelen);
                                  ^~~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/sys/socket.h:26:7: error: conflicting declaration of C function ‘int getsockname(int, sockaddr*, socklen_t*)’
   int getsockname (int, struct sockaddr *__addr, socklen_t *);
       ^~~~~~~~~~~
In file included from C:/source/src/Mem_win.cpp:25:0:
/usr/include/w32api/winsock2.h:979:34: note: previous declaration ‘int getsockname(SOCKET, sockaddr*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI getsockname(SOCKET s,struct sockaddr *name,int *namelen);
                                  ^~~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/sys/socket.h:27:7: error: conflicting declaration of C function ‘int listen(int, int)’
   int listen (int, int __n);
       ^~~~~~
In file included from C:/source/src/Mem_win.cpp:25:0:
/usr/include/w32api/winsock2.h:987:34: note: previous declaration ‘int listen(SOCKET, int)’
   WINSOCK_API_LINKAGE int WSAAPI listen(SOCKET s,int backlog);
                                  ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/sys/socket.h:28:11: error: conflicting declaration of C function ‘ssize_t recv(int, void*, size_t, int)’
   ssize_t recv (int, void *__buff, size_t __len, int __flags);
           ^~~~
In file included from C:/source/src/Mem_win.cpp:25:0:
/usr/include/w32api/winsock2.h:992:34: note: previous declaration ‘int recv(SOCKET, char*, int, int)’
   WINSOCK_API_LINKAGE int WSAAPI recv(SOCKET s,char *buf,int len,int flags);
                                  ^~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/sys/socket.h:29:11: error: conflicting declaration of C function ‘ssize_t recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*)’
   ssize_t recvfrom (int, void *__buff, size_t __len, int __flags,
           ^~~~~~~~
In file included from C:/source/src/Mem_win.cpp:25:0:
/usr/include/w32api/winsock2.h:993:34: note: previous declaration ‘int recvfrom(SOCKET, char*, int, int, sockaddr*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI recvfrom(SOCKET s,char *buf,int len,int flags,struct sockaddr *from,int *fromlen);
                                  ^~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/sys/socket.h:32:11: error: conflicting declaration of C function ‘ssize_t send(int, const void*, size_t, int)’
   ssize_t send (int, const void *__buff, size_t __len, int __flags);
           ^~~~
In file included from C:/source/src/Mem_win.cpp:25:0:
/usr/include/w32api/winsock2.h:997:34: note: previous declaration ‘int send(SOCKET, const char*, int, int)’
   WINSOCK_API_LINKAGE int WSAAPI send(SOCKET s,const char *buf,int len,int flags);
                                  ^~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/sys/socket.h:34:11: error: conflicting declaration of C function ‘ssize_t sendto(int, const void*, size_t, int, const sockaddr*, socklen_t)’
   ssize_t sendto (int, const void *, size_t __len, int __flags,
           ^~~~~~
In file included from C:/source/src/Mem_win.cpp:25:0:
/usr/include/w32api/winsock2.h:998:34: note: previous declaration ‘int sendto(SOCKET, const char*, int, int, const sockaddr*, int)’
   WINSOCK_API_LINKAGE int WSAAPI sendto(SOCKET s,const char *buf,int len,int flags,const struct sockaddr *to,int tolen);
                                  ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/sys/socket.h:36:7: error: conflicting declaration of C function ‘int setsockopt(int, int, int, const void*, socklen_t)’
   int setsockopt (int __s, int __level, int __optname, const void *optval,
       ^~~~~~~~~~
In file included from C:/source/src/Mem_win.cpp:25:0:
/usr/include/w32api/winsock2.h:999:34: note: previous declaration ‘int setsockopt(SOCKET, int, int, const char*, int)’
   WINSOCK_API_LINKAGE int WSAAPI setsockopt(SOCKET s,int level,int optname,const char *optval,int optlen);
                                  ^~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/sys/socket.h:38:7: error: conflicting declaration of C function ‘int getsockopt(int, int, int, void*, socklen_t*)’
   int getsockopt (int __s, int __level, int __optname, void *__optval,
       ^~~~~~~~~~
In file included from C:/source/src/Mem_win.cpp:25:0:
/usr/include/w32api/winsock2.h:980:34: note: previous declaration ‘int getsockopt(SOCKET, int, int, char*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI getsockopt(SOCKET s,int level,int optname,char *optval,int *optlen);
                                  ^~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/sys/socket.h:40:7: error: conflicting declaration of C function ‘int shutdown(int, int)’
   int shutdown (int, int);
       ^~~~~~~~
In file included from C:/source/src/Mem_win.cpp:25:0:
/usr/include/w32api/winsock2.h:1000:34: note: previous declaration ‘int shutdown(SOCKET, int)’
   WINSOCK_API_LINKAGE int WSAAPI shutdown(SOCKET s,int how);
                                  ^~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/sys/socket.h:41:7: error: conflicting declaration of C function ‘int socket(int, int, int)’
   int socket (int __family, int __type, int __protocol);
       ^~~~~~
In file included from C:/source/src/Mem_win.cpp:25:0:
/usr/include/w32api/winsock2.h:1001:37: note: previous declaration ‘SOCKET socket(int, int, int)’
   WINSOCK_API_LINKAGE SOCKET WSAAPI socket(int af,int type,int protocol);
                                     ^~~~~~
In file included from C:/source/src/Mem_win.cpp:25:0:
/usr/include/cygwin/in.h:39:3: error: expected identifier before numeric constant
   IPPROTO_IP = 0,  /* Dummy protocol for TCP  */
   ^
/usr/include/cygwin/in.h:39:3: error: expected ‘}’ before numeric constant
/usr/include/cygwin/in.h:39:3: error: expected unqualified-id before numeric constant
/usr/include/cygwin/in.h:85:3: error: expected identifier before numeric constant
   IPPORT_ECHO = 7,  /* Echo service.  */
   ^
/usr/include/cygwin/in.h:85:3: error: expected ‘}’ before numeric constant
/usr/include/cygwin/in.h:85:3: error: expected unqualified-id before numeric constant
In file included from /usr/include/netinet/in.h:12:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:31,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/Log.h:28,
                 from C:/source/src/Mem_win.cpp:30:
/usr/include/cygwin/in.h:120:1: error: expected declaration before ‘}’ token
 };
 ^
make[2]: *** [CMakeFiles/xmrig_os_dependencies.dir/build.make:125: CMakeFiles/xmrig_os_dependencies.dir/src/Mem_win.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:184: CMakeFiles/xmrig_os_dependencies.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:995:34: error: conflicting declaration of C function ‘int select(int, _types_fd_set*, _types_fd_set*, _types_fd_set*, PTIMEVAL)’
   WINSOCK_API_LINKAGE int WSAAPI select(int nfds,fd_set *readfds,fd_set *writefds,fd_set *exceptfds,const PTIMEVAL timeout);
                                  ^~~~~~
In file included from /usr/include/sys/types.h:68:0,
                 from /usr/include/stdio.h:61,
                 from C:/source/src/log/ConsoleLog.cpp:26:
/usr/include/sys/select.h:62:5: note: previous declaration ‘int select(int, _types_fd_set*, _types_fd_set*, _types_fd_set*, timeval*)’
 int select __P ((int __n, fd_set *__readfds, fd_set *__writefds,
     ^~~~~~
In file included from /usr/include/sys/socket.h:13:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/cygwin/socket.h:27:8: error: redefinition of ‘struct sockaddr’
 struct sockaddr {
        ^~~~~~~~
In file included from /usr/include/w32api/winsock2.h:57:0,
                 from C:/source/src/log/ConsoleLog.cpp:34:
/usr/include/w32api/psdk_inc/_ip_types.h:70:8: note: previous definition of ‘struct sockaddr’
 struct sockaddr {
        ^~~~~~~~
In file included from /usr/include/sys/socket.h:13:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/cygwin/socket.h:39:8: error: redefinition of ‘struct sockaddr_storage’
 struct sockaddr_storage {
        ^~~~~~~~~~~~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:260:10: note: previous definition of ‘struct sockaddr_storage’
   struct sockaddr_storage {
          ^~~~~~~~~~~~~~~~
In file included from /usr/include/sys/socket.h:13:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/cygwin/socket.h:52:8: error: redefinition of ‘struct linger’
 struct linger {
        ^~~~~~
In file included from /usr/include/w32api/winsock2.h:57:0,
                 from C:/source/src/log/ConsoleLog.cpp:34:
/usr/include/w32api/psdk_inc/_ip_types.h:63:8: note: previous definition of ‘struct linger’
 struct linger {
        ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:21:7: error: conflicting declaration of C function ‘int accept(int, sockaddr*, socklen_t*)’
   int accept (int, struct sockaddr *__peer, socklen_t *);
       ^~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:973:37: note: previous declaration ‘SOCKET accept(SOCKET, sockaddr*, int*)’
   WINSOCK_API_LINKAGE SOCKET WSAAPI accept(SOCKET s,struct sockaddr *addr,int *addrlen);
                                     ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:23:7: error: conflicting declaration of C function ‘int bind(int, const sockaddr*, socklen_t)’
   int bind (int, const struct sockaddr *__my_addr, socklen_t __addrlen);
       ^~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:974:34: note: previous declaration ‘int bind(SOCKET, const sockaddr*, int)’
   WINSOCK_API_LINKAGE int WSAAPI bind(SOCKET s,const struct sockaddr *name,int namelen);
                                  ^~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:24:7: error: conflicting declaration of C function ‘int connect(int, const sockaddr*, socklen_t)’
   int connect (int, const struct sockaddr *, socklen_t);
       ^~~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:976:34: note: previous declaration ‘int connect(SOCKET, const sockaddr*, int)’
   WINSOCK_API_LINKAGE int WSAAPI connect(SOCKET s,const struct sockaddr *name,int namelen);
                                  ^~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:25:7: error: conflicting declaration of C function ‘int getpeername(int, sockaddr*, socklen_t*)’
   int getpeername (int, struct sockaddr *__peer, socklen_t *);
       ^~~~~~~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:978:34: note: previous declaration ‘int getpeername(SOCKET, sockaddr*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI getpeername(SOCKET s,struct sockaddr *name,int *namelen);
                                  ^~~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:26:7: error: conflicting declaration of C function ‘int getsockname(int, sockaddr*, socklen_t*)’
   int getsockname (int, struct sockaddr *__addr, socklen_t *);
       ^~~~~~~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:979:34: note: previous declaration ‘int getsockname(SOCKET, sockaddr*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI getsockname(SOCKET s,struct sockaddr *name,int *namelen);
                                  ^~~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:27:7: error: conflicting declaration of C function ‘int listen(int, int)’
   int listen (int, int __n);
       ^~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:987:34: note: previous declaration ‘int listen(SOCKET, int)’
   WINSOCK_API_LINKAGE int WSAAPI listen(SOCKET s,int backlog);
                                  ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:28:11: error: conflicting declaration of C function ‘ssize_t recv(int, void*, size_t, int)’
   ssize_t recv (int, void *__buff, size_t __len, int __flags);
           ^~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:992:34: note: previous declaration ‘int recv(SOCKET, char*, int, int)’
   WINSOCK_API_LINKAGE int WSAAPI recv(SOCKET s,char *buf,int len,int flags);
                                  ^~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:29:11: error: conflicting declaration of C function ‘ssize_t recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*)’
   ssize_t recvfrom (int, void *__buff, size_t __len, int __flags,
           ^~~~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:993:34: note: previous declaration ‘int recvfrom(SOCKET, char*, int, int, sockaddr*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI recvfrom(SOCKET s,char *buf,int len,int flags,struct sockaddr *from,int *fromlen);
                                  ^~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:32:11: error: conflicting declaration of C function ‘ssize_t send(int, const void*, size_t, int)’
   ssize_t send (int, const void *__buff, size_t __len, int __flags);
           ^~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:997:34: note: previous declaration ‘int send(SOCKET, const char*, int, int)’
   WINSOCK_API_LINKAGE int WSAAPI send(SOCKET s,const char *buf,int len,int flags);
                                  ^~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:34:11: error: conflicting declaration of C function ‘ssize_t sendto(int, const void*, size_t, int, const sockaddr*, socklen_t)’
   ssize_t sendto (int, const void *, size_t __len, int __flags,
           ^~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:998:34: note: previous declaration ‘int sendto(SOCKET, const char*, int, int, const sockaddr*, int)’
   WINSOCK_API_LINKAGE int WSAAPI sendto(SOCKET s,const char *buf,int len,int flags,const struct sockaddr *to,int tolen);
                                  ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:36:7: error: conflicting declaration of C function ‘int setsockopt(int, int, int, const void*, socklen_t)’
   int setsockopt (int __s, int __level, int __optname, const void *optval,
       ^~~~~~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:999:34: note: previous declaration ‘int setsockopt(SOCKET, int, int, const char*, int)’
   WINSOCK_API_LINKAGE int WSAAPI setsockopt(SOCKET s,int level,int optname,const char *optval,int optlen);
                                  ^~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:38:7: error: conflicting declaration of C function ‘int getsockopt(int, int, int, void*, socklen_t*)’
   int getsockopt (int __s, int __level, int __optname, void *__optval,
       ^~~~~~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:980:34: note: previous declaration ‘int getsockopt(SOCKET, int, int, char*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI getsockopt(SOCKET s,int level,int optname,char *optval,int *optlen);
                                  ^~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:40:7: error: conflicting declaration of C function ‘int shutdown(int, int)’
   int shutdown (int, int);
       ^~~~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:1000:34: note: previous declaration ‘int shutdown(SOCKET, int)’
   WINSOCK_API_LINKAGE int WSAAPI shutdown(SOCKET s,int how);
                                  ^~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:41:7: error: conflicting declaration of C function ‘int socket(int, int, int)’
   int socket (int __family, int __type, int __protocol);
       ^~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:1001:37: note: previous declaration ‘SOCKET socket(int, int, int)’
   WINSOCK_API_LINKAGE SOCKET WSAAPI socket(int af,int type,int protocol);
                                     ^~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/cygwin/in.h:39:3: error: expected identifier before numeric constant
   IPPROTO_IP = 0,  /* Dummy protocol for TCP  */
   ^
/usr/include/cygwin/in.h:39:3: error: expected ‘}’ before numeric constant
/usr/include/cygwin/in.h:39:3: error: expected unqualified-id before numeric constant
/usr/include/cygwin/in.h:85:3: error: expected identifier before numeric constant
   IPPORT_ECHO = 7,  /* Echo service.  */
   ^
/usr/include/cygwin/in.h:85:3: error: expected ‘}’ before numeric constant
/usr/include/cygwin/in.h:85:3: error: expected unqualified-id before numeric constant
In file included from /usr/include/netinet/in.h:12:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:31,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/cygwin/in.h:120:1: error: expected declaration before ‘}’ token
 };
 ^
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:995:34: error: conflicting declaration of C function ‘int select(int, _types_fd_set*, _types_fd_set*, _types_fd_set*, PTIMEVAL)’
   WINSOCK_API_LINKAGE int WSAAPI select(int nfds,fd_set *readfds,fd_set *writefds,fd_set *exceptfds,const PTIMEVAL timeout);
                                  ^~~~~~
In file included from /usr/include/sys/types.h:68:0,
                 from /usr/include/stdio.h:61,
                 from C:/source/src/log/ConsoleLog.cpp:26:
/usr/include/sys/select.h:62:5: note: previous declaration ‘int select(int, _types_fd_set*, _types_fd_set*, _types_fd_set*, timeval*)’
 int select __P ((int __n, fd_set *__readfds, fd_set *__writefds,
     ^~~~~~
In file included from /usr/include/sys/socket.h:13:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/cygwin/socket.h:27:8: error: redefinition of ‘struct sockaddr’
 struct sockaddr {
        ^~~~~~~~
In file included from /usr/include/w32api/winsock2.h:57:0,
                 from C:/source/src/log/ConsoleLog.cpp:34:
/usr/include/w32api/psdk_inc/_ip_types.h:70:8: note: previous definition of ‘struct sockaddr’
 struct sockaddr {
        ^~~~~~~~
In file included from /usr/include/sys/socket.h:13:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/cygwin/socket.h:39:8: error: redefinition of ‘struct sockaddr_storage’
 struct sockaddr_storage {
        ^~~~~~~~~~~~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:260:10: note: previous definition of ‘struct sockaddr_storage’
   struct sockaddr_storage {
          ^~~~~~~~~~~~~~~~
In file included from /usr/include/sys/socket.h:13:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/cygwin/socket.h:52:8: error: redefinition of ‘struct linger’
 struct linger {
        ^~~~~~
In file included from /usr/include/w32api/winsock2.h:57:0,
                 from C:/source/src/log/ConsoleLog.cpp:34:
/usr/include/w32api/psdk_inc/_ip_types.h:63:8: note: previous definition of ‘struct linger’
 struct linger {
        ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:21:7: error: conflicting declaration of C function ‘int accept(int, sockaddr*, socklen_t*)’
   int accept (int, struct sockaddr *__peer, socklen_t *);
       ^~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:973:37: note: previous declaration ‘SOCKET accept(SOCKET, sockaddr*, int*)’
   WINSOCK_API_LINKAGE SOCKET WSAAPI accept(SOCKET s,struct sockaddr *addr,int *addrlen);
                                     ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:23:7: error: conflicting declaration of C function ‘int bind(int, const sockaddr*, socklen_t)’
   int bind (int, const struct sockaddr *__my_addr, socklen_t __addrlen);
       ^~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:974:34: note: previous declaration ‘int bind(SOCKET, const sockaddr*, int)’
   WINSOCK_API_LINKAGE int WSAAPI bind(SOCKET s,const struct sockaddr *name,int namelen);
                                  ^~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:24:7: error: conflicting declaration of C function ‘int connect(int, const sockaddr*, socklen_t)’
   int connect (int, const struct sockaddr *, socklen_t);
       ^~~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:976:34: note: previous declaration ‘int connect(SOCKET, const sockaddr*, int)’
   WINSOCK_API_LINKAGE int WSAAPI connect(SOCKET s,const struct sockaddr *name,int namelen);
                                  ^~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:25:7: error: conflicting declaration of C function ‘int getpeername(int, sockaddr*, socklen_t*)’
   int getpeername (int, struct sockaddr *__peer, socklen_t *);
       ^~~~~~~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:978:34: note: previous declaration ‘int getpeername(SOCKET, sockaddr*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI getpeername(SOCKET s,struct sockaddr *name,int *namelen);
                                  ^~~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:26:7: error: conflicting declaration of C function ‘int getsockname(int, sockaddr*, socklen_t*)’
   int getsockname (int, struct sockaddr *__addr, socklen_t *);
       ^~~~~~~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:979:34: note: previous declaration ‘int getsockname(SOCKET, sockaddr*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI getsockname(SOCKET s,struct sockaddr *name,int *namelen);
                                  ^~~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:27:7: error: conflicting declaration of C function ‘int listen(int, int)’
   int listen (int, int __n);
       ^~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:987:34: note: previous declaration ‘int listen(SOCKET, int)’
   WINSOCK_API_LINKAGE int WSAAPI listen(SOCKET s,int backlog);
                                  ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:28:11: error: conflicting declaration of C function ‘ssize_t recv(int, void*, size_t, int)’
   ssize_t recv (int, void *__buff, size_t __len, int __flags);
           ^~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:992:34: note: previous declaration ‘int recv(SOCKET, char*, int, int)’
   WINSOCK_API_LINKAGE int WSAAPI recv(SOCKET s,char *buf,int len,int flags);
                                  ^~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:29:11: error: conflicting declaration of C function ‘ssize_t recvfrom(int, void*, size_t, int, sockaddr*, socklen_t*)’
   ssize_t recvfrom (int, void *__buff, size_t __len, int __flags,
           ^~~~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:993:34: note: previous declaration ‘int recvfrom(SOCKET, char*, int, int, sockaddr*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI recvfrom(SOCKET s,char *buf,int len,int flags,struct sockaddr *from,int *fromlen);
                                  ^~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:32:11: error: conflicting declaration of C function ‘ssize_t send(int, const void*, size_t, int)’
   ssize_t send (int, const void *__buff, size_t __len, int __flags);
           ^~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:997:34: note: previous declaration ‘int send(SOCKET, const char*, int, int)’
   WINSOCK_API_LINKAGE int WSAAPI send(SOCKET s,const char *buf,int len,int flags);
                                  ^~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:34:11: error: conflicting declaration of C function ‘ssize_t sendto(int, const void*, size_t, int, const sockaddr*, socklen_t)’
   ssize_t sendto (int, const void *, size_t __len, int __flags,
           ^~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:998:34: note: previous declaration ‘int sendto(SOCKET, const char*, int, int, const sockaddr*, int)’
   WINSOCK_API_LINKAGE int WSAAPI sendto(SOCKET s,const char *buf,int len,int flags,const struct sockaddr *to,int tolen);
                                  ^~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:36:7: error: conflicting declaration of C function ‘int setsockopt(int, int, int, const void*, socklen_t)’
   int setsockopt (int __s, int __level, int __optname, const void *optval,
       ^~~~~~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:999:34: note: previous declaration ‘int setsockopt(SOCKET, int, int, const char*, int)’
   WINSOCK_API_LINKAGE int WSAAPI setsockopt(SOCKET s,int level,int optname,const char *optval,int optlen);
                                  ^~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:38:7: error: conflicting declaration of C function ‘int getsockopt(int, int, int, void*, socklen_t*)’
   int getsockopt (int __s, int __level, int __optname, void *__optval,
       ^~~~~~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:980:34: note: previous declaration ‘int getsockopt(SOCKET, int, int, char*, int*)’
   WINSOCK_API_LINKAGE int WSAAPI getsockopt(SOCKET s,int level,int optname,char *optval,int *optlen);
                                  ^~~~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:40:7: error: conflicting declaration of C function ‘int shutdown(int, int)’
   int shutdown (int, int);
       ^~~~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:1000:34: note: previous declaration ‘int shutdown(SOCKET, int)’
   WINSOCK_API_LINKAGE int WSAAPI shutdown(SOCKET s,int how);
                                  ^~~~~~~~
In file included from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:30:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/sys/socket.h:41:7: error: conflicting declaration of C function ‘int socket(int, int, int)’
   int socket (int __family, int __type, int __protocol);
       ^~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/w32api/winsock2.h:1001:37: note: previous declaration ‘SOCKET socket(int, int, int)’
   WINSOCK_API_LINKAGE SOCKET WSAAPI socket(int af,int type,int protocol);
                                     ^~~~~~
In file included from C:/source/src/log/ConsoleLog.cpp:34:0:
/usr/include/cygwin/in.h:39:3: error: expected identifier before numeric constant
   IPPROTO_IP = 0,  /* Dummy protocol for TCP  */
   ^
/usr/include/cygwin/in.h:39:3: error: expected ‘}’ before numeric constant
/usr/include/cygwin/in.h:39:3: error: expected unqualified-id before numeric constant
/usr/include/cygwin/in.h:85:3: error: expected identifier before numeric constant
   IPPORT_ECHO = 7,  /* Echo service.  */
   ^
/usr/include/cygwin/in.h:85:3: error: expected ‘}’ before numeric constant
/usr/include/cygwin/in.h:85:3: error: expected unqualified-id before numeric constant
In file included from /usr/include/netinet/in.h:12:0,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv-unix.h:31,
                 from C:/xmrigCC-deps/gcc/libuv/x64/include/uv.h:62,
                 from C:/source/src/log/ConsoleLog.h:28,
                 from C:/source/src/log/ConsoleLog.cpp:39:
/usr/include/cygwin/in.h:120:1: error: expected declaration before ‘}’ token
 };
 ^
make[2]: *** [CMakeFiles/xmrig_common.dir/build.make:120: CMakeFiles/xmrig_common.dir/src/log/ConsoleLog.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:147: CMakeFiles/xmrig_common.dir/all] Error 2
make[2]: *** [CMakeFiles/xmrig_common_cc.dir/build.make:120: CMakeFiles/xmrig_common_cc.dir/src/log/ConsoleLog.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/xmrig_common_cc.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Bendr0id commented 5 years ago

Good finding. I think the root cause of this cygwin issue is a broken msys2 install. That boost was previously compiled against another runtime which names it differently. nothing to worry about..

This issue now looks for some missing STD libs

FranzDE commented 5 years ago

I try another time with a brend new computer and I keep you updated

Bendr0id commented 5 years ago

It's not computer related.. just install the missing libs/headers

Bendr0id commented 5 years ago

w32api-headers maybe. Or you just download a. Older version of msys2, the last one seems to.be broken..

Bendr0id commented 5 years ago

msys2-x86_64-20170918.exe

Try this version. I think that's the one I'm using.. https://sourceforge.net/projects/msys2/files/Base/x86_64/msys2-x86_64-20170918.exe/download

FranzDE commented 5 years ago

msys2-x86_64-20170918.exe

Try this version. I think that's the one I'm using.. https://sourceforge.net/projects/msys2/files/Base/x86_64/msys2-x86_64-20170918.exe/download

I did several tests using your setup: msys2-x86_64-20170918.exe Unfortunately I always get the same result. Exactly as above. The only difference is that with this version msys2 when I launch the command "pacman -Syu" the program warns me that there are 3 conflicting programs and asks me if I want to solve the problems. (in the 3 choices I have always confirmed to solve the problem)

FranzDE commented 5 years ago

I have also tried to change computers and operating systems, but it does not affect.

I confirm what was written before: after instal MSYS2 I run many times: "pacman -Syu" and "pacman -Su" in this way I am not shown the error "cygwin1.dll" but exactly as before I remain the same errors during compile.

FranzDE commented 5 years ago

hi @Bendr0id, I always have the same problem. Have you had time to make a new VM from scratch?

Bendr0id commented 5 years ago

@FranzDE no i did not. Need to clone it, don't want to break my environment.

Ich double checkt my vm and this is the reak version i'm using: msys2-x86_64-20161025.exe

Maybe you can try with that.

Sorry for the wrong version above.

FranzDE commented 5 years ago

https://sourceforge.net/projects/msys2/files/Base/x86_64/msys2-x86_64-20161025.exe/download

thank you very much, I will try and update the discussion

FranzDE commented 5 years ago

@Bendr0id

problems with GCC: "requires gcc-libs=7.3.0-3"

brand new VM: msys2-x86_64-20161025.exe

Administrator@TeamViewer MINGW64 ~
$ pacman -Sy
:: Synchronizing package databases...
 mingw32                                                                                   534.8 KiB  1109K/s 00:00 [####################################################################] 100%
 mingw32.sig                                                                               119.0   B   116K/s 00:00 [####################################################################] 100%
 mingw64                                                                                   535.8 KiB  1669K/s 00:00 [####################################################################] 100%
 mingw64.sig                                                                               119.0   B  0.00B/s 00:00 [####################################################################] 100%
 msys                                                                                      178.4 KiB  34.8M/s 00:00 [####################################################################] 100%
 msys.sig                                                                                  119.0   B   116K/s 00:00 [####################################################################] 100%

Administrator@TeamViewer MINGW64 ~
$ pacman -Sy
:: Synchronizing package databases...
 mingw32 is up to date
 mingw64 is up to date
 msys is up to date

Administrator@TeamViewer MINGW64 ~
$ wget http://repo.msys2.org/msys/x86_64/gcc-7.3.0-3-x86_64.pkg.tar.xz
--2019-01-16 13:31:11--  http://repo.msys2.org/msys/x86_64/gcc-7.3.0-3-x86_64.pkg.tar.xz
Resolving repo.msys2.org (repo.msys2.org)... 45.59.69.178
Connecting to repo.msys2.org (repo.msys2.org)|45.59.69.178|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25431256 (24M) [application/octet-stream]
Saving to: ‘gcc-7.3.0-3-x86_64.pkg.tar.xz’

gcc-7.3.0-3-x86_64.pkg.tar.xz                   100%[=======================================================================================================>]  24.25M  1.27MB/s    in 19s

2019-01-16 13:31:31 (1.25 MB/s) - ‘gcc-7.3.0-3-x86_64.pkg.tar.xz’ saved [25431256/25431256]

Administrator@TeamViewer MINGW64 ~
$ pacman -U gcc-7.3.0-3-x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
warning: cannot resolve "gcc-libs=7.3.0-3", a dependency of "gcc"
:: The following package cannot be upgraded due to unresolvable dependencies:
      gcc

:: Do you want to skip the above package for this upgrade? [y/N] n
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=7.3.0-3

Administrator@TeamViewer MINGW64 ~
$

if I go ahead with the command: "pacman -Syu" and then I try again "pacman -U gcc-7.3.0-3-x86_64.pkg.tar.xz" does not change anything

.


.

Later I tried with a new VM msys2-x86_64-20161025.exe these commands:

pacman -Sy
pacman -S mingw-w64-x86_64-gcc
pacman -S make
pacman -S mingw-w64-x86_64-cmake
pacman -S mingw-w64-x86_64-pkg-config
pacman -S wget tar bzip2
pacman -Syu

wget https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.bz2
tar xvfj boost_1_67_0.tar.bz2
cd boost_1_67_0
./bootstrap.sh --with-libraries=system
./b2

cmake . -G "Unix Makefiles" -DUV_INCLUDE_DIR="c:\xmrigCC-deps\gcc\libuv\x64\include" -DUV_LIBRARY="c:\xmrigCC-deps\gcc\libuv\x64\lib\libuv.a" -DMHD_INCLUDE_DIR="c:\xmrigCC-deps\gcc\libmicrohttpd\x64\include" -DMHD_LIBRARY="c:\xmrigCC-deps\gcc\libmicrohttpd\x64\lib\libmicrohttpd.a" -DOPENSSL_INCLUDE_DIR="c:\xmrigCC-deps\gcc\openssl\x64\include" -DOPENSSL_ROOT_DIR="c:\xmrigCC-deps\gcc\openssl\x64\lib"  -DBOOST_ROOT="c:\msys64\home\user\boost_1_67_0" -DBoost_SYSTEM_LIBRARY="c:\msys64\home\user\boost_1_67_0\stage\lib\libboost_system-mgw82-mt-x64-1_67.a"
make -j

and thats the result:

user@test MINGW64 ~/boost_1_67_0
$ ./b2
Performing configuration checks

    - default address-model    : 64-bit
    - default architecture     : x86

Building the Boost C++ Libraries.

    - symlinks supported       : yes

Component configuration:

    - atomic                   : not building
    - chrono                   : not building
    - container                : not building
    - context                  : not building
    - contract                 : not building
    - coroutine                : not building
    - date_time                : not building
    - exception                : not building
    - fiber                    : not building
    - filesystem               : not building
    - graph                    : not building
    - graph_parallel           : not building
    - iostreams                : not building
    - locale                   : not building
    - log                      : not building
    - math                     : not building
    - mpi                      : not building
    - program_options          : not building
    - python                   : not building
    - random                   : not building
    - regex                    : not building
    - serialization            : not building
    - signals                  : not building
    - stacktrace               : not building
    - system                   : building
    - test                     : not building
    - thread                   : not building
    - timer                    : not building
    - type_erasure             : not building
    - wave                     : not building

...patience...
...found 207 targets...
...updating 36 targets...
gcc.compile.c++ bin.v2\libs\system\build\gcc-8.2.1\debug\address-model-32\link-static\threading-multi\error_code.o
gcc.archive bin.v2\libs\system\build\gcc-8.2.1\debug\address-model-32\link-static\threading-multi\libboost_system-mgw82-mt-d-x32-1_67.a
common.copy stage\lib\libboost_system-mgw82-mt-d-x32-1_67.a
bin.v2\libs\system\build\gcc-8.2.1\debug\address-model-32\link-static\threading-multi\libboost_system-mgw82-mt-d-x32-1_67.a
        1 file copiati.
gcc.compile.c++ bin.v2\libs\system\build\gcc-8.2.1\release\address-model-32\link-static\threading-multi\error_code.o
gcc.archive bin.v2\libs\system\build\gcc-8.2.1\release\address-model-32\link-static\threading-multi\libboost_system-mgw82-mt-x32-1_67.a
common.copy stage\lib\libboost_system-mgw82-mt-x32-1_67.a
bin.v2\libs\system\build\gcc-8.2.1\release\address-model-32\link-static\threading-multi\libboost_system-mgw82-mt-x32-1_67.a
        1 file copiati.
gcc.compile.c++ bin.v2\libs\system\build\gcc-8.2.1\debug\link-static\threading-multi\error_code.o
gcc.archive bin.v2\libs\system\build\gcc-8.2.1\debug\link-static\threading-multi\libboost_system-mgw82-mt-d-x64-1_67.a
common.copy stage\lib\libboost_system-mgw82-mt-d-x64-1_67.a
bin.v2\libs\system\build\gcc-8.2.1\debug\link-static\threading-multi\libboost_system-mgw82-mt-d-x64-1_67.a
        1 file copiati.
gcc.compile.c++ bin.v2\libs\system\build\gcc-8.2.1\release\link-static\threading-multi\error_code.o
gcc.archive bin.v2\libs\system\build\gcc-8.2.1\release\link-static\threading-multi\libboost_system-mgw82-mt-x64-1_67.a
common.copy stage\lib\libboost_system-mgw82-mt-x64-1_67.a
bin.v2\libs\system\build\gcc-8.2.1\release\link-static\threading-multi\libboost_system-mgw82-mt-x64-1_67.a
        1 file copiati.
mklink-or-dir boost\chrono\stopwatches
collegamento simbolico creato per boost\chrono\stopwatches <<===>> ..\..\libs\chrono\stopwatches\include\boost\chrono\stopwatches
link.mklink boost\chrono\stopwatches.hpp
collegamento simbolico creato per boost\chrono\stopwatches.hpp <<===>> ..\..\libs\chrono\stopwatches\include\boost\chrono\stopwatches.hpp
...updated 36 targets...

The Boost C++ Libraries were successfully built!

The following directory should be added to compiler include paths:

    C:\msys64\home\user\boost_1_67_0

The following directory should be added to linker library paths:

    C:\msys64\home\user\boost_1_67_0\stage\lib

user@test MINGW64 ~/boost_1_67_0
$ cd c:\source

user@test MINGW64 /c/source
$ cmake . -G "Unix Makefiles" -DUV_INCLUDE_DIR="c:\xmrigCC-deps\gcc\libuv\x64\include" -DUV_LIBRARY="c:\xmrigCC-deps\gcc\libuv\x64\lib\libuv.a" -DMHD_INCLUDE_DIR="c:\xmrigCC-deps\gcc\libmicrohttpd\x64\include" -DMHD_LIBRARY="c:\xmrigCC-deps\gcc\libmicrohttpd\x64\lib\libmicrohttpd.a" -DOPENSSL_INCLUDE_DIR="c:\xmrigCC-deps\gcc\openssl\x64\include" -DOPENSSL_ROOT_DIR="c:\xmrigCC-deps\gcc\openssl\x64\lib"  -DBOOST_ROOT="c:\msys64\home\user\boost_1_67_0" -DBoost_SYSTEM_LIBRARY="c:\msys64\home\user\boost_1_67_0\stage\lib\libboost_system-mgw82-mt-x64-1_67.a"
-- The C compiler identification is GNU 8.2.1
-- The CXX compiler identification is GNU 8.2.1
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe
-- Check for working C compiler: C:/msys64/mingw64/bin/cc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe
-- Check for working CXX compiler: C:/msys64/mingw64/bin/c++.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found UV: C:/xmrigCC-deps/gcc/libuv/x64/lib/libuv.a
-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   system
-- Found OpenSSL: C:/xmrigCC-deps/gcc/openssl/x64/lib/libcrypto.a
-- Looking for syslog.h
-- Looking for syslog.h - not found
-- Found mhd: C:/xmrigCC-deps/gcc/libmicrohttpd/x64/include
-- The ASM compiler identification is GNU
-- Found assembler: C:/msys64/mingw64/bin/cc.exe
-- Configuring done
-- Generating done
-- Build files have been written to: C:/source

user@test MINGW64 /c/source
$ make -j
Scanning dependencies of target xmrig_asm
Scanning dependencies of target cpuid
Scanning dependencies of target xmrig_cpuid
[  1%] Building ASM object CMakeFiles/xmrig_asm.dir/src/crypto/asm/win/cn_main_loop_win_gcc.S.obj
[  2%] Building C object src/3rdparty/libcpuid/CMakeFiles/cpuid.dir/cpuid_main.c.obj
[  3%] Building C object src/3rdparty/libcpuid/CMakeFiles/cpuid.dir/recog_amd.c.obj
[  4%] Building C object src/3rdparty/libcpuid/CMakeFiles/cpuid.dir/asm-bits.c.obj
[  6%] Building CXX object CMakeFiles/xmrig_cpuid.dir/src/Cpu_cpuid.cpp.obj
[  7%] Building C object src/3rdparty/libcpuid/CMakeFiles/cpuid.dir/recog_intel.c.obj
[  8%] Building C object src/3rdparty/libcpuid/CMakeFiles/cpuid.dir/libcpuid_util.c.obj
Scanning dependencies of target xmrigDaemon
[  9%] Linking C static library libxmrig_asm.a
[ 10%] Building CXX object CMakeFiles/xmrigDaemon.dir/src/cc/XMRigd.cpp.obj
[ 12%] Building RC object CMakeFiles/xmrigDaemon.dir/res/app.rc.obj
Scanning dependencies of target xmrig_os_dependencies
Scanning dependencies of target xmrig_cc_common
[ 13%] Building RC object CMakeFiles/xmrig_os_dependencies.dir/res/app.rc.obj
[ 14%] Building CXX object CMakeFiles/xmrig_os_dependencies.dir/src/api/Api.cpp.obj
Scanning dependencies of target xmrig_common_cc
Scanning dependencies of target xmrig_common
[ 15%] Building CXX object CMakeFiles/xmrig_os_dependencies.dir/src/api/ApiState.cpp.obj
[ 16%] Building CXX object CMakeFiles/xmrig_cc_common.dir/src/cc/ControlCommand.cpp.obj
C:/source/src/Cpu_cpuid.cpp: In member function 'void CpuImpl::initCommon()':
C:/source/src/Cpu_cpuid.cpp:45:12: warning: 'char* strncpy(char*, const char*, size_t)' output may be truncated copying 63 bytes from a string of length 63 [-Wstringop-truncation]
     strncpy(m_brand, data.brand_str, sizeof(m_brand) - 1);
     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 18%] Building CXX object CMakeFiles/xmrig_cc_common.dir/src/cc/ClientStatus.cpp.obj
[ 19%] Building CXX object CMakeFiles/xmrig_cc_common.dir/src/cc/GPUInfo.cpp.obj
[ 20%] Building CXX object CMakeFiles/xmrig_os_dependencies.dir/src/Platform_win.cpp.obj
[ 21%] Building CXX object CMakeFiles/xmrig_os_dependencies.dir/src/App_win.cpp.obj
[ 24%] Building CXX object CMakeFiles/xmrig_os_dependencies.dir/src/Cpu_win.cpp.obj
[ 24%] Building CXX object CMakeFiles/xmrig_os_dependencies.dir/src/Mem_win.cpp.obj
[ 25%] Linking CXX static library libxmrig_cpuid.a
[ 25%] Built target xmrig_asm
[ 26%] Building CXX object CMakeFiles/xmrig_common.dir/src/Console.cpp.obj
[ 27%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/Mem.cpp.obj
[ 28%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/Console.cpp.obj
[ 30%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/net/Url.cpp.obj
[ 31%] Building CXX object CMakeFiles/xmrig_common.dir/src/Mem.cpp.obj
In file included from C:/source/src/cc/ControlCommand.h:22,
                 from C:/source/src/cc/ControlCommand.cpp:22:
C:/source/src/3rdparty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue<Encoding, Allocator>::SetObjectRaw(rapidjson::GenericValue<Encoding, Allocator>::Member*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::GenericValue<Encoding, Allocator>::Member = rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >; rapidjson::SizeType = unsigned int]':
C:/source/src/3rdparty/rapidjson/document.h:2363:9:   required from 'bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndObject(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]'
C:/source/src/3rdparty/rapidjson/reader.h:1736:18:   required from 'rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:1832:58:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:487:46:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2159:22:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<>; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2224:55:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const typename SourceEncoding::Ch*) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<>; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; typename SourceEncoding::Ch = char]'
C:/source/src/3rdparty/rapidjson/document.h:2233:43:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const Ch*) [with unsigned int parseFlags = 160; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]'
C:/source/src/3rdparty/rapidjson/document.h:2240:41:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const Ch*) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]'
C:/source/src/cc/ControlCommand.cpp:49:37:   required from here
C:/source/src/3rdparty/rapidjson/document.h:1952:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'rapidjson::GenericValue<rapidjson::UTF8<> >::Member' {aka 'struct rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >'} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess]
             std::memcpy(m, members, count * sizeof(Member));
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/source/src/cc/ControlCommand.h:22,
                 from C:/source/src/cc/ControlCommand.cpp:22:
C:/source/src/3rdparty/rapidjson/document.h:71:8: note: 'rapidjson::GenericValue<rapidjson::UTF8<> >::Member' {aka 'struct rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >'} declared here
 struct GenericMember {
        ^~~~~~~~~~~~~
In file included from C:/source/src/cc/ControlCommand.h:22,
                 from C:/source/src/cc/ControlCommand.cpp:22:
C:/source/src/3rdparty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue<Encoding, Allocator>::SetArrayRaw(rapidjson::GenericValue<Encoding, Allocator>*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::SizeType = unsigned int]':
C:/source/src/3rdparty/rapidjson/document.h:2371:9:   required from 'bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndArray(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]'
C:/source/src/3rdparty/rapidjson/reader.h:1766:18:   required from 'rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:1832:58:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:487:46:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2159:22:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<>; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2224:55:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const typename SourceEncoding::Ch*) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<>; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; typename SourceEncoding::Ch = char]'
C:/source/src/3rdparty/rapidjson/document.h:2233:43:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const Ch*) [with unsigned int parseFlags = 160; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]'
C:/source/src/3rdparty/rapidjson/document.h:2240:41:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const Ch*) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]'
C:/source/src/cc/ControlCommand.cpp:49:37:   required from here
C:/source/src/3rdparty/rapidjson/document.h:1939:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class rapidjson::GenericValue<rapidjson::UTF8<> >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
             std::memcpy(e, values, count * sizeof(GenericValue));
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/source/src/3rdparty/rapidjson/document.h:540:7: note: 'class rapidjson::GenericValue<rapidjson::UTF8<> >' declared here
 class GenericValue {
       ^~~~~~~~~~~~
[ 46%] Building CXX object CMakeFiles/xmrig_common.dir/src/log/Log.cpp.obj
[ 49%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/Platform.cpp.obj
[ 42%] Building CXX object CMakeFiles/xmrig_common.dir/src/Cpu.cpp.obj
[ 50%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/log/RemoteLog.cpp.obj
[ 50%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/Options.cpp.obj
[ 49%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/log/ConsoleLog.cpp.obj
[ 49%] Building CXX object CMakeFiles/xmrig_common.dir/src/Options.cpp.obj
[ 50%] Building CXX object CMakeFiles/xmrig_common.dir/src/net/Url.cpp.obj
[ 50%] Building CXX object CMakeFiles/xmrig_common.dir/src/log/FileLog.cpp.obj
[ 50%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/log/Log.cpp.obj
[ 50%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/log/FileLog.cpp.obj
[ 50%] Building CXX object CMakeFiles/xmrig_common.dir/src/Platform.cpp.obj
[ 50%] Linking C static library libcpuid.a
[ 51%] Linking CXX executable xmrigDaemon.exe
[ 50%] Building CXX object CMakeFiles/xmrig_common.dir/src/log/ConsoleLog.cpp.obj
[ 49%] Building CXX object CMakeFiles/xmrig_common_cc.dir/src/Cpu.cpp.obj
[ 49%] Building CXX object CMakeFiles/xmrig_common.dir/src/log/RemoteLog.cpp.obj
[ 51%] Built target xmrig_cpuid
In file included from C:/source/src/Mem.cpp:27:
C:/source/src/crypto/CryptoNight.h:53:28: warning: 'variant_xtl_table' defined but not used [-Wunused-variable]
 alignas(64) static uint8_t variant_xtl_table[256];
                            ^~~~~~~~~~~~~~~~~
C:/source/src/crypto/CryptoNight.h:52:28: warning: 'variant1_table' defined but not used [-Wunused-variable]
 alignas(64) static uint8_t variant1_table[256];
                            ^~~~~~~~~~~~~~
In file included from C:/source/src/Mem_win.cpp:31:
C:/source/src/crypto/CryptoNight.h:53:28: warning: 'variant_xtl_table' defined but not used [-Wunused-variable]
 alignas(64) static uint8_t variant_xtl_table[256];
                            ^~~~~~~~~~~~~~~~~
C:/source/src/crypto/CryptoNight.h:52:28: warning: 'variant1_table' defined but not used [-Wunused-variable]
 alignas(64) static uint8_t variant1_table[256];
                            ^~~~~~~~~~~~~~
[ 51%] Built target xmrigDaemon
[ 51%] Built target cpuid
[ 53%] Linking CXX static library libxmrig_os_dependencies.a
[ 54%] Linking CXX static library libxmrig_cc_common.a
[ 54%] Built target xmrig_os_dependencies
[ 54%] Built target xmrig_cc_common
In file included from C:/source/src/Mem.cpp:27:
C:/source/src/crypto/CryptoNight.h:53:28: warning: 'variant_xtl_table' defined but not used [-Wunused-variable]
 alignas(64) static uint8_t variant_xtl_table[256];
                            ^~~~~~~~~~~~~~~~~
C:/source/src/crypto/CryptoNight.h:52:28: warning: 'variant1_table' defined but not used [-Wunused-variable]
 alignas(64) static uint8_t variant1_table[256];
                            ^~~~~~~~~~~~~~
Scanning dependencies of target xmrig_tls
In file included from C:/source/src/Options.cpp:48:
C:/source/src/3rdparty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue<Encoding, Allocator>::SetObjectRaw(rapidjson::GenericValue<Encoding, Allocator>::Member*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; rapidjson::GenericValue<Encoding, Allocator>::Member = rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >; rapidjson::SizeType = unsigned int]':
C:/source/src/3rdparty/rapidjson/document.h:2363:9:   required from 'bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndObject(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]'
C:/source/src/3rdparty/rapidjson/reader.h:1736:18:   required from 'rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:1832:58:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:487:46:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2159:22:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<char>; InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2185:70:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/Options.cpp:491:23:   required from here
C:/source/src/3rdparty/rapidjson/document.h:1952:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::Member' {aka 'struct rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >'} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess]
             std::memcpy(m, members, count * sizeof(Member));
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/source/src/Options.cpp:48:
C:/source/src/3rdparty/rapidjson/document.h:71:8: note: 'rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::Member' {aka 'struct rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >'} declared here
 struct GenericMember {
        ^~~~~~~~~~~~~
In file included from C:/source/src/Options.cpp:48:
C:/source/src/3rdparty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue<Encoding, Allocator>::SetArrayRaw(rapidjson::GenericValue<Encoding, Allocator>*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; rapidjson::SizeType = unsigned int]':
C:/source/src/3rdparty/rapidjson/document.h:2371:9:   required from 'bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndArray(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]'
C:/source/src/3rdparty/rapidjson/reader.h:1766:18:   required from 'rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:1832:58:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:487:46:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2159:22:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<char>; InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2185:70:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/Options.cpp:491:23:   required from here
C:/source/src/3rdparty/rapidjson/document.h:1939:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
             std::memcpy(e, values, count * sizeof(GenericValue));
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/source/src/3rdparty/rapidjson/document.h:540:7: note: 'class rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >' declared here
 class GenericValue {
       ^~~~~~~~~~~~
In file included from C:/source/src/Options.cpp:48:
C:/source/src/3rdparty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue<Encoding, Allocator>::SetObjectRaw(rapidjson::GenericValue<Encoding, Allocator>::Member*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; rapidjson::GenericValue<Encoding, Allocator>::Member = rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >; rapidjson::SizeType = unsigned int]':
C:/source/src/3rdparty/rapidjson/document.h:2363:9:   required from 'bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndObject(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]'
C:/source/src/3rdparty/rapidjson/reader.h:1736:18:   required from 'rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:1832:58:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:487:46:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2159:22:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<char>; InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2185:70:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/Options.cpp:491:23:   required from here
C:/source/src/3rdparty/rapidjson/document.h:1952:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::Member' {aka 'struct rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >'} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess]
             std::memcpy(m, members, count * sizeof(Member));
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/source/src/Options.cpp:48:
C:/source/src/3rdparty/rapidjson/document.h:71:8: note: 'rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::Member' {aka 'struct rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >'} declared here
 struct GenericMember {
        ^~~~~~~~~~~~~
In file included from C:/source/src/Options.cpp:48:
C:/source/src/3rdparty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue<Encoding, Allocator>::SetArrayRaw(rapidjson::GenericValue<Encoding, Allocator>*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; rapidjson::SizeType = unsigned int]':
C:/source/src/3rdparty/rapidjson/document.h:2371:9:   required from 'bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndArray(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]'
C:/source/src/3rdparty/rapidjson/reader.h:1766:18:   required from 'rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:1832:58:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:487:46:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::FileReadStream; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2159:22:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<char>; InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2185:70:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with InputStream = rapidjson::FileReadStream; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/Options.cpp:491:23:   required from here
C:/source/src/3rdparty/rapidjson/document.h:1939:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
             std::memcpy(e, values, count * sizeof(GenericValue));
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/source/src/3rdparty/rapidjson/document.h:540:7: note: 'class rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >' declared here
 class GenericValue {
       ^~~~~~~~~~~~
[ 55%] Building CXX object CMakeFiles/xmrig_tls.dir/src/net/BoostTlsConnection.cpp.obj
[ 56%] Linking CXX static library libxmrig_common.a
[ 57%] Linking CXX static library libxmrig_common_cc.a
[ 57%] Built target xmrig_common
[ 57%] Built target xmrig_common_cc
[ 59%] Linking CXX static library libxmrig_tls.a
[ 59%] Built target xmrig_tls
Scanning dependencies of target xmrigCCServer
[ 60%] Building CXX object CMakeFiles/xmrigCCServer.dir/src/cc/CCServer.cpp.obj
[ 61%] Building CXX object CMakeFiles/xmrigCCServer.dir/src/cc/Service.cpp.obj
[ 66%] Building CXX object CMakeFiles/xmrigCCServer.dir/src/cc/XMRigCC.cpp.obj
[ 66%] Building RC object CMakeFiles/xmrigCCServer.dir/res/app.rc.obj
[ 66%] Building CXX object CMakeFiles/xmrigCCServer.dir/src/cc/Httpd.cpp.obj
[ 66%] Building CXX object CMakeFiles/xmrigCCServer.dir/src/cc/Summary.cpp.obj
In file included from C:/source/src/cc/Service.cpp:37:
C:/source/src/3rdparty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue<Encoding, Allocator>::SetObjectRaw(rapidjson::GenericValue<Encoding, Allocator>::Member*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::GenericValue<Encoding, Allocator>::Member = rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >; rapidjson::SizeType = unsigned int]':
C:/source/src/3rdparty/rapidjson/document.h:2363:9:   required from 'bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndObject(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]'
C:/source/src/3rdparty/rapidjson/reader.h:1736:18:   required from 'rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:1832:58:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:487:46:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2159:22:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<>; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2224:55:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const typename SourceEncoding::Ch*) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<>; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; typename SourceEncoding::Ch = char]'
C:/source/src/3rdparty/rapidjson/document.h:2233:43:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const Ch*) [with unsigned int parseFlags = 160; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]'
C:/source/src/3rdparty/rapidjson/document.h:2240:41:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const Ch*) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]'
C:/source/src/cc/Service.cpp:195:42:   required from here
C:/source/src/3rdparty/rapidjson/document.h:1952:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'rapidjson::GenericValue<rapidjson::UTF8<> >::Member' {aka 'struct rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >'} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess]
             std::memcpy(m, members, count * sizeof(Member));
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/source/src/cc/Service.cpp:37:
C:/source/src/3rdparty/rapidjson/document.h:71:8: note: 'rapidjson::GenericValue<rapidjson::UTF8<> >::Member' {aka 'struct rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >'} declared here
 struct GenericMember {
        ^~~~~~~~~~~~~
In file included from C:/source/src/cc/Service.cpp:37:
C:/source/src/3rdparty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue<Encoding, Allocator>::SetArrayRaw(rapidjson::GenericValue<Encoding, Allocator>*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::SizeType = unsigned int]':
C:/source/src/3rdparty/rapidjson/document.h:2371:9:   required from 'bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndArray(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]'
C:/source/src/3rdparty/rapidjson/reader.h:1766:18:   required from 'rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:1832:58:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:487:46:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2159:22:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<>; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2224:55:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const typename SourceEncoding::Ch*) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<>; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; typename SourceEncoding::Ch = char]'
C:/source/src/3rdparty/rapidjson/document.h:2233:43:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const Ch*) [with unsigned int parseFlags = 160; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]'
C:/source/src/3rdparty/rapidjson/document.h:2240:41:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const Ch*) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]'
C:/source/src/cc/Service.cpp:195:42:   required from here
C:/source/src/3rdparty/rapidjson/document.h:1939:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class rapidjson::GenericValue<rapidjson::UTF8<> >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
             std::memcpy(e, values, count * sizeof(GenericValue));
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/source/src/3rdparty/rapidjson/document.h:540:7: note: 'class rapidjson::GenericValue<rapidjson::UTF8<> >' declared here
 class GenericValue {
       ^~~~~~~~~~~~
In file included from C:/source/src/cc/Service.cpp:32:
C:/source/src/win_dirent.h:1022:1: warning: 'int versionsort(const dirent**, const dirent**)' defined but not used [-Wunused-function]
 versionsort(
 ^~~~~~~~~~~
C:/source/src/win_dirent.h:875:1: warning: 'int scandir(const char*, dirent***, int (*)(const dirent*), int (*)(const dirent**, const dirent**))' defined but not used [-Wunused-function]
 scandir(
 ^~~~~~~
C:/source/src/win_dirent.h:864:1: warning: 'void rewinddir(DIR*)' defined but not used [-Wunused-function]
 rewinddir(
 ^~~~~~~~~
C:/source/src/win_dirent.h:458:1: warning: '_wdirent* _wreaddir(_WDIR*)' defined but not used [-Wunused-function]
 _wreaddir(
 ^~~~~~~~~
Scanning dependencies of target xmrigMiner
[ 67%] Building CXX object CMakeFiles/xmrigMiner.dir/src/api/NetworkState.cpp.obj
[ 68%] Building CXX object CMakeFiles/xmrigMiner.dir/src/App.cpp.obj
[ 71%] Building CXX object CMakeFiles/xmrigMiner.dir/src/net/Client.cpp.obj
[ 71%] Building CXX object CMakeFiles/xmrigMiner.dir/src/net/BoostTcpConnection.cpp.obj
[ 72%] Building CXX object CMakeFiles/xmrigMiner.dir/src/net/Job.cpp.obj
[ 73%] Building CXX object CMakeFiles/xmrigMiner.dir/src/net/Connection.cpp.obj
C:/source/src/net/Job.cpp: In member function 'PowVariant Job::powVariant() const':
C:/source/src/net/Job.cpp:156:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
[ 74%] Building CXX object CMakeFiles/xmrigMiner.dir/src/net/strategies/FailoverStrategy.cpp.obj
[ 75%] Building CXX object CMakeFiles/xmrigMiner.dir/src/net/strategies/DonateStrategy.cpp.obj
[ 77%] Building CXX object CMakeFiles/xmrigMiner.dir/src/net/Network.cpp.obj
[ 78%] Building CXX object CMakeFiles/xmrigMiner.dir/src/Summary.cpp.obj
[ 79%] Building CXX object CMakeFiles/xmrigMiner.dir/src/net/strategies/SinglePoolStrategy.cpp.obj
[ 81%] Building CXX object CMakeFiles/xmrigMiner.dir/src/workers/MultiWorker.cpp.obj
[ 81%] Building CXX object CMakeFiles/xmrigMiner.dir/src/net/SubmitResult.cpp.obj
[ 83%] Building CXX object CMakeFiles/xmrigMiner.dir/src/workers/Handle.cpp.obj
[ 84%] Building CXX object CMakeFiles/xmrigMiner.dir/src/workers/Hashrate.cpp.obj
In file included from C:/source/src/net/Client.cpp:39:
C:/source/src/3rdparty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue<Encoding, Allocator>::SetObjectRaw(rapidjson::GenericValue<Encoding, Allocator>::Member*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; rapidjson::GenericValue<Encoding, Allocator>::Member = rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >; rapidjson::SizeType = unsigned int]':
C:/source/src/3rdparty/rapidjson/document.h:2363:9:   required from 'bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndObject(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]'
C:/source/src/3rdparty/rapidjson/reader.h:1736:18:   required from 'rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 161; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:1832:58:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 161; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:487:46:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 161; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2159:22:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 161; SourceEncoding = rapidjson::UTF8<char>; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2175:62:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 161; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2200:58:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseInsitu(rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch*) [with unsigned int parseFlags = 160; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]'
C:/source/src/3rdparty/rapidjson/document.h:2208:47:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseInsitu(rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch*) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]'
C:/source/src/net/Client.cpp:442:29:   required from here
C:/source/src/3rdparty/rapidjson/document.h:1952:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::Member' {aka 'struct rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >'} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess]
             std::memcpy(m, members, count * sizeof(Member));
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/source/src/net/Client.cpp:39:
C:/source/src/3rdparty/rapidjson/document.h:71:8: note: 'rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >::Member' {aka 'struct rapidjson::GenericMember<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >'} declared here
 struct GenericMember {
        ^~~~~~~~~~~~~
In file included from C:/source/src/net/Client.cpp:39:
C:/source/src/3rdparty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue<Encoding, Allocator>::SetArrayRaw(rapidjson::GenericValue<Encoding, Allocator>*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; rapidjson::SizeType = unsigned int]':
C:/source/src/3rdparty/rapidjson/document.h:2371:9:   required from 'bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndArray(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]'
C:/source/src/3rdparty/rapidjson/reader.h:1766:18:   required from 'rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 161; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:1832:58:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 161; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:487:46:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 161; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>; SourceEncoding = rapidjson::UTF8<char>; TargetEncoding = rapidjson::UTF8<char>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2159:22:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 161; SourceEncoding = rapidjson::UTF8<char>; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2175:62:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 161; InputStream = rapidjson::GenericInsituStringStream<rapidjson::UTF8<char> >; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2200:58:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseInsitu(rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch*) [with unsigned int parseFlags = 160; Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]'
C:/source/src/3rdparty/rapidjson/document.h:2208:47:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseInsitu(rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch*) [with Encoding = rapidjson::UTF8<char>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]'
C:/source/src/net/Client.cpp:442:29:   required from here
C:/source/src/3rdparty/rapidjson/document.h:1939:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
             std::memcpy(e, values, count * sizeof(GenericValue));
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/source/src/3rdparty/rapidjson/document.h:540:7: note: 'class rapidjson::GenericValue<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator> >' declared here
 class GenericValue {
       ^~~~~~~~~~~~
C:/source/src/App.cpp: In static member function 'static void App::onCommandReceived(uv_async_t*)':
C:/source/src/App.cpp:296:72: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
     auto command = reinterpret_cast<ControlCommand::Command &> (async->data);
                                                                 ~~~~~~~^~~~
[ 85%] Building CXX object CMakeFiles/xmrigMiner.dir/src/workers/Worker.cpp.obj
[ 86%] Building CXX object CMakeFiles/xmrigMiner.dir/src/workers/Workers.cpp.obj
[ 87%] Building CXX object CMakeFiles/xmrigMiner.dir/src/xmrig.cpp.obj
[ 89%] Building C object CMakeFiles/xmrigMiner.dir/src/crypto/c_keccak.c.obj
[ 90%] Building C object CMakeFiles/xmrigMiner.dir/src/crypto/c_groestl.c.obj
[ 91%] Building C object CMakeFiles/xmrigMiner.dir/src/crypto/c_blake256.c.obj
[ 92%] Building C object CMakeFiles/xmrigMiner.dir/src/crypto/c_jh.c.obj
[ 93%] Building C object CMakeFiles/xmrigMiner.dir/src/crypto/c_skein.c.obj
In file included from C:/source/src/App.cpp:33:
C:/source/src/crypto/CryptoNight.h: At global scope:
C:/source/src/crypto/CryptoNight.h:53:28: warning: 'variant_xtl_table' defined but not used [-Wunused-variable]
 alignas(64) static uint8_t variant_xtl_table[256];
                            ^~~~~~~~~~~~~~~~~
C:/source/src/crypto/CryptoNight.h:52:28: warning: 'variant1_table' defined but not used [-Wunused-variable]
 alignas(64) static uint8_t variant1_table[256];
                            ^~~~~~~~~~~~~~
[ 95%] Building CXX object CMakeFiles/xmrigMiner.dir/src/crypto/CryptoNight.cpp.obj
[ 96%] Building CXX object CMakeFiles/xmrigMiner.dir/src/cc/CCClient.cpp.obj
[ 97%] Building RC object CMakeFiles/xmrigMiner.dir/res/app.rc.obj
[ 98%] Linking CXX executable xmrigCCServer.exe
CMakeFiles/xmrigCCServer.dir/objects.a(Service.cpp.obj):Service.cpp:(.text+0x20a0): undefined reference to `TLS_client_method'
CMakeFiles/xmrigCCServer.dir/objects.a(Service.cpp.obj):Service.cpp:(.text+0x2db1): undefined reference to `TLS_client_method'
CMakeFiles/xmrigCCServer.dir/objects.a(Service.cpp.obj):Service.cpp:(.text.startup+0x8b): undefined reference to `OPENSSL_init_ssl'
CMakeFiles/xmrigCCServer.dir/objects.a(Service.cpp.obj):Service.cpp:(.text.startup+0x94): undefined reference to `OPENSSL_init_ssl'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/xmrigCCServer.dir/build.make:169: xmrigCCServer.exe] Error 1
make[1]: *** [CMakeFiles/Makefile2:380: CMakeFiles/xmrigCCServer.dir/all] Error 2
make[1]: *** Attesa per i processi non terminati....
In file included from C:/source/src/workers/MultiWorker.cpp:30:
C:/source/src/crypto/CryptoNight.h:53:28: warning: 'variant_xtl_table' defined but not used [-Wunused-variable]
 alignas(64) static uint8_t variant_xtl_table[256];
                            ^~~~~~~~~~~~~~~~~
C:/source/src/crypto/CryptoNight.h:52:28: warning: 'variant1_table' defined but not used [-Wunused-variable]
 alignas(64) static uint8_t variant1_table[256];
                            ^~~~~~~~~~~~~~
In file included from C:/source/src/cc/ClientStatus.h:25,
                 from C:/source/src/cc/CCClient.h:28,
                 from C:/source/src/cc/CCClient.cpp:28:
C:/source/src/3rdparty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue<Encoding, Allocator>::SetObjectRaw(rapidjson::GenericValue<Encoding, Allocator>::Member*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::GenericValue<Encoding, Allocator>::Member = rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >; rapidjson::SizeType = unsigned int]':
C:/source/src/3rdparty/rapidjson/document.h:2363:9:   required from 'bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndObject(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]'
C:/source/src/3rdparty/rapidjson/reader.h:1736:18:   required from 'rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:1832:58:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:487:46:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2159:22:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<>; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2224:55:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const typename SourceEncoding::Ch*) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<>; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; typename SourceEncoding::Ch = char]'
C:/source/src/3rdparty/rapidjson/document.h:2233:43:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const Ch*) [with unsigned int parseFlags = 160; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]'
C:/source/src/3rdparty/rapidjson/document.h:2240:41:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const Ch*) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]'
C:/source/src/cc/CCClient.cpp:251:46:   required from here
C:/source/src/3rdparty/rapidjson/document.h:1952:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'rapidjson::GenericValue<rapidjson::UTF8<> >::Member' {aka 'struct rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >'} with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess]
             std::memcpy(m, members, count * sizeof(Member));
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:/source/src/cc/ClientStatus.h:25,
                 from C:/source/src/cc/CCClient.h:28,
                 from C:/source/src/cc/CCClient.cpp:28:
C:/source/src/3rdparty/rapidjson/document.h:71:8: note: 'rapidjson::GenericValue<rapidjson::UTF8<> >::Member' {aka 'struct rapidjson::GenericMember<rapidjson::UTF8<>, rapidjson::MemoryPoolAllocator<> >'} declared here
 struct GenericMember {
        ^~~~~~~~~~~~~
In file included from C:/source/src/cc/ClientStatus.h:25,
                 from C:/source/src/cc/CCClient.h:28,
                 from C:/source/src/cc/CCClient.cpp:28:
C:/source/src/3rdparty/rapidjson/document.h: In instantiation of 'void rapidjson::GenericValue<Encoding, Allocator>::SetArrayRaw(rapidjson::GenericValue<Encoding, Allocator>*, rapidjson::SizeType, Allocator&) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; rapidjson::SizeType = unsigned int]':
C:/source/src/3rdparty/rapidjson/document.h:2371:9:   required from 'bool rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::EndArray(rapidjson::SizeType) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::SizeType = unsigned int]'
C:/source/src/3rdparty/rapidjson/reader.h:1766:18:   required from 'rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Transit(rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Token, rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParsingState, InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:1832:58:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::IterativeParse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/reader.h:487:46:   required from 'rapidjson::ParseResult rapidjson::GenericReader<SourceEncoding, TargetEncoding, StackAllocator>::Parse(InputStream&, Handler&) [with unsigned int parseFlags = 160; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Handler = rapidjson::GenericDocument<rapidjson::UTF8<> >; SourceEncoding = rapidjson::UTF8<>; TargetEncoding = rapidjson::UTF8<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2159:22:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::ParseStream(InputStream&) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<>; InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator]'
C:/source/src/3rdparty/rapidjson/document.h:2224:55:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const typename SourceEncoding::Ch*) [with unsigned int parseFlags = 160; SourceEncoding = rapidjson::UTF8<>; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; typename SourceEncoding::Ch = char]'
C:/source/src/3rdparty/rapidjson/document.h:2233:43:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const Ch*) [with unsigned int parseFlags = 160; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]'
C:/source/src/3rdparty/rapidjson/document.h:2240:41:   required from 'rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>& rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Parse(const Ch*) [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<>; StackAllocator = rapidjson::CrtAllocator; rapidjson::GenericDocument<Encoding, Allocator, StackAllocator>::Ch = char]'
C:/source/src/cc/CCClient.cpp:251:46:   required from here
C:/source/src/3rdparty/rapidjson/document.h:1939:24: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class rapidjson::GenericValue<rapidjson::UTF8<> >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
             std::memcpy(e, values, count * sizeof(GenericValue));
             ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/source/src/3rdparty/rapidjson/document.h:540:7: note: 'class rapidjson::GenericValue<rapidjson::UTF8<> >' declared here
 class GenericValue {
       ^~~~~~~~~~~~
[100%] Linking CXX executable xmrigMiner.exe
CMakeFiles/xmrigMiner.dir/objects.a(App.cpp.obj):App.cpp:(.text.startup+0x3d): undefined reference to `OPENSSL_init_ssl'
CMakeFiles/xmrigMiner.dir/objects.a(App.cpp.obj):App.cpp:(.text.startup+0x4a): undefined reference to `OPENSSL_init_ssl'
CMakeFiles/xmrigMiner.dir/objects.a(Network.cpp.obj):Network.cpp:(.text.startup+0x3d): undefined reference to `OPENSSL_init_ssl'
CMakeFiles/xmrigMiner.dir/objects.a(Network.cpp.obj):Network.cpp:(.text.startup+0x4a): undefined reference to `OPENSSL_init_ssl'
CMakeFiles/xmrigMiner.dir/objects.a(Workers.cpp.obj):Workers.cpp:(.text.startup+0x58): undefined reference to `OPENSSL_init_ssl'
CMakeFiles/xmrigMiner.dir/objects.a(Workers.cpp.obj):Workers.cpp:(.text.startup+0x61): more undefined references to `OPENSSL_init_ssl' follow
CMakeFiles/xmrigMiner.dir/objects.a(CCClient.cpp.obj):CCClient.cpp:(.text+0x21e0): undefined reference to `TLS_client_method'
CMakeFiles/xmrigMiner.dir/objects.a(CCClient.cpp.obj):CCClient.cpp:(.text+0x29c5): undefined reference to `TLS_client_method'
CMakeFiles/xmrigMiner.dir/objects.a(CCClient.cpp.obj):CCClient.cpp:(.text.startup+0x3d): undefined reference to `OPENSSL_init_ssl'
CMakeFiles/xmrigMiner.dir/objects.a(CCClient.cpp.obj):CCClient.cpp:(.text.startup+0x4a): undefined reference to `OPENSSL_init_ssl'
libxmrig_tls.a(BoostTlsConnection.cpp.obj):BoostTlsConnection.cpp:(.text+0x1157): undefined reference to `TLS_client_method'
libxmrig_tls.a(BoostTlsConnection.cpp.obj):BoostTlsConnection.cpp:(.text+0x117f): undefined reference to `SSL_CTX_set_options'
libxmrig_tls.a(BoostTlsConnection.cpp.obj):BoostTlsConnection.cpp:(.text$_ZN5boost4asio3ssl7contextD1Ev[_ZN5boost4asio3ssl7contextD1Ev]+0x11): undefined reference to `SSL_CTX_get_default_passwd_cb_userdata'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/xmrigMiner.dir/build.make:498: xmrigMiner.exe] Error 1
make[1]: *** [CMakeFiles/Makefile2:153: CMakeFiles/xmrigMiner.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

user@test MINGW64 /c/source
$
Bendr0id commented 5 years ago

http://repo.msys2.org/msys/x86_64/gcc-libs-7.3.0-3-x86_64.pkg.tar.xz

Bendr0id commented 5 years ago

You just need to install that.

FranzDE commented 5 years ago

http://repo.msys2.org/msys/x86_64/gcc-libs-7.3.0-3-x86_64.pkg.tar.xz

new VM I tried with these commands:

pacman -Sy
wget http://repo.msys2.org/msys/x86_64/gcc-libs-7.3.0-3-x86_64.pkg.tar.xz
pacman -U gcc-libs-7.3.0-3-x86_64.pkg.tar.xz
wget http://repo.msys2.org/msys/x86_64/gcc-7.3.0-3-x86_64.pkg.tar.xz
pacman -U gcc-7.3.0-3-x86_64.pkg.tar.xz
Administrator@TeamViewer MINGW64 ~
$ pacman -Sy
:: Synchronizing package databases...
 mingw32                                                                                   534.8 KiB  1135K/s 00:00 [####################################################################] 100%
 mingw32.sig                                                                               119.0   B  0.00B/s 00:00 [####################################################################] 100%
 mingw64                                                                                   535.8 KiB  1706K/s 00:00 [####################################################################] 100%
 mingw64.sig                                                                               119.0   B  0.00B/s 00:00 [####################################################################] 100%
 msys                                                                                      178.4 KiB  24.9M/s 00:00 [####################################################################] 100%
 msys.sig                                                                                  119.0   B  0.00B/s 00:00 [####################################################################] 100%

Administrator@TeamViewer MINGW64 ~
$ pacman -Sy
:: Synchronizing package databases...
 mingw32 is up to date
 mingw64 is up to date
 msys is up to date

Administrator@TeamViewer MINGW64 ~
$ wget http://repo.msys2.org/msys/x86_64/gcc-libs-7.3.0-3-x86_64.pkg.tar.xz
--2019-01-16 15:47:13--  http://repo.msys2.org/msys/x86_64/gcc-libs-7.3.0-3-x86_64.pkg.tar.xz
Resolving repo.msys2.org (repo.msys2.org)... 45.59.69.178
Connecting to repo.msys2.org (repo.msys2.org)|45.59.69.178|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1001192 (978K) [application/octet-stream]
Saving to: ‘gcc-libs-7.3.0-3-x86_64.pkg.tar.xz’

gcc-libs-7.3.0-3-x86_64.pkg.tar.xz              100%[=======================================================================================================>] 977.73K  1.22MB/s    in 0.8s

2019-01-16 15:47:14 (1.22 MB/s) - ‘gcc-libs-7.3.0-3-x86_64.pkg.tar.xz’ saved [1001192/1001192]

Administrator@TeamViewer MINGW64 ~
$ pacman -U gcc-libs-7.3.0-3-x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
looking for conflicting packages...

Packages (1) gcc-libs-7.3.0-3

Total Installed Size:  3.70 MiB
Net Upgrade Size:      0.51 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                                                      [####################################################################] 100%
(1/1) checking package integrity                                                                                    [####################################################################] 100%
(1/1) loading package files                                                                                         [####################################################################] 100%
(1/1) checking for file conflicts                                                                                   [####################################################################] 100%
(1/1) checking available disk space                                                                                 [####################################################################] 100%
:: Processing package changes...
(1/1) upgrading gcc-libs                                                                                            [####################################################################] 100%

Administrator@TeamViewer MINGW64 ~
$ wget http://repo.msys2.org/msys/x86_64/gcc-7.3.0-3-x86_64.pkg.tar.xz
--2019-01-16 15:48:22--  http://repo.msys2.org/msys/x86_64/gcc-7.3.0-3-x86_64.pkg.tar.xz
Resolving repo.msys2.org (repo.msys2.org)... 45.59.69.178
Connecting to repo.msys2.org (repo.msys2.org)|45.59.69.178|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25431256 (24M) [application/octet-stream]
Saving to: ‘gcc-7.3.0-3-x86_64.pkg.tar.xz’

gcc-7.3.0-3-x86_64.pkg.tar.xz                   100%[=======================================================================================================>]  24.25M  1.33MB/s    in 18s

2019-01-16 15:48:41 (1.32 MB/s) - ‘gcc-7.3.0-3-x86_64.pkg.tar.xz’ saved [25431256/25431256]

Administrator@TeamViewer MINGW64 ~
$ pacman -U gcc-7.3.0-3-x86_64.pkg.tar.xz
loading packages...
resolving dependencies...
looking for conflicting packages...
:: msys2-runtime and catgets are in conflict. Remove catgets? [y/N] y
:: msys2-runtime and libcatgets are in conflict. Remove libcatgets? [y/N] y

Packages (11) binutils-2.30-1  catgets-1.1-2 [removal]  isl-0.19-1  libcatgets-1.1-2 [removal]  mpc-1.1.0-1  msys2-runtime-2.11.2-1  msys2-runtime-devel-2.11.2-1
              msys2-w32api-headers-6.0.0.5223.7f9d8753-1  msys2-w32api-runtime-6.0.0.5223.7f9d8753-1  windows-default-manifest-6.4-1  gcc-7.3.0-3

Total Download Size:    18.52 MiB
Total Installed Size:  284.38 MiB
Net Upgrade Size:      276.18 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 msys2-runtime-2.11.2-1-x86_64                                                               2.5 MiB  1178K/s 00:02 [####################################################################] 100%
 binutils-2.30-1-x86_64                                                                      4.6 MiB  1264K/s 00:04 [####################################################################] 100%
 isl-0.19-1-x86_64                                                                         485.7 KiB  1437K/s 00:00 [####################################################################] 100%
 mpc-1.1.0-1-x86_64                                                                         74.1 KiB  24.1M/s 00:00 [####################################################################] 100%
 msys2-runtime-devel-2.11.2-1-x86_64                                                         4.5 MiB  1250K/s 00:04 [####################################################################] 100%
 msys2-w32api-headers-6.0.0.5223.7f9d8753-1-x86_64                                           4.7 MiB  1241K/s 00:04 [####################################################################] 100%
 msys2-w32api-runtime-6.0.0.5223.7f9d8753-1-x86_64                                        1793.2 KiB  1332K/s 00:01 [####################################################################] 100%
 windows-default-manifest-6.4-1-x86_64                                                    1388.0   B  1355K/s 00:00 [####################################################################] 100%
(9/9) checking keys in keyring                                                                                      [####################################################################] 100%
(8/9) checking package integrity                                                                                    [####################################################################] 100%
(8/9) loading package files                                                                                         [####################################################################] 100%
(9/9) checking for file conflicts                                                                                   [####################################################################] 100%
(11/11) checking available disk space                                                                               [####################################################################] 100%
:: Processing package changes...
(1/2) removing catgets                                                                                              [####################################################################] 100%
(2/2) removing libcatgets                                                                                           [####################################################################] 100%
(1/9) upgrading msys2-runtime                                                                                       [####################################################################] 100%
(2/9) installing binutils                                                                                           [####################################################################] 100%
(3/9) installing isl                                                                                                [####################################################################] 100%
(4/9) installing mpc                                                                                                [####################################################################] 100%
error: no operation specified (use -h for help)
      2 [main] pacman 4028 fork: child -1 - forked process 3520 died unexpectedly, retry 0, exit code 0x1, errno 11
error: could not fork a new process (Resource temporarily unavailable)
(5/9) installing msys2-runtime-devel                                                                                [####################################################################] 100%
(6/9) installing msys2-w32api-headers                                                                               [####################################################################] 100%
(7/9) installing msys2-w32api-runtime                                                                               [####################################################################] 100%
(8/9) installing windows-default-manifest                                                                           [####################################################################] 100%
(9/9) installing gcc                                                                                                [####################################################################] 100%
error: no operation specified (use -h for help)
9020520 [main] pacman 4028 fork: child -1 - forked process 2404 died unexpectedly, retry 0, exit code 0x1, errno 11
error: could not fork a new process (Resource temporarily unavailable)

Administrator@TeamViewer MINGW64 ~
$
Bendr0id commented 5 years ago

This looks temp. Can you try again, and just go ahead..? Looks gcc and libs are installed successful.

FranzDE commented 5 years ago

everything is fine up to here:

pacman -Sy

wget http://repo.msys2.org/msys/x86_64/gcc-libs-7.3.0-3-x86_64.pkg.tar.xz
pacman -U gcc-libs-7.3.0-3-x86_64.pkg.tar.xz
wget http://repo.msys2.org/msys/x86_64/gcc-7.3.0-3-x86_64.pkg.tar.xz
pacman -U gcc-7.3.0-3-x86_64.pkg.tar.xz

pacman -S make
pacman -S mingw-w64-x86_64-cmake
pacman -S mingw-w64-x86_64-pkg-config
pacman -S wget tar bzip2
pacman -Syu

but inexplicably the "WGET" command has stopped working.

Administrator@TeamViewer MINGW64 ~/boost_1_67_0
$ wget https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.bz2
C:/msys64/usr/bin/wget.exe: error while loading shared libraries: msys-ssl-1.1.dll: cannot open shared object file: No such file or directory

Administrator@TeamViewer MINGW64 ~/boost_1_67_0
$ wget -qO- http://ipecho.net/plain o
C:/msys64/usr/bin/wget.exe: error while loading shared libraries: msys-ssl-1.1.dll: cannot open shared object file: No such file or directory

Administrator@TeamViewer MINGW64 ~/boost_1_67_0
$

at this point I manually saved the file boost_1_67_0.tar.bz2 and extracted it:

tar xvfj boost_1_67_0.tar.bz2

Administrator@TeamViewer MINGW64 ~
$ cd boost_1_67_0

Administrator@TeamViewer MINGW64 ~/boost_1_67_0
$ ./bootstrap.sh --with-libraries=system
Building Boost.Build engine with toolset gcc...
Failed to build Boost.Build build engine
Consult 'bootstrap.log' for more details

bootstrap.log

###
### Using 'gcc' toolset.
###
rm -rf bootstrap
mkdir bootstrap
gcc -o bootstrap/jam0 command.c compile.c constants.c debug.c execcmd.c frames.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathsys.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c class.c cwd.c native.c md5.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c pathunix.c
C:/msys64/usr/lib/gcc/x86_64-pc-msys/7.3.0/cc1.exe: error while loading shared libraries: msys-mpfr-6.dll: cannot open shared object file: No such file or directory
C:/msys64/usr/lib/gcc/x86_64-pc-msys/7.3.0/cc1.exe: error while loading shared libraries: msys-mpfr-6.dll: cannot open shared object file: No such file or directory
FranzDE commented 5 years ago

now i'm tryng "pacman -Syu" another time. it is now updating again something

after "pacman -Syu" the "WGET" command is back to work

I'm trying to move on

FranzDE commented 5 years ago

I make other test.. no way I get the initial errors during compile

version: msys2-x86_64-20161025.exe I tried the command in this order:

pacman -Sy

wget http://repo.msys2.org/msys/x86_64/gcc-libs-7.3.0-3-x86_64.pkg.tar.xz
pacman -U gcc-libs-7.3.0-3-x86_64.pkg.tar.xz
wget http://repo.msys2.org/msys/x86_64/gcc-7.3.0-3-x86_64.pkg.tar.xz
pacman -U gcc-7.3.0-3-x86_64.pkg.tar.xz

pacman -S make
pacman -S mingw-w64-x86_64-cmake
pacman -S mingw-w64-x86_64-pkg-config
pacman -S wget tar bzip2
pacman -Syu
pacman -Syu

wget https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.bz2
tar xvfj boost_1_67_0.tar.bz2
cd boost_1_67_0
./bootstrap.sh --with-libraries=system
./b2

cmake . -G "Unix Makefiles" -DUV_INCLUDE_DIR="c:\xmrigCC-deps\gcc\libuv\x64\include" -DUV_LIBRARY="c:\xmrigCC-deps\gcc\libuv\x64\lib\libuv.a" -DMHD_INCLUDE_DIR="c:\xmrigCC-deps\gcc\libmicrohttpd\x64\include" -DMHD_LIBRARY="c:\xmrigCC-deps\gcc\libmicrohttpd\x64\lib\libmicrohttpd.a" -DOPENSSL_INCLUDE_DIR="c:\xmrigCC-deps\gcc\openssl\x64\include" -DOPENSSL_ROOT_DIR="c:\xmrigCC-deps\gcc\openssl\x64\lib"  -DBOOST_ROOT="c:\msys64\home\Administrator\boost_1_67_0" -DBoost_SYSTEM_LIBRARY="c:\msys64\home\Administrator\boost_1_67_0\stage\lib\libboost_system.a"
make -j

and

pacman -Sy
pacman -Syu
pacman -Syu
wget http://repo.msys2.org/msys/x86_64/gcc-libs-7.3.0-3-x86_64.pkg.tar.xz
pacman -U gcc-libs-7.3.0-3-x86_64.pkg.tar.xz
wget http://repo.msys2.org/msys/x86_64/gcc-7.3.0-3-x86_64.pkg.tar.xz
pacman -U gcc-7.3.0-3-x86_64.pkg.tar.xz

pacman -S make
pacman -S mingw-w64-x86_64-cmake
pacman -S mingw-w64-x86_64-pkg-config
pacman -S wget tar bzip2
pacman -Syu
pacman -Syu

wget https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.tar.bz2
tar xvfj boost_1_67_0.tar.bz2
cd boost_1_67_0
./bootstrap.sh --with-libraries=system
./b2

cmake . -G "Unix Makefiles" -DUV_INCLUDE_DIR="c:\xmrigCC-deps\gcc\libuv\x64\include" -DUV_LIBRARY="c:\xmrigCC-deps\gcc\libuv\x64\lib\libuv.a" -DMHD_INCLUDE_DIR="c:\xmrigCC-deps\gcc\libmicrohttpd\x64\include" -DMHD_LIBRARY="c:\xmrigCC-deps\gcc\libmicrohttpd\x64\lib\libmicrohttpd.a" -DOPENSSL_INCLUDE_DIR="c:\xmrigCC-deps\gcc\openssl\x64\include" -DOPENSSL_ROOT_DIR="c:\xmrigCC-deps\gcc\openssl\x64\lib"  -DBOOST_ROOT="c:\msys64\home\Administrator\boost_1_67_0" -DBoost_SYSTEM_LIBRARY="c:\msys64\home\Administrator\boost_1_67_0\stage\lib\libboost_system.a"
make -j

same result.. @Bendr0id I can give you a VM for tests, so as not to defeat yours. I've already created one for you, give me where to send the credentials. It is at your disposal

Bendr0id commented 5 years ago

@FranzDE telegram or discord would be best

Bendr0id commented 5 years ago

Btw i looked into that Error:

CMakeFiles/xmrigMiner.dir/objects.a(App.cpp.obj):App.cpp:(.text.startup+0x3d): undefined reference to `OPENSSL_init_ssl'
CMakeFiles/xmrigMiner.dir/objects.a(App.cpp.obj):App.cpp:(.text.startup+0x4a): undefined reference to `OPENSSL_init_ssl'
CMakeFiles/xmrigMiner.dir/objects.a(Network.cpp.obj):Network.cpp:(.text.startup+0x3d): undefined reference to `OPENSSL_init_ssl'
CMakeFiles/xmrigMiner.dir/objects.a(Network.cpp.obj):Network.cpp:(.text.startup+0x4a): undefined reference to `OPENSSL_init_ssl'
CMakeFiles/xmrigMiner.dir/objects.a(Workers.cpp.obj):Workers.cpp:(.text.startup+0x58): undefined reference to `OPENSSL_init_ssl'
CMakeFiles/xmrigMiner.dir/objects.a(Workers.cpp.obj):Workers.cpp:(.text.startup+0x61): more undefined references to `OPENSSL_init_ssl' follow
CMakeFiles/xmrigMiner.dir/objects.a(CCClient.cpp.obj):CCClient.cpp:(.text+0x21e0): undefined reference to `TLS_client_method'
CMakeFiles/xmrigMiner.dir/objects.a(CCClient.cpp.obj):CCClient.cpp:(.text+0x29c5): undefined reference to `TLS_client_method'
CMakeFiles/xmrigMiner.dir/objects.a(CCClient.cpp.obj):CCClient.cpp:(.text.startup+0x3d): undefined reference to `OPENSSL_init_ssl'
CMakeFiles/xmrigMiner.dir/objects.a(CCClient.cpp.obj):CCClient.cpp:(.text.startup+0x4a): undefined reference to `OPENSSL_init_ssl'
libxmrig_tls.a(BoostTlsConnection.cpp.obj):BoostTlsConnection.cpp:(.text+0x1157): undefined reference to `TLS_client_method'
libxmrig_tls.a(BoostTlsConnection.cpp.obj):BoostTlsConnection.cpp:(.text+0x117f): undefined reference to `SSL_CTX_set_options'
libxmrig_tls.a(BoostTlsConnection.cpp.obj):BoostTlsConnection.cpp:(.text$_ZN5boost4asio3ssl7contextD1Ev[_ZN5boost4asio3ssl7contextD1Ev]+0x11): undefined reference to `SSL_CTX_get_default_passwd_cb_userdata'

From a few posts above. That one looks very promissing. It just is not able to find the openssl libraries. But that should be simple to fix.

But its definitly using the gcc in this case. The binary most propably wont pass the self test. So Make sure it is using gcc7 instead.

Bendr0id commented 5 years ago

Someone please can try to build with latest msys2 + gcc8. I created a workaround in master.