windows环境安装swoole,编译安装时提示:
In file included from /home/swoole-src-4.6.2/swoole.cc:20:0:
/usr/include/php/ext/pcre/php_pcre.h:27:10: 致命错误:pcre2.h:No such file or directory
#include “pcre2.h”
^~~~~~~~~
看起来是缺少 pcre2,
重新打开cygwin安装包,其他插件保持不变
搜索libpcre,
安装以下两个插件即可
Install libpcre2-devel
Install libpcre-devel