I encountered this error when trying to install the postgresql extension.
In file included from /tmp/sw/ext-postgresql/swoole_postgresql_coro.cc:17:
./swoole_postgresql_coro.h:20:10: fatal error: 'php_swoole_cxx.h' file not found
#include "php_swoole_cxx.h"
^~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [swoole_postgresql_coro.lo] Error 1
I encountered this error when trying to install the postgresql extension.