Ziti C SDK - Setup for Development
The following steps should get your C SDK for Ziti building. C development is specific to your operating system and tool chain used. These steps should work properly for you but if your OS has variations you may need to adapt these steps accordingly.
The C SDK requires additional dependencies to be retreived. This is accomplished via the
git submodule command. Fetch third party libs using:
$ git submodule update --init --recursive
Building the SDK on linux/mac can be accomplished with:
$ mkdir build $ cd build $ cmake .. && make
If you are cross compiling, you must name the build directory as
build-$(uname -s)-$(uname -m)
The easiest method to build on windows is to open a "Developer Command Prompt for VS 2019" and execute
Open that file to see the individual steps needed to build the C SDK on Windows. The steps the script will do are:
mkdir build cd build cmake .. -DCMAKE_INSTALL_INCLUDEDIR=include -DCMAKE_INSTALL_LIBDIR=lib cmake --build . --config Debug [Release]
Please use these community resources for getting help. We use GitHub issues for tracking bugs and feature requests and have limited bandwidth to address them.
Copyright© 2018-2019. NetFoundry, Inc.