Compile Your Application

Note: This documentation is currently only available for C++

Build the Application

Once you have an account, download sample application (available per request, please contact the MedCrypt team), unpack and build:

tar -zxcf mc_demo.tgz
cd mc_demo/cpp_curve_zeromq
GUARDIAN_SYSROOT_PATH=/PATH/TO/GUARDIAN/SYSROOT/usr/local/ bash -x build.sh
cd build
ls

Note: If building with sysroot, the following environment variables may be necessary to run the executables:

Linux: %> export LD_LIBRARY_PATH=$GUARDIAN_SYSROOT_PATH
‚Äč
Mac OS X: %> export DYLD_LIBRARY_PATH=$GUARDIAN_SYSROOT_PATH

Congrats! Hopefully you were able to successfully able to build the application without any errors. Contact the team if you ran into any trouble.