GithubHelp home page GithubHelp logo

Comments (7)

thealban avatar thealban commented on June 16, 2024

would be great if someone could help on this I need the newest version but I can't build the project

from ffmpeg-android.

johnmurphy01 avatar johnmurphy01 commented on June 16, 2024

I had to update my NDK ABI version to 4.9(the default is 4.8). I also had to update my android version to something other than the default(which is 9). I updated my version to 23. All of this can be done from within the settings.sh bash file. I am running into other issues but this got me past the C compiler and toolchain errors.

from ffmpeg-android.

johnmurphy01 avatar johnmurphy01 commented on June 16, 2024

My issue is within x264. Whenever I run the bash script to compile x264, I get the following in the logs:

checking for pthread_create(0,0,0,0); in pthread.h... no
Failed command line was:
---------------------------------------------------------
/home/john/repos/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-gcc conftest.c -Wall -I. -
I$(SRCPATH) --sysroot=/home/john/repos/ffmpeg-android/toolchain-android/sysroot -std=gnu99 -
lpthread --sysroot=/home/john/repos/ffmpeg-android/toolchain-android/sysroot -lm -o conftest 
androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpthread
collect2: error: ld returned 1 exit status

There are several more of these similar errors surrounding swscale.h, lpostproc, lavcodec and more

from ffmpeg-android.

stonyz avatar stonyz commented on June 16, 2024

Same issue on ubuntu 14.04

from ffmpeg-android.

SwatGuard avatar SwatGuard commented on June 16, 2024

Same in Ubuntu 16.04.

from ffmpeg-android.

kohiyadav avatar kohiyadav commented on June 16, 2024

I am facing the same issue the log file content is as below:

x264 configure script
Command line options: "--cross-prefix=/home/test/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-" "--sysroot=/home/test/ffmpeg-android/toolchain-android/sysroot" "--host=arm-linux" "--enable-pic" "--disable-asm" "--enable-static" "--disable-shared" "--prefix=/home/test/ffmpeg-android/toolchain-android" "--disable-cli"

checking whether /home/test/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-gcc works... no
Failed commandline was:

/home/test/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-gcc conftest.c -Wall -I. -I$(SRCPATH) --sysroot=/home/test/ffmpeg-android/toolchain-android/sysroot --sysroot=/home/test/ffmpeg-android/toolchain-android/sysroot -lm -o conftest
./configure: line 157: /home/test/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi-gcc: No such file or directory

Failed program was:

int main (void) { return 0; }

DIED: No working C compiler found.

from ffmpeg-android.

csbubbles avatar csbubbles commented on June 16, 2024

Same in Ubuntu 18.

from ffmpeg-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.