SQLite Forum

How to compile an extension from scratch? The CSV virtual table in particular
Try adding "`-I.`" to the gcc command-line (which really should be "clang" on Mac, but they have "gcc" as an alias).  The -I. will tell the compiler to pick up the
include files from the local directory rather than from the system.  The
`SQLITE_VTAB_DIRECTONLY` macro is a recent addition and probably has not
made it into whatever version is currently installed on your Mac.