Skip to content

Developer Notes

Lightmann edited this page Dec 22, 2023 · 2 revisions

Theos no longer provides headers for some libraries that provide headers through their own releases

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
  • 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