Giter VIP home page Giter VIP logo

Comments (1)

jingjingxyk avatar jingjingxyk commented on June 14, 2024 1

解决办法:
办法一: 直接把 libxml2 依赖 ICU选项 禁用 ; -DCMAKE_DISABLE_FIND_PACKAGE_ICU=ON
办法二: 引用 ICU 库时,liubxml2 库 设置-DCMAKE_PREFIX_PATH="{$icu_install_dir};" 设置多个使用分号隔开
办法三: 设置 -DICU_ROOT={$icu_install_dir} 或者 -DICU_DIR={$icu_install_dir}
办法四: 设置 -DICU_INCLUDE_DIR={$icu_install_dir}/include -DICU_LIBRARY={$icu_install_dir}/lib/
办法五: 修改libxml2 cmake 配置文件

参考:

  1. https://github.com/jingjingxyk/swoole-cli/blob/e550352844d8cd9f5c63632a58905b4c764f73ab/sapi/src/builder/library/aaa_example.php#L122
  2. https://github.com/jingjingxyk/swoole-cli/blob/e550352844d8cd9f5c63632a58905b4c764f73ab/sapi/src/builder/library/aaa_example.php#L120
  3. https://github.com/jingjingxyk/swoole-cli/blob/e550352844d8cd9f5c63632a58905b4c764f73ab/sapi/src/builder/library/aaa_example.php#L128

from static-php-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.