Comments (12)
#17 (comment)
i need to see the log. are you in china? you may need a vpn to download.do you think its a good idea to set GitHub releases and get the archives from it? or there is a limitation to it?
maybe as a fallback?A fallback is a good idea. But I still need the log to known the
STATUS
value when download failed.yes i dont mind the logs to keep track of what happens, can a check for md5 or sha256 be added or you think it will be a not needed work?
i upload sdk to the same url, so the content changes, md5 is not an option
from fvp.
add a line before execute_process https://github.com/wang-bin/fvp/blob/master/android/CMakeLists.txt#L57
if(NOT EXISTS ${MDK_SDK_SAVE})
message("Downloading mdk-sdk from ${MDK_SDK_URL}")
file(DOWNLOAD ${MDK_SDK_URL} ${MDK_SDK_SAVE} SHOW_PROGRESS)
endif()
message("extract mdk-sdk") # ADD THIS LINE
execute_process(
then show me the output again.
Does /Users/womo/.pub-cache/hosted/pub.dev/fvp-0.2.1/android/mdk-sdk-android.7z exist?
from fvp.
His question should also be the same as mine, mdk sdk android.7z is empty when downloaded back!
from fvp.
i need to see the log. are you in china? you may need a vpn to download.
from fvp.
i need to see the log. are you in china? you may need a vpn to download.
do you think its a good idea to set GitHub releases and get the archives from it? or there is a limitation to it?
maybe as a fallback?
from fvp.
#17 (comment)
i need to see the log. are you in china? you may need a vpn to download.do you think its a good idea to set GitHub releases and get the archives from it? or there is a limitation to it?
maybe as a fallback?
A fallback is a good idea. But I still need the log to known the STATUS
value when download failed.
from fvp.
#17 (comment)
i need to see the log. are you in china? you may need a vpn to download.do you think its a good idea to set GitHub releases and get the archives from it? or there is a limitation to it?
maybe as a fallback?A fallback is a good idea. But I still need the log to known the
STATUS
value when download failed.
yes i dont mind the logs to keep track of what happens, can a check for md5 or sha256 be added or you think it will be a not needed work?
from fvp.
@wang-bin
I added line message("extract mdk-sdk")
and saw it logged
from fvp.
This is full log
[CXX1405] error when building with cmake using /Users/tastech-sakura/.pub-cache/hosted/pub.dev/fvp-0.4.0/android/CMakeLists.txt: -- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Users/tastech-sakura/Library/Android/sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring incomplete, errors occurred!
See also "/Users/tastech-sakura/.pub-cache/hosted/pub.dev/fvp-0.4.0/android/.cxx/Debug/3zb46495/arm64-v8a/CMakeFiles/CMakeOutput.log".
C++ build system [configure] failed while executing:
/Users/tastech-sakura/Library/Android/sdk/cmake/3.18.1/bin/cmake \
-H/Users/tastech-sakura/.pub-cache/hosted/pub.dev/fvp-0.4.0/android \
-DCMAKE_SYSTEM_NAME=Android \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCMAKE_SYSTEM_VERSION=16 \
-DANDROID_PLATFORM=android-16 \
-DANDROID_ABI=arm64-v8a \
-DCMAKE_ANDROID_ARCH_ABI=arm64-v8a \
-DANDROID_NDK=/Users/tastech-sakura/Library/Android/sdk/ndk/23.1.7779620 \
-DCMAKE_ANDROID_NDK=/Users/tastech-sakura/Library/Android/sdk/ndk/23.1.7779620 \
-DCMAKE_TOOLCHAIN_FILE=/Users/tastech-sakura/Library/Android/sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake \
-DCMAKE_MAKE_PROGRAM=/Users/tastech-sakura/Library/Android/sdk/cmake/3.18.1/bin/ninja \
-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/tastech-sakura/Sakura/Dev/triptube/trimo/build/fvp/intermediates/cxx/Debug/3zb46495/obj/arm64-v8a \
-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/Users/tastech-sakura/Sakura/Dev/triptube/trimo/build/fvp/intermediates/cxx/Debug/3zb46495/obj/arm64-v8a \
-DCMAKE_BUILD_TYPE=Debug \
-B/Users/tastech-sakura/.pub-cache/hosted/pub.dev/fvp-0.4.0/android/.cxx/Debug/3zb46495/arm64-v8a \
-GNinja \
-DANDROID_STL=c++_shared
from /Users/tastech-sakura/.pub-cache/hosted/pub.dev/fvp-0.4.0/android
CMake Warning at /Users/tastech-sakura/Library/Android/sdk/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
/Users/tastech-sakura/Library/Android/sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include)
/Users/tastech-sakura/Library/Android/sdk/cmake/3.18.1/share/cmake-3.18/Modules/CMakeDetermineSystem.cmake:93 (include)
CMakeLists.txt:8 (project)
CMake Warning at /Users/tastech-sakura/Library/Android/sdk/ndk/23.1.7779620/build/cmake/android-legacy.toolchain.cmake:416 (message):
An old version of CMake is being used that cannot automatically detect
compiler attributes. Compiler identification is being bypassed. Some
values may be wrong or missing. Update to CMake 3.19 or newer to use
CMake's built-in compiler identification.
Call Stack (most recent call first):
/Users/tastech-sakura/Library/Android/sdk/ndk/23.1.7779620/build/cmake/android.toolchain.cmake:55 (include)
/Users/tastech-sakura/.pub-cache/hosted/pub.dev/fvp-0.4.0/android/.cxx/Debug/3zb46495/arm64-v8a/CMakeFiles/3.18.1-g262b901/CMakeSystem.cmake:6 (include)
/Users/tastech-sakura/.pub-cache/hosted/pub.dev/fvp-0.4.0/android/.cxx/Debug/3zb46495/arm64-v8a/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (project)
------------->extract mdk-sdk
CMake Error: Problem with archive_read_next_header():
CMake Error: Problem extracting tar: /Users/tastech-sakura/.pub-cache/hosted/pub.dev/fvp-0.4.0/android/mdk-sdk-android.7z
CMake Error at CMakeLists.txt:65 (message):
Failed to extract mdk-sdk. You can download manually from
https://sourceforge.net/projects/mdk-sdk/files/nightly/mdk-sdk-android.7z
and extract to
/Users/tastech-sakura/.pub-cache/hosted/pub.dev/fvp-0.4.0/android
from fvp.
You can download manually from
https://sourceforge.net/projects/mdk-sdk/files/nightly/mdk-sdk-android.7z
and extract to
/Users/tastech-sakura/.pub-cache/hosted/pub.dev/fvp-0.4.0/android
from fvp.
Yes. I download manually then fvp build success.
I think maybe this problem is related to timeout when dowload mdk-sdk-android.7z
from fvp.
Will download again when rebuilding your project.
from fvp.
Related Issues (20)
- linux 构建生成cmake_install.cmake中的CMAKE_INSTALL_PREFIX不正确 HOT 3
- Some VP9 Webms don't produce video output HOT 9
- Crash on iOS HOT 13
- [Question] Is it possible to use the ffmpeg libs like the command line version? HOT 2
- Default flutter application can't run on Android with the fvp plugin HOT 5
- App crash on IOS and iPad 17 , HOT 6
- App Crash on iOS HOT 2
- Inconsistent getPosition result HOT 3
- [mdk.dart aka backend player api] Choppy playback after setting external audio track, application freezes in between switching media source. HOT 7
- Crash on Android debug mode HOT 2
- [Question] 如何播放二进制流 HOT 3
- 直播m3u8视频Debug模式正常,Release模式时长Duration获取不对,显示2562047788:00:54 HOT 23
- iphone/ipad 设备静音后播放视频没有声音,videoplayer官方的是没问题,其它app也都有声音 HOT 2
- 某些m3u8的视频中插入了广告,这个时候视频会卡住,听见广告的声音,有没有办法可以跳过这种插入的广告 HOT 2
- Debug模式没问题,真机Release模式崩溃,mdk.demux@0x16aef3000 (37): EXC_BREAKPOINT (code=1, subcode=0x1ae529df0) HOT 41
- 某小视频开头插入了一段广告,广告播放完成后,画面就卡住不动了(广告的最后一帧),声音还在继续播放,VT error: -12909 HOT 13
- 华为平板FDR-A03L,Android5.1.1,CPU Qualcomm MSM8939,AMediaCodec奔溃,不会自动跳到FFmpeg HOT 2
- 华为平板FDR-A03L,Android5.1.1,CPU Qualcomm MSM8939,FFmpeg视频画面绿色的 HOT 24
- NokiaX7 两种解码方式结果一样刷新率肉眼可见的低,估计1秒只有10帧 HOT 3
- Video Player Init Faild HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fvp.