Skip to content
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

Window编译报错 #1245

Open
HomengLau opened this issue Apr 16, 2024 · 1 comment
Open

Window编译报错 #1245

HomengLau opened this issue Apr 16, 2024 · 1 comment

Comments

@HomengLau
Copy link

代码节点:
image
NDK路径:
image

环境变量配置:
image

(base) PS F:\Project\GitHub\mars\mars> python.exe .\build_android.py
Enter menu:

  1. Clean && build mars.
  2. Build incrementally mars.
  3. Clean && build xlog.
  4. Exit
    3
    ndk path:D:\Program Files\Android\Sdk\ndk\20.1.5948944
    [[==BUILD_DESCRIPTION==]]Revision: 6c71f72                   <style type="text/css">.description table { margin: 10px 0 15px 0; border-collapse: collapse; font-family: Helvetica, "Hiragino Sans GB", Arial, sans-serif; font-size: 11px; line-height: 16px; color: #737373; background-color: white; margin: 10px 12px 10px 12px;}.description td,th { border: 1px solid #ddd; padding: 3px 10px; }.description th { padding: 5px 10px; }.description a { color: #0069d6; }.description a:hover { color: #0050a3; text-decoration: none; }.description h5 { font-size: 14px; }</style>
    PublicComponent
    KEYVALUE
    Branchmaster
    BuildTag
    BuildTime2024-04-16 23:31:36
    Revision6c71f72

    build cmd:cmake "F:\Project\GitHub\mars\mars" -G "Unix Makefiles" -DANDROID_ABI="arm64-v8a" -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=D:\Program Files\Android\Sdk\ndk\20.1.5948944/build/cmake/android.toolchain.cmake -DANDROID_TOOLCHAIN=clang -DANDROID_NDK=D:\Program Files\Android\Sdk\ndk\20.1.5948944 -DANDROID_PLATFORM=android-21 -DANDROID_STL="c++_shared" && cmake --build . --target libzstd_static marsxlog --config Release -- -j8
    CMake Error: The source directory "F:/Project/GitHub/mars/mars/cmake_build/Android/Files/Android/Sdk/ndk/20.1.5948944" does not exist.
    Specify --help for usage, or press the help button on the CMake GUI.
    !!!!!!!!!!!!!!!!!!build fail!!!!!!!!!!!!!!!!!!!!
    (base) PS F:\Project\GitHub\mars\mars> python --version
    Python 3.11.5
@zhanlan123
Copy link

很明显的错误。CMake Error: The source directory "F:/Project/GitHub/mars/mars/cmake_build/Android/Files/Android/Sdk/ndk/20.1.5948944" does not exist.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants