-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: CMake 3.18 or higher is required on Linux #109
Comments
add in CmakeLists.txt>> message(WARNING "----${CMAKE_ROOT}")
so the flutter itself use 3.16 |
Download and install flutter manually, do not use snap. |
It requires a minimum cmake verson of 3.18 because file(ARCHIVE_EXTRACT) is only available since 3.18, https://cmake.org/cmake/help/latest/command/file.html#archive-extract |
get it, tks |
Never mind, I have published v1.0.10+1 with #107 fixed, you can now use it to setup manually if you still want to use snap-installed flutter, remember to set OPENCV_DART_DISABLE_AUTO_BUILD environment variable. |
it works, and tips tell me install ninja, gtk, pkg-config, clang |
opencv_dart/linux/CMakeLists.txt
Line 4 in dcb17be
my system cmake version is :
linux cmd>> cmake --version
result>> cmake version 3.29.6
but when run this line above, it throws:
CMake 3.18 or higher is required. You are running version 3.16.3
i add this line in this CmakeLists.txt, it shows:
add in CmakeLists.txt>> message(WARNING "----${CMAKE_VERSION}")
result>> ----3.16.3
i cant find what is wrong
The text was updated successfully, but these errors were encountered: