ndk-samples icon indicating copy to clipboard operation
ndk-samples copied to clipboard

Error when compiling webp project (CMake Error at CMakeLists.txt:37 (add_subdirectory): add_subdirectory given source)

Open Mik-el opened this issue 3 years ago • 0 comments

Hi, I've successfully compiled the "native-media" project, but I can't compile the "webp" one. I get this error:

CMake Error at CMakeLists.txt:37 (add_subdirectory): add_subdirectory given source "C:/Users/Mikel/Desktop/ndk-samples-main/webp/libwebp" which is not an existing directory.

Since the "libwebp" subdirectory is missing from the project folder, I tried making one from file explorer, but this seems to generate more problems.

If needed, this is my configuration:

  • ndkVersion version 22.1.7171670
  • cMake version 3.18.1

How can I solve this?

Mik-el avatar Oct 25 '21 15:10 Mik-el