vlc编译错误

wufen@wufenPC:~/code/VLC/android$ sh compile.sh
For an ARMv6 device without FPU:
$ export NO_FPU=1
For an ARMv5 device:
$ export NO_ARMV6=1

If you plan to use a release build, run 'compile.sh release'
VLC source found
Building tools
You are ready to build VLC and its contribs
Building the contribs
Guessing build system... x86_64-linux-gnu
Creating configuration file... config.mak
Bootstrap completed.

Run "make" to start compilation.

Other targets:
 * make install      same as "make"
 * make prebuilt     fetch and install prebuilt binaries
 * make list         list packages
 * make fetch        fetch required source tarballs
 * make fetch-all    fetch all source tarballs
 * make distclean    clean everything and undo bootstrap
 * make mostlyclean  clean everything except source tarballs
 * make clean        clean everything
 * make package      prepare prebuilt packages
make: 没有什么可以做的为 `fetch'。
cd libebml && make -C make/linux prefix="/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi" CC="arm-linux-androideabi-gcc --sysroot=/home/wufen/ide/android-ndk-r8e/platforms/android-9/arch-arm" CXX="arm-linux-androideabi-g++ --sysroot=/home/wufen/ide/android-ndk-r8e/platforms/android-9/arch-arm" LD="arm-linux-androideabi-ld" AR="arm-linux-androideabi-ar" CCAS="arm-linux-androideabi-gcc --sysroot=/home/wufen/ide/android-ndk-r8e/platforms/android-9/arch-arm -c" RANLIB="arm-linux-androideabi-ranlib" STRIP="arm-linux-androideabi-strip" PATH="/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/bin:/home/wufen/code/VLC/android/vlc/extras/tools/build/bin:/home/wufen/code/VLC/android/vlc/extras/tools/build/bin:/home/wufen/ide/android-ndk-r8e/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86/bin:/usr/jvm/jdk1.6.0_43/bin:/usr/jvm/jdk1.6.0_43/jre/bin:/home/wufen/bin:/usr/jvm/jdk1.6.0_43/bin:/usr/jvm/jdk1.6.0_43/jre/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/wufen/ide/android-sdk-linux/platform-tools:/home/wufen/ide/android-sdk-linux/tools:/home/wufen/ide/android-ndk-r8d-linux-x86:/home/wufen/ide/android-sdk-linux/platform-tools:/home/wufen/ide/android-sdk-linux/tools:/home/wufen/ide/android-ndk-r8e" CPPFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include" CFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include -g" CXXFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include -g" LDFLAGS=" -L/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/lib" CXXFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include -g -fexceptions" CPPFLAGS="" staticlib
make[1]: 正在进入目录 `/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux'
arm-linux-androideabi-g++ --sysroot=/home/wufen/ide/android-ndk-r8e/platforms/android-9/arch-arm -c -Wall -Wextra -Wno-unknown-pragmas -fno-gnu-keywords -Wshadow -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include -g -fexceptions   -I/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../.. -fPIC -o /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.o /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.cpp
arm-linux-androideabi-g++ --sysroot=/home/wufen/ide/android-ndk-r8e/platforms/android-9/arch-arm -c -Wall -Wextra -Wno-unknown-pragmas -fno-gnu-keywords -Wshadow -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include -g -fexceptions   -I/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../.. -fPIC -o /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.o /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp
arm-linux-androideabi-g++ --sysroot=/home/wufen/ide/android-ndk-r8e/platforms/android-9/arch-arm -c -Wall -Wextra -Wno-unknown-pragmas -fno-gnu-keywords -Wshadow -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include -g -fexceptions   -I/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../.. -fPIC -o /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlString.o /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlString.cpp
arm-linux-androideabi-g++ --sysroot=/home/wufen/ide/android-ndk-r8e/platforms/android-9/arch-arm -c -Wall -Wextra -Wno-unknown-pragmas -fno-gnu-keywords -Wshadow -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -O2 -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/wufen/ide/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include -g -fexceptions   -I/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../.. -fPIC -o /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSubHead.o /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSubHead.cpp
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:58:1: error: prototype for 'libebml::EbmlSInteger::operator int8() const' does not match any in class 'libebml::EbmlSInteger'
In file included from /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:37:0:
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:74:3: error: candidates are: libebml::EbmlSInteger::operator int8()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:75:3: error:                 libebml::EbmlSInteger::operator int16()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:76:3: error:                 libebml::EbmlSInteger::operator int32()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:77:3: error:                 libebml::EbmlSInteger::operator int64()
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:59:1: error: prototype for 'libebml::EbmlSInteger::operator int16() const' does not match any in class 'libebml::EbmlSInteger'
In file included from /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:37:0:
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:74:3: error: candidates are: libebml::EbmlSInteger::operator int8()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:75:3: error:                 libebml::EbmlSInteger::operator int16()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:76:3: error:                 libebml::EbmlSInteger::operator int32()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:77:3: error:                 libebml::EbmlSInteger::operator int64()
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:60:1: error: prototype for 'libebml::EbmlSInteger::operator int32() const' does not match any in class 'libebml::EbmlSInteger'
In file included from /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:37:0:
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:74:3: error: candidates are: libebml::EbmlSInteger::operator int8()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:75:3: error:                 libebml::EbmlSInteger::operator int16()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:76:3: error:                 libebml::EbmlSInteger::operator int32()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:77:3: error:                 libebml::EbmlSInteger::operator int64()
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:61:1: error: prototype for 'libebml::EbmlSInteger::operator int64() const' does not match any in class 'libebml::EbmlSInteger'
In file included from /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:37:0:
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:74:3: error: candidates are: libebml::EbmlSInteger::operator int8()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:75:3: error:                 libebml::EbmlSInteger::operator int16()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:76:3: error:                 libebml::EbmlSInteger::operator int32()
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlSInteger.h:77:3: error:                 libebml::EbmlSInteger::operator int64()
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:63:32: error: no 'int64 libebml::EbmlSInteger::GetValue() const' member function declared in class 'libebml::EbmlSInteger'
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.cpp:65:53: error: no 'libebml::EbmlSInteger& libebml::EbmlSInteger::SetValue(int64)' member function declared in class 'libebml::EbmlSInteger'
make[1]: *** [/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlSInteger.o] 错误 1
make[1]: *** 正在等待未完成的任务....
In file included from /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.cpp:39:0:
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlFloat.h:82:26: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlFloat.h:83:27: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlFloat.h:87:29: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.cpp:70:8: error: prototype for 'double libebml::EbmlFloat::DefaultVal() const' does not match any in class 'libebml::EbmlFloat'
In file included from /home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.cpp:39:0:
/home/wufen/code/VLC/android/vlc/contrib/arm-linux-androideabi/include/ebml/EbmlFloat.h:87:16: error: candidate is: const double libebml::EbmlFloat::DefaultVal() const
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.cpp:76:29: error: no 'libebml::EbmlFloat::operator float() const' member function declared in class 'libebml::EbmlFloat'
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.cpp:77:30: error: no 'libebml::EbmlFloat::operator double() const' member function declared in class 'libebml::EbmlFloat'
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.cpp:79:30: error: no 'double libebml::EbmlFloat::GetValue() const' member function declared in class 'libebml::EbmlFloat'
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.cpp:81:48: error: no 'libebml::EbmlFloat& libebml::EbmlFloat::SetValue(double)' member function declared in class 'libebml::EbmlFloat'
make[1]: *** [/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlFloat.o] 错误 1
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlString.cpp:125:61: error: no 'libebml::EbmlString& libebml::EbmlString::SetValue(const string&)' member function declared in class 'libebml::EbmlString'
/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlString.cpp:129:36: error: no 'std::string libebml::EbmlString::GetValue() const' member function declared in class 'libebml::EbmlString'
make[1]: *** [/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux/../../src/EbmlString.o] 错误 1
make[1]:正在离开目录 `/home/wufen/code/VLC/android/vlc/contrib/android/libebml/make/linux'
make: *** [.ebml] 错误 2

wufen@wufenPC:~/code/VLC/android$





最后通过:

sudo apt-get build-dep vlc

解决

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
编译VLC Windows版本需要一些步骤和工具。首先,我们需要下载Windows版本的VLC源代码,可以从官方网站或GitHub上获取最新的源代码。接下来,我们需要安装一些编译工具,如CMake(一个用于生成构建脚本的工具)、MinGW(一个类似于MSVC的编译器工具链)和Git(用于版本控制和代码下载)。 一旦我们将源代码下载到本地,我们可以使用CMake来配置编译过程。打开CMake GUI并将源代码目录设置为源码文件的路径。然后,将构建目录设置为我们想要生成编译文件的路径。点击"Configure"按钮来生成配置文件。在这个过程中,我们可以选择一些编译选项,如编译类型(Debug或Release)和目标平台(32位或64位)。一旦配置成功,我们可以点击"Generate"按钮生成构建脚本。 然后我们打开构建脚本所在目录,并在命令行中执行编译命令。具体命令包括运行"mingw32-make"来执行编译过程,并使用"-j"参数加上CPU核心数量来加速编译。这个过程可能需要一段时间,具体取决于计算机性能和源代码大小。 一旦编译过程结束,我们可以在构建目录中找到生成的VLC可执行文件和相关依赖项。我们可以将这些文件复制到其他位置,以便在Windows系统上使用。 需要注意的是,编译VLC可能会因为各种原因出现错误或问题。这些问题可能涉及环境配置、依赖项安装或源代码本身。对于初学者来说,可能需要花费一些时间来解决这些问题。因此,熟悉编译和调试的用户可能会更加容易。 总结起来,编译VLC Windows版本需要下载源代码,安装编译工具(如CMake、MinGW和Git),使用CMake配置编译过程,执行编译命令,并注意解决潜在的错误和问题。这些步骤可以为我们提供在Windows系统上编译和使用VLC的能力。
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值