#18 ubuntu22.04请教怎么编译

بسته‌شده
2 سال پیش باز شده توسط jianjianxu · 0 دیدگاه

ubuntu22.04,编译出错,请教怎么办

有这么一段:

CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CheckIncludeFile.cmake:82 (message):
  Policy CMP0075 is not set: Include file check macros honor
  CMAKE_REQUIRED_LIBRARIES.  Run "cmake --help-policy CMP0075" for policy
  details.  Use the cmake_policy command to set the policy and suppress this
  warning.

  CMAKE_REQUIRED_LIBRARIES is set to:

    m

  For compatibility with CMake 3.11 and below this check is ignoring it.
Call Stack (most recent call first):
  build/_deps/keystone-src/llvm/cmake/config-ix.cmake:45 (check_include_file)
  build/_deps/keystone-src/llvm/CMakeLists.txt:324 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

编辑最后走完了,没有生产两个可执行文件

ubuntu22.04,编译出错,请教怎么办 有这么一段: ``` CMake Warning (dev) at /usr/share/cmake-3.22/Modules/CheckIncludeFile.cmake:82 (message): Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMAKE_REQUIRED_LIBRARIES is set to: m For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): build/_deps/keystone-src/llvm/cmake/config-ix.cmake:45 (check_include_file) build/_deps/keystone-src/llvm/CMakeLists.txt:324 (include) This warning is for project developers. Use -Wno-dev to suppress it. ``` 编辑最后走完了,没有生产两个可执行文件
برای پیوستن به گفتگو، وارد شودید.
بدون برچسب
بدون نقطه عطف
بدون مسئول رسیدگی
1 مشارکت کننده
درحال بارگذاری...
لغو
ذخيره
هنوز محتوایی ایجاد نشده.