bilibili / ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support.
GNU General Public License v2.0
32.59k stars 8.14k forks source link

我用的windows10子系统编译出错 #4961

Open Dallur opened 4 years ago

Dallur commented 4 years ago

执行 ./compile-openssl.sh all时出错

[*] check archs

FF_ALL_ARCHS = armv5 armv7a arm64 x86 x86_64 FF_ACT_ARCHS = armv5 armv7a arm64 x86 x86_64


[*] make NDK standalone toolchain

build on Linux x86_64 ANDROID_NDK=/mnt/e/Android/ndk/android-ndk-r10e NDKr10e-rc4(64-bit) detected


[*] make NDK standalone toolchain

build on Linux x86_64 ANDROID_NDK=/mnt/e/Android/ndk/android-ndk-r10e NDKr10e-rc4(64-bit) detected WARNING: The shell running this script isn't bash. Although we try to avoid bashism in scripts, things can happen. Copying prebuilt binaries... Copying sysroot headers and libraries... Copying c++ runtime headers and libraries... Copying files to: /mnt/e/3.5_Works/ijkplayer/ijkplayer-android/android/contrib/build/openssl-armv5/toolchain Cleaning up... Done.


[*] check openssl env

tools/do-compile-openssl.sh: 157: export: Files/WindowsApps/CanonicalGroupLimited.UbuntuonWindows_1804.2019.521.0_x64__79rhkp1fndgsc:/mnt/c/Program: bad variable name 请问怎么解决,谢谢 已经打开开发者模式和启用“适用于Linux的windows子系统”这两步。

Doikki commented 4 years ago

sudo su切换root账户