Giter Site home page Giter Site logo

Build error. (mbedtls) about ixwebsocket HOT 2 OPEN

autoantwort avatar autoantwort commented on May 28, 2024
Build error. (mbedtls)

from ixwebsocket.

Comments (2)

bsergean avatar bsergean commented on May 28, 2024
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,

from ixwebsocket.

bsergean avatar bsergean commented on May 28, 2024

latest version has an embedtls fix I believe.

from ixwebsocket.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.