PotterSu / ceres-android

This is Google No-Linear Solver Ceres library for Android platform(include suite-sparse)
Other
9 stars 2 forks source link

编译报错:include could not find load file #1

Open TennisAndy opened 4 years ago

TennisAndy commented 4 years ago

您好,安照您的描述,安装cmake版本3.15.5,android-ndk-r16b,执行脚本报错: bogon:android_build wunu$ sh make_ceres.sh CMake Warning at /Users/wunu/android-ndk-r16b/build/cmake/android.toolchain.cmake:63 (message): Using custom NDK path (ANDROID_NDK is set): /Users/wunu/android-ndk-r16b Call Stack (most recent call first): /usr/local/Cellar/cmake/3.15.5/share/cmake/Modules/CMakeDetermineSystem.cmake:93 (include) CMakeLists.txt:65 (project)

-- Check for working C compiler: /Users/wunu/android-ndk-r16b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -- Check for working C compiler: /Users/wunu/android-ndk-r16b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /Users/wunu/android-ndk-r16b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -- Check for working CXX compiler: /Users/wunu/android-ndk-r16b/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:80 (include): include could not find load file:

AddCompileFlagsIfSupported

CMake Error at CMakeLists.txt:81 (include): include could not find load file:

UpdateCacheVariable

CMake Error at CMakeLists.txt:84 (include): include could not find load file:

AddGerritCommitHook

CMake Error at CMakeLists.txt:85 (add_gerrit_commit_hook): Unknown CMake command "add_gerrit_commit_hook".

-- Configuring incomplete, errors occurred! See also "/Users/wunu/Desktop/ceres-android-master/android_build/CMakeFiles/CMakeOutput.log". CMakeOutput.log

请问是什么问题?

zhongzebin commented 3 years ago

和我遇到了一样的问题,在寻求解决方案中

sean6585 commented 2 years ago

Is there any solutions for this problem??

PotterSu commented 2 years ago

这是来自QQ邮箱的假期自动回复邮件。   您好,您的邮件我已收到。我将在短时间内,尽快给您回复。如有急事请拨打18646308557

YerayRD commented 10 months ago

Hello, I am having the same issue. Is there something wrong with the repo like missing modules?

PotterSu commented 10 months ago

这是来自QQ邮箱的假期自动回复邮件。   您好,您的邮件我已收到。我将在短时间内,尽快给您回复。如有急事请拨打18646308557