GithubHelp home page GithubHelp logo

Comments (6)

qmega avatar qmega commented on July 22, 2024

Pretty sure I've seen this when trying to do a meson build with waf artifacts left over in the same build dir and there's some sort of conflict/confusion. Try rm -rf build and do the meson stuff fresh.

from mpv-build.

razvaneduard avatar razvaneduard commented on July 22, 2024

I always tried meson build in a fresh directory.
In the last 1 week I think I tried 15-20 times, every time in a fresh directory,
hopping it's a temp issue with either build scripts or mpv code (but in this case waf build should also fail)

git clone https://github.com/mpv-player/mpv-build.git mpv-build
cd mpv-build
printf "%s\n" --enable-libx264    >> ffmpeg_options
printf "%s\n" --enable-libx265    >> ffmpeg_options
printf "%s\n" --enable-libmp3lame >> ffmpeg_options
printf "%s\n" --enable-libfdk-aac >> ffmpeg_options
printf "%s\n" --enable-nonfree    >> ffmpeg_options
printf "%s\n" --enable-libvorbis  >> ffmpeg_options
printf "%s\n" --enable-libvpx     >> ffmpeg_options
printf "%s\n" --enable-libopus    >> ffmpeg_options
printf "%s\n" --enable-libtheora  >> ffmpeg_options
printf "%s\n" --enable-libpulse  >> ffmpeg_options
printf "%s\n" --enable-gnutls  >> ffmpeg_options
printf "%s\n" --enable-libcaca  >> ffmpeg_options

printf "%s\n" -Dprefer_static=true  >> mpv_options
printf "%s\n" -Dx11=enabled  >> mpv_options
printf "%s\n" -Dwayland=disabled  >> mpv_options

./rebuild -j12

from mpv-build.

Dudemanguy avatar Dudemanguy commented on July 22, 2024

You shouldn't need prefer-static. That was my dumb mistake in mpv-build and it's not enabled anymore in the latest commit.

from mpv-build.

razvaneduard avatar razvaneduard commented on July 22, 2024

without
-Dprefer_static=true
the build complete.

So I shouldn't use prefer-static, right?

from mpv-build.

Dudemanguy avatar Dudemanguy commented on July 22, 2024

Right, you don't need it unless you really want to statically link absolutely everything possible (which is not the point of mpv-build).

from mpv-build.

razvaneduard avatar razvaneduard commented on July 22, 2024

thank you for the help

from mpv-build.

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.