Coder Social home page Coder Social logo

ffmpeg fails to build about openmw-android HOT 17 CLOSED

xyzz avatar xyzz commented on September 10, 2024
ffmpeg fails to build

from openmw-android.

Comments (17)

licaon-kter avatar licaon-kter commented on September 10, 2024

Maybe you don't have all the deps, eg. https://gitlab.com/fdroid/fdroiddata/-/blob/master/metadata/is.xyz.omw_nightly.yml#L264

from openmw-android.

strikersix23 avatar strikersix23 commented on September 10, 2024

The only I didn't have was doxygen but that doesn't affect ffmpeg

from openmw-android.

strikersix23 avatar strikersix23 commented on September 10, 2024

Build fails still

from openmw-android.

xyzz avatar xyzz commented on September 10, 2024

Log file?

from openmw-android.

strikersix23 avatar strikersix23 commented on September 10, 2024

Ill try to build on Tuesday. The original official openme compiles correctly I'm going to try again

from openmw-android.

strikersix23 avatar strikersix23 commented on September 10, 2024

here is the error

-- Found FFmpeg: /home/aj/openmw-android/buildscripts/prefix/arm/lib/libavcodec.a;/home/aj/openmw-android/buildscripts/prefix/arm/lib/libavformat.a;/home/aj/openmw-android/buildscripts/prefix/arm/lib/libavutil.a;/home/aj/openmw-android/buildscripts/prefix/arm/lib/libswscale.a;/home/aj/openmw-android/buildscripts/prefix/arm/lib/libswresample.a found components: AVCODEC AVFORMAT AVUTIL SWSCALE SWRESAMPLE
-- libavformat is too old! (, wanted 57.56.100)
-- libavcodec is too old! (, wanted 57.64.100)
-- libavutil is too old! (, wanted 55.34.100)
-- libswscale is too old! (, wanted 4.2.100)
-- libswresample is too old! (, wanted 2.3.100)
CMake Error at CMakeLists.txt:208 (message):
FFmpeg version is too old, 3.2 is required

-- Configuring incomplete, errors occurred!
See also "/home/aj/openmw-android/buildscripts/build/arm/openmw-prefix/src/openmw-build/CMakeFiles/CMakeOutput.log".
make[2]: *** [openmw-prefix/src/openmw-stamp/openmw-configure] Error 1
make[1]: *** [CMakeFiles/openmw.dir/all] Error 2
make: *** [all] Error 2

from openmw-android.

xyzz avatar xyzz commented on September 10, 2024

And what's in /home/aj/openmw-android/buildscripts/build/arm/openmw-prefix/src/openmw-build/CMakeFiles/CMakeOutput.log?

from openmw-android.

strikersix23 avatar strikersix23 commented on September 10, 2024

here
CMakeOutput.log

from openmw-android.

strikersix23 avatar strikersix23 commented on September 10, 2024

anything wrong?

from openmw-android.

xyzz avatar xyzz commented on September 10, 2024

Is it running on WSL? Try compiling it on a real Ubuntu 18.04 VM. The script at https://github.com/xyzz/openmw-android/blob/master/buildscripts/ssh-build.sh is what I use for clean 18.04 VMs on AWS, so it should always work.

from openmw-android.

strikersix23 avatar strikersix23 commented on September 10, 2024

Im using wsl2 with Ubuntu 18.04 running on wsl2 Linux kernel I've compiled on wsl before and it worked I tested vanilla openmw port and ffmpeg works fine

from openmw-android.

strikersix23 avatar strikersix23 commented on September 10, 2024

Can you tell me the deps that I need on the Ubuntu system

from openmw-android.

strikersix23 avatar strikersix23 commented on September 10, 2024

Is htop and 7zip a hard dependency do I need qt5

from openmw-android.

strikersix23 avatar strikersix23 commented on September 10, 2024

I don't have acces to aws vm

from openmw-android.

licaon-kter avatar licaon-kter commented on September 10, 2024

Works fine in a local Virtualbox Debian VM with fdroidserver.

from openmw-android.

Sisah2 avatar Sisah2 commented on September 10, 2024

Does anyone find solution without using virtual machine?

from openmw-android.

Sisah2 avatar Sisah2 commented on September 10, 2024

Got it to work, removing "NOT" in line "if (NOT WIN32)" in file buildscripts/build/arm64/openmw-prefix/src/openmw/CMakeLists.txt disable that check and compile fine, just search for ffmpeg in that file.

from openmw-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.