I should have been smarter about this, so I'm writing this TIL to hopefully make myself remember that:
When you are working with C++ (cxx) libraries, you need to set the
$CPLUS_INCLUDE_PATH
.That
$C_INCLUDE_PATH
is different to$CPLUS_INCLUDE_PATH
. The first one is for c and the second one is for c++.