编译x264出现错误:No working C compiler found.

简介: 编译x264出现错误:No working C compiler found.

这事真奇怪。网上查了一下也没有查到什么东西。配置如下:


./configure \
    --prefix=${BUILD_LIBS} \
    --extra-cflags=${BUILD_LIBS}/include \
    --extra-ldflags=${BUILD_LIBS}/lib \
    --enable-shared

 改成如下即可编译:


./configure \
    --prefix=${BUILD_LIBS} \
    --enable-shared
目录
相关文章
|
9月前
|
测试技术 iOS开发 Perl
废弃第三方库导致的library not found for -lXXXXX(linker command failed ) 完美解决方法
废弃第三方库导致的library not found for -lXXXXX(linker command failed ) 完美解决方法
151 0
编译x264出现错误:No working C compiler found.
编译x264出现错误:No working C compiler found.
1224 0
关于 CMake编译出出现错误“Could not find compiler set in environment variable RC:” 的解决方法
关于 CMake编译出出现错误“Could not find compiler set in environment variable RC:” 的解决方法
关于 CMake编译出出现错误“Could not find compiler set in environment variable RC:” 的解决方法
|
Java
解决办法:Invalid Gradle JDK configuration found
解决办法:Invalid Gradle JDK configuration found
648 1
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
782 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
|
C++
编译OpenJDK11:fixpath Unknown argument: -nologo
编译OpenJDK11:fixpath Unknown argument: -nologo
133 0
|
iOS开发
编译OpenJDK8报错:configure: error: Failed to determine Xcode version.
编译OpenJDK8报错:configure: error: Failed to determine Xcode version.
127 0
cmake编译出错:No CMAKE_CXX_COMPILER could be found.
cmake编译出错:No CMAKE_CXX_COMPILER could be found.
568 0
解决办法:configure: error: C compiler cannot create executables错误
解决办法:configure: error: C compiler cannot create executables错误
696 0
|
NoSQL
gdb问题解决办法:no debugging symbols found
gdb问题解决办法:no debugging symbols found
236 0