zhaojh329 / rtty

🐛 Access your terminal from anywhere via the web.
MIT License
3.7k stars 503 forks source link

MINGW MSYS2 and CLANG64 Could NOT find Libev (missing: LIBEV_LIBRARY LIBEV_INCLUDE_DIR) #127

Open 0wwafa opened 6 months ago

0wwafa commented 6 months ago

MINGW MSYS2 and CLANG64 Could NOT find Libev (missing: LIBEV_LIBRARY LIBEV_INCLUDE_DIR)

$ CC=clang CXX=clang++ cmake . --fresh
-- Building for: Ninja
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- The C compiler identification is Clang 18.1.5
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/clang64/bin/clang.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at C:/msys64/clang64/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (messag
e):
  Could NOT find Libev (missing: LIBEV_LIBRARY LIBEV_INCLUDE_DIR)
Call Stack (most recent call first):
  C:/msys64/clang64/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESS
AGE)
  cmake/Modules/FindLibev.cmake:25 (find_package_handle_standard_args)
  src/CMakeLists.txt:7 (find_package)

-- Configuring incomplete, errors occurred!
han-yh commented 6 months ago

我也遇到了此问题