Skip to content

[Bug] Build CMake error installing on Termux #1412

@Rei397

Description

@Rei397

Git commit

?

Operating System & Version

Android 15

GGML backends

CPU

Command-line arguments used

?

Steps to reproduce

git clone --recursive https://github.com/leejet/stable-diffusion.cpp

cd stable-diffusion.cpp

mkdir build && cd build

cmake ..

What you expected to happen

I was hoping it would install correctly so I could start using it.

What actually happened

I think the error occurred due to the Android webp library or something like that

Logs / error messages / stack trace

Error message:

CMake Error at thirdparty/libwebp/CMakeLists.txt:204 (add_library):
Cannot find source file:
/sources/android/cpufeatures/cpu-features.c

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
.f95 .f03 .hip .ispc

CMake Error at thirdparty/libwebp/CMakeLists.txt:204 (add_library): No SOURCES given to target: cpufeatures-webp

Additional context / environment details

Device: ZTE Nubia Neo 3 GT 5G
Android: 15
Ram: 12gb
CPU: Unisoc T8100 (Tiger T760)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions