GithubHelp home page GithubHelp logo

Comments (3)

scareything avatar scareything commented on June 6, 2024

Hi. ziti-sdk-swift uses https://github.com/openziti/ziti-sdk-c, which is actually pulled in as a transitive dependency through https://github.com/openziti/ziti-tunnel-sdk-c. ziti-tunnel-sdk-c is referenced by this project as a git submodule in the deps/ subdirectory. Most of this info is in the build instructions, but here's a little more detail in case it helps:

  1. You need to get submodules of the ziti-sdk-swift repo. You can do this when cloning with the --recurse-submodules option. If you've already cloned then you can run git submodule update --recursive to get them.
  2. Once your deps/ subdirectory contains ziti-tunnel-sdk-c you can build it using build_all.sh in this repo. Be sure to read the requirements section in build instructions. Specifically you'll need to have cmake and ninja installed (I use homebrew for these), and the VCPKG_ROOT environment variable exported and set to the path of a fetched and bootstrapped (built) clone of https://github.com/microsoft/vcpkg. (If you're running on Apple Silicon then you'll need to export andVCPKG_FORCE_SYSTEM_BINARIES to any value to satisfy vcpkg.)

from ziti-sdk-swift.

McGonagall666 avatar McGonagall666 commented on June 6, 2024

Thank you very much for your help. I have successfully started the project.
I have reviewed the Building section below in detail and listened to your suggestions. I have installed cmake, ninja, vcpkg, and pkg-config respectively, and modified the VCPKG_ROOT in the files under deps.
I'm M1's computer, but I couldn't find VCPKG_ FORCE_ SYSTEM_BINARIES Where is set, it has not been modified.
VCPKG_ROOT have a problem. After installing it, I couldn't modify ENV and couldn't find the corresponding cmake, so I added the information about VCPKG_ROOT in the file uses the absolute path of files under vcpkg, and then goes to/bin/sh build_ all.sh, finally compiled successfully.
/bin/sh build_all.sh Many times during, I encountered Failed to connect to github.com port 443. Just turn off the agent and wait for a long time. Don't worry, I spent the whole morning, and finally succeeded.

from ziti-sdk-swift.

scareything avatar scareything commented on June 6, 2024

Ok then. Thanks for letting me know! I'll watch this issue for any more questions that might come up. If you're all set then just let me know that it's ok to close this issue. Thanks!

from ziti-sdk-swift.

Related Issues (17)

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.