Giter VIP home page Giter VIP logo

Comments (4)

FichteFoll avatar FichteFoll commented on August 14, 2024

What's your OS and meson version?

from aegisub.

milahu avatar milahu commented on August 14, 2024

this is on nixos linux, my build file is aegisub.nix

i guess that meson's dependency('boost' is looking for pkg-config files (*.pc)
but nix only provides cmake files for boost

nix-shell -p boost17x.{out,dev}

find /nix/store/*-boost-1.77.0{,-dev} -name '*.pc' | wc -l 
0
ls /nix/store/*-boost-1.77.0-dev/lib/cmake | head
/nix/store/1y236bbv4n0qbvf1q7zihh4kdmxxvf2q-boost-1.77.0-dev/lib/cmake:
Boost-1.77.0
boost_atomic-1.77.0
boost_chrono-1.77.0
boost_container-1.77.0
boost_context-1.77.0
boost_contract-1.77.0
boost_coroutine-1.77.0
boost_date_time-1.77.0
BoostDetectToolset-1.77.0.cmake

still a problem with latest Aegisub

cc.find_library('boost_system') still works for me

build works, but im getting runtime errors:
audio plays too fast, sounds garbled
video does not play. when i seek, the video is frozen at the current frame
same problem with different videos (they all work in mpv or gaupol)

from aegisub.

eli-schwartz avatar eli-schwartz commented on August 14, 2024

i guess that meson's dependency('boost' is looking for pkg-config files (*.pc)

Boost upstream doesn't provide .pc files (sad, but they seem to irrationally dislike the idea).

Instead, Meson includes a custom dependency lookup, defined here: https://github.com/mesonbuild/meson/blob/master/mesonbuild/dependencies/boost.py

You may need to define $BOOST_ROOT for that to work.

from aegisub.

milahu avatar milahu commented on August 14, 2024

so meson seems to dislike the idea of a cmake lookup of boost → mesonbuild/meson#8801

closing as "has workaround"

thanks : )

from aegisub.

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.