-
Notifications
You must be signed in to change notification settings - Fork 95
Developer Notes
Lightmann edited this page Dec 22, 2023
·
2 revisions
For example, OpenSSL provides its headers through either the libssl-dev
or openssl
packages and libachive provides its headers through either the libarchive-dev
or libarchive
packages. This more easily allows developers to use the headers matching their deployment target.
To use headers from these libraries with Theos, follow these steps:
- Install the development package(s) on your host device (e.g., the device you are compiling from)
- The headers will be installed to the system location -- typically
/usr/local/include
-- instead of the Theos headers location
- The headers will be installed to the system location -- typically
- Adjust your
#import
/#include
's in your code to the new headers- For example,
#include <openssl/x509v3.h>
for OpenSSL or#include <archive.h>
for libarchive
- For example,