Skip to content

请修正mdk-sdk的下载地址 #17

Closed

Activity

  1. wang-bin commented on Aug 22, 2023

    @wang-bin
    Owner

    will redirect to a mirror link, for example the url you provided

  2. wang-bin commented on Aug 22, 2023

    @wang-bin
    Owner

    you can show me the full build log

  3. AnonymHK commented on Aug 22, 2023

    @AnonymHK
    Author

    https://sourceforge.net/projects/mdk-sdk/files/nightly/mdk-sdk-android.7z 这个地址只是下载页的地址,不是实际文件地址,你打开这个Url就能看到了,编译的时候,这个地址下载回去的7z压缩包是空的! 上面的下载页实际下载地址应该是
    https://altushost-swe.dl.sourceforge.net/project/mdk-sdk/nightly/mdk-sdk-android.7z

  4. wang-bin commented on Aug 23, 2023

    @wang-bin
    Owner

    the url will be redirected to a real url. what's your cmake version? Here is a CMakeLists.txt you can test

    cmake_minimum_required(VERSION 3.16)
    project(test)
    file(DOWNLOAD https://sourceforge.net/projects/mdk-sdk/files/nightly/mdk-sdk-android.7z ${CMAKE_CURRENT_SOURCE_DIR}/a.7z SHOW_PROGRESS LOG dl STATUS st)
    message("status: ${st}, log: ${dl}")
    

    run cmake . and show me the output. on linux, wsl or mac, run cmake . 2>&1 |tee log.txt and upload log.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions