0

So I am tinkering with making an app that uses the taglib library. Currently I installed the library to '/usr/include/taglib/' but when I try to build my app with sudo ninja install it says that it can't find the 'tag_c.h' file in the compiled c code of my app. This 'tag_c.h' file can however be found in the above directory.

The important parts of my meson file look as follows:

dependencies = [
    dependency('gio-unix-2.0', version: '>=2.20'),
    dependency('granite'),
    dependency('taglib_c')
]
...
executable(
    meson.project_name(),
    code_files,
    dependencies: dependencies,
    install: true
)

First of all, how do I solve this problem?

Second of all, is this just a problem on my machine? How do I make sure that other people who install my app also install taglib by just meson building it and have it work right away?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.