0

大家好,我尝试在 Windows 中的 GCC 中添加 PCRE2,但对我来说非常糟糕,请解释我的步骤,在 Windows 中我已经安装了 MSYS2_64bit,就像在本教程中https://www.youtube.com/watch?v=jfVqzNU3gPg一样,在我下载一个 PCRE2 并将其解压缩到 C: 并创建新文件夹调用 build (c:/pcre2/pcre2-10.39/build) 后,安装 cmake 工具后,我运行它选择一个源 (c:/pcre2/pcre2 -10.39) ,选择构建 (c:/pcre2/pcre2-10.39/build)dir ,选择 MSYS makefile 并生成,之后我通过 MSYS shell 进入构建文件夹并运行命令 Make ,但返回

$ make
[  2%] Building C object CMakeFiles/pcre2-8-static.dir/src/pcre2_auto_possess.c.obj
make[2]: *** [CMakeFiles/pcre2-8-static.dir/build.make:77: CMakeFiles/pcre2-8-static.dir/src/pcre2_auto_possess.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:89: CMakeFiles/pcre2-8-static.dir/all] Error 2
make: *** [Makefile:146: all] Error 2```

anyone can help me ?? thanks 
4

0 回答 0