machinezone / IXWebSocket

websocket and http client and server library, with TLS support and very few dependencies
BSD 3-Clause "New" or "Revised" License
539 stars 173 forks source link

Build error. (mbedtls) #498

Open autoantwort opened 8 months ago

autoantwort commented 8 months ago

I don't know if this is vcpkg related, maybe the versions are in conflict, but I get:

Package: ixwebsocket[core,mbedtls]:arm64-osx -> 11.4.4#2

Host Environment

To Reproduce

vcpkg install --enforce-port-checks --allow-unsupported Failure logs

-- Using cached machinezone-IXWebSocket-v11.4.4.tar.gz.
-- Extracting source /Users/leanderSchulten/git_projekte/vcpkg/downloads/machinezone-IXWebSocket-v11.4.4.tar.gz
-- Applying patch fix-C2065-of-errorMsg.patch
-- Using source at /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean
-- Found external ninja('1.11.1').
-- Configuring arm64-osx
-- Building arm64-osx-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: /Users/leanderSchulten/git_projekte/vcpkg/downloads/tools/cmake-3.27.1-osx/cmake-3.27.1-macos-universal/CMake.app/Contents/bin/cmake --build . --config Debug --target install -- -v -j11
    Working Directory: /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/arm64-osx-dbg
    See logs for more information:
      /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/install-arm64-osx-dbg-out.log

Call Stack (most recent call first):
  vcpkg_installed/arm64-osx/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  vcpkg_installed/arm64-osx/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/ixwebsocket/portfile.cmake:38 (vcpkg_cmake_install)
  scripts/ports.cmake:170 (include)
/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/install-arm64-osx-dbg-out.log ``` Change Dir: '/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/arm64-osx-dbg' Run Build Command(s): /opt/homebrew/bin/ninja -v -v -j11 install [1/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXNetSystem.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXNetSystem.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXNetSystem.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXNetSystem.cpp [2/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXExponentialBackoff.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXExponentialBackoff.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXExponentialBackoff.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXExponentialBackoff.cpp [3/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXConnectionState.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXConnectionState.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXConnectionState.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXConnectionState.cpp [4/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXCancellationRequest.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXCancellationRequest.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXCancellationRequest.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXCancellationRequest.cpp [5/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXGzipCodec.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXGzipCodec.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXGzipCodec.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXGzipCodec.cpp [6/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterruptFactory.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterruptFactory.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterruptFactory.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSelectInterruptFactory.cpp [7/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterrupt.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterrupt.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterrupt.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSelectInterrupt.cpp [8/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXBench.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXBench.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXBench.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXBench.cpp [9/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXDNSLookup.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXDNSLookup.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXDNSLookup.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXDNSLookup.cpp [10/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXGetFreePort.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXGetFreePort.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXGetFreePort.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXGetFreePort.cpp [11/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttp.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttp.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttp.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXHttp.cpp [12/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttpClient.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttpClient.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttpClient.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXHttpClient.cpp [13/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterruptEvent.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterruptEvent.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterruptEvent.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSelectInterruptEvent.cpp [14/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterruptPipe.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterruptPipe.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSelectInterruptPipe.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSelectInterruptPipe.cpp [15/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketFactory.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketFactory.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketFactory.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSocketFactory.cpp [16/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSetThreadName.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSetThreadName.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSetThreadName.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSetThreadName.cpp [17/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttpServer.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttpServer.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXHttpServer.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXHttpServer.cpp [18/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketConnect.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketConnect.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketConnect.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSocketConnect.cpp [19/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocket.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocket.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocket.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSocket.cpp [20/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXStrCaseCompare.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXStrCaseCompare.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXStrCaseCompare.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXStrCaseCompare.cpp [21/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketTLSOptions.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketTLSOptions.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketTLSOptions.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSocketTLSOptions.cpp [22/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXUdpSocket.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXUdpSocket.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXUdpSocket.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXUdpSocket.cpp [23/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketServer.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketServer.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketServer.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSocketServer.cpp [24/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXUrlParser.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXUrlParser.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXUrlParser.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXUrlParser.cpp [25/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketCloseConstants.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketCloseConstants.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketCloseConstants.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXWebSocketCloseConstants.cpp [26/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketPerMessageDeflate.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketPerMessageDeflate.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketPerMessageDeflate.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXWebSocketPerMessageDeflate.cpp [27/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXUuid.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXUuid.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXUuid.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXUuid.cpp [28/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXUserAgent.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXUserAgent.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXUserAgent.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXUserAgent.cpp [29/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketPerMessageDeflateCodec.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketPerMessageDeflateCodec.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketPerMessageDeflateCodec.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXWebSocketPerMessageDeflateCodec.cpp [30/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHttpHeaders.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHttpHeaders.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHttpHeaders.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXWebSocketHttpHeaders.cpp [31/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketPerMessageDeflateOptions.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketPerMessageDeflateOptions.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketPerMessageDeflateOptions.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXWebSocketPerMessageDeflateOptions.cpp [32/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocket.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocket.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocket.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXWebSocket.cpp [33/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHandshake.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHandshake.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketHandshake.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXWebSocketHandshake.cpp [34/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSocketMbedTLS.cpp FAILED: CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSocketMbedTLS.cpp /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSocketMbedTLS.cpp:52:61: warning: unused parameter 'errorMsg' [-Wunused-parameter] bool SocketMbedTLS::loadSystemCertificates(std::string& errorMsg) ^ /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSocketMbedTLS.cpp:137:17: error: no matching function for call to 'mbedtls_pk_parse_keyfile' if (mbedtls_pk_parse_keyfile(&_pkey, _tlsOptions.keyFile.c_str(), "", mbedtls_ctr_drbg_random, &_ctr_drbg) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~ /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include/mbedtls/pk.h:751:5: note: candidate function not viable: requires 3 arguments, but 5 were provided int mbedtls_pk_parse_keyfile(mbedtls_pk_context *ctx, ^ 1 warning and 1 error generated. [35/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketProxyServer.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketProxyServer.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketProxyServer.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXWebSocketProxyServer.cpp [36/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketServer.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketServer.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketServer.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXWebSocketServer.cpp [37/39] ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketTransport.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketTransport.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXWebSocketTransport.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXWebSocketTransport.cpp ninja: build stopped: subcommand failed. ```

Additional context

vcpkg.json ``` { "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", "name": "lichtsteuerung", "version-string": "2.0 $.0", "dependencies": [ { "name": "ixwebsocket", "default-features": false, "features": [ "mbedtls" ] } ], "$overrides": [ { "name": "llvm", "version": "14.0.6#1" } ], "$builtin-baseline": "e68bd1cc40a13fd47d999ecff333e8b809b2c720" } ```
bsergean commented 7 months ago
FAILED: CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o 
ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DIXWEBSOCKET_USE_MBED_TLS -DIXWEBSOCKET_USE_MBED_TLS_MIN_VERSION_3 -DIXWEBSOCKET_USE_TLS -DIXWEBSOCKET_USE_ZLIB -I/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean -isystem /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include -fPIC -Wall -Wextra -pedantic -Wshorten-64-to-32 -g -std=c++11 -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.2.sdk -mmacosx-version-min=13.6 -MD -MT CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o -MF CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o.d -o CMakeFiles/ixwebsocket.dir/ixwebsocket/IXSocketMbedTLS.cpp.o -c /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSocketMbedTLS.cpp
/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSocketMbedTLS.cpp:52:61: warning: unused parameter 'errorMsg' [-Wunused-parameter]
    bool SocketMbedTLS::loadSystemCertificates(std::string& errorMsg)
                                                            ^
/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/ixwebsocket/src/v11.4.4-c62af040d6.clean/ixwebsocket/IXSocketMbedTLS.cpp:137:17: error: no matching function for call to 'mbedtls_pk_parse_keyfile'
            if (mbedtls_pk_parse_keyfile(&_pkey, _tlsOptions.keyFile.c_str(), "", mbedtls_ctr_drbg_random, &_ctr_drbg) < 0)
                ^~~~~~~~~~~~~~~~~~~~~~~~
/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include/mbedtls/pk.h:751:5: note: candidate function not viable: requires 3 arguments, but 5 were provided
int mbedtls_pk_parse_keyfile(mbedtls_pk_context *ctx,
bsergean commented 6 months ago

latest version has an embedtls fix I believe.

8Observer8 commented 2 weeks ago

IXSocketMbedTLS.cpp:137:17: error: no matching function for call to 'mbedtls_pk_parse_keyfile' requires 3 arguments, but 5 were provided

I had the same error with the latest IXWebSocket-11.4.5 and the latest Mbed-TLS 3.6.1: too few arguments to function 'int mbedtls_pk_parse_keyfile' I solved it by using MBed-TLS v2.28.9 instead of MBed-TLS v3.x.x. I have tried MBed-TLS v3.0.0 too but IXWebSocket-11.4.5 has the same error. So, the number of arguments of mbedtls_pk_parse_keyfile was changed in MBed-TLS v3.0.0 but IXWebSocket-11.4.5 uses the old version of MBed-TLS v2.x.x.

Download MBed-TLS 2.28.9 like this:

git clone --depth 1 --branch v2.28.9 https://github.com/Mbed-TLS/mbedtls.git

Set the installation path and configure it:

cmake -G "MinGW Makefiles" --fresh -S . -B dist -DCMAKE_INSTALL_PREFIX=E:/libs/mbedtls-2.28.9-prefix

Build it:

cmake --build dist -j4

Install it:

cmake --install dist

Install zlib with the same way. I use zlib v1.3.1. Download and install IXWebSocket-11.4.5 with the configuration:

cmake -G "MinGW Makefiles" --fresh -S . -B dist -DCMAKE_INSTALL_PREFIX=E:/libs/IXWebSocket-11.4.5-prefix -DZLIB_INCLUDE_DIR=E:/libs/zlib-1.3.1-prefix/include -DZLIB_LIBRARY=E:/libs/zlib-1.3.1-prefix/lib/libzlibstatic.a -DMBEDTLS_LIBRARY=E:/libs/mbedtls-2.28.9-prefix/lib/libmbedtls.a -DMBEDTLS_INCLUDE_DIRS=E:/libs/mbedtls-2.28.9-prefix/include -DMBEDX509_LIBRARY=E:/libs/mbedtls-2.28.9-prefix/lib/libmbedx509.a -DMBEDCRYPTO_LIBRARY=E:/libs/mbedtls-2.28.9-prefix/lib/libmbedcrypto.a -DUSE_TLS=ON -DUSE_WS=ON -DUSE_ZLIB=ON

cmake --build dist -j4

cmake --install dist

Use the following CMakeLists.txt in your projects:

# mkdir dist\win
# cd dist
# cmake -G "MinGW Makefiles" --fresh -S .. -B ..\dist\win
cmake_minimum_required(VERSION 3.20)
# cd win
# mingw32-make

project(ixwebsocket_example)
add_executable(app) # WIN32

target_include_directories(app PRIVATE E:/libs/IXWebSocket-11.4.5-prefix/include)

target_sources(app
PRIVATE
    main.cpp
)

find_package(SDL3)
target_link_directories(app PRIVATE E:/libs/IXWebSocket-11.4.5-prefix/lib)
target_link_directories(app PRIVATE E:/libs/mbedtls-2.28.9-prefix/lib)
target_link_directories(app PRIVATE E:/libs/zlib-1.3.1-prefix/lib)
target_link_libraries(app PRIVATE ixwebsocket mbedx509 ws2_32 mbedtls mbedcrypto crypt32 zlibstatic wsock32)
target_link_options(app PRIVATE -static-libgcc -static-libstdc++)

If you use SDL3 for a window and OpenGL:

# mkdir dist\win
# cd dist
# cmake -G "MinGW Makefiles" --fresh -S .. -B ..\dist\win -DSDL3_DIR=E:\libs\sdl3-desktop-prefix\lib\cmake\SDL3
cmake_minimum_required(VERSION 3.20)
# cd win
# mingw32-make
cmake_minimum_required(VERSION 3.20)

project(ixwebsocket_example)
add_executable(app) # WIN32

target_include_directories(app PRIVATE E:/libs/glad-2.0.6/include)
target_include_directories(app PRIVATE E:/libs/IXWebSocket-11.4.5-prefix/include)

target_sources(app
PRIVATE
    E:/libs/glad-2.0.6/src/glad.c
    main.cpp
)

# This code copies the "SDL3.dll" file to the build directory
add_custom_command(TARGET app POST_BUILD
    COMMAND ${CMAKE_COMMAND} -E copy_if_different
    $<TARGET_RUNTIME_DLLS:app> $<TARGET_FILE_DIR:app>
)

find_package(SDL3)
target_link_directories(app PRIVATE E:/libs/IXWebSocket-11.4.5-prefix/lib)
target_link_directories(app PRIVATE E:/libs/mbedtls-2.28.9-prefix/lib)
target_link_directories(app PRIVATE E:/libs/zlib-1.3.1-prefix/lib)
# https://github.com/msys2/MINGW-packages/issues/4821#issuecomment-521690294
target_link_libraries(app PRIVATE ixwebsocket mbedx509 ws2_32 mbedtls mbedcrypto crypt32 zlibstatic wsock32 SDL3::SDL3)
target_compile_definitions(app PRIVATE SDL_MAIN_USE_CALLBACKS)
target_link_options(app PRIVATE -static-libgcc -static-libstdc++)

This is my step by step guide to install SDL3 on Windows but it can be useful for MacOS too if you need a window Setting up SDL3 for Windows using CMake and MinGW-w64 You can draw GUI using ImGUI and SDL3: Building ImGUI statically and setting up it to the CMake project