mattvchandler / 2050

2048, but round!
MIT License
28 stars 4 forks source link

does not contain a CMakeLists.txt file. #9

Open sunnycomes opened 5 years ago

sunnycomes commented 5 years ago

Sorry to trouble you, dear author. I run command ./gradlew assembleRelease to build this project. But I ran into a trouble as follows. As a beginner, I really lose my head. Can you help me out?


> Task :app:generateJsonModelRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:generateJsonModelRelease'.
> Build command failed.
  Error while executing process /home/sunnycomes/Android/sdk/cmake/3.6.4111459/bin/cmake with arguments {-H/home/sunnycomes/droidpdf-obfuscator/src/2050/app -B/home/sunnycomes/droidpdf-obfuscator/src/2050/app/.externalNativeBuild/cmake/release/armeabi -DANDROID_ABI=armeabi -DANDROID_PLATFORM=android-19 -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/sunnycomes/droidpdf-obfuscator/src/2050/app/build/intermediates/cmake/release/obj/armeabi -DCMAKE_BUILD_TYPE=Release -DANDROID_NDK=/home/sunnycomes/Android/ndk -DCMAKE_CXX_FLAGS=-std=c++1z -frtti -fexceptions -Wall -DCMAKE_TOOLCHAIN_FILE=/home/sunnycomes/Android/ndk/build/cmake/android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=/home/sunnycomes/Android/sdk/cmake/3.6.4111459/bin/ninja -GAndroid Gradle - Ninja -DANDROID_STL=c++_static}
  -- Check for working C compiler: /home/sunnycomes/Android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang
  -- Check for working C compiler: /home/sunnycomes/Android/ndk/toolchains/llvm/prebuilt/linux-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: /home/sunnycomes/Android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++
  -- Check for working CXX compiler: /home/sunnycomes/Android/ndk/toolchains/llvm/prebuilt/linux-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
  -- Configuring incomplete, errors occurred!
  See also "/home/sunnycomes/droidpdf-obfuscator/src/2050/app/.externalNativeBuild/cmake/release/armeabi/CMakeFiles/CMakeOutput.log".

  CMake Error at CMakeLists.txt:12 (add_subdirectory):
    The source directory

      /home/sunnycomes/droidpdf-obfuscator/src/2050/libraries/freetype

    does not contain a CMakeLists.txt file.

  CMake Error at CMakeLists.txt:13 (add_subdirectory):
    The source directory

      /home/sunnycomes/droidpdf-obfuscator/src/2050/libraries/textogl

    does not contain a CMakeLists.txt file.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 4m 46s
20 actionable tasks: 1 executed, 19 up-to-date
mattvchandler commented 4 years ago

Sorry for the long delay, but I haven't been on here in a while. If you haven't solved this already, it looks like you might not have pulled in the dependencies. Try git submodule update --init and build again.