-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error when used as library in another project #17
Comments
Building these libraries as part of a bigger project is actually supported. In fact I'm doing that all the time. However, there is one caveat: The names of the Git checkout directories need to match the name of the header directory which would be installed into the include directory. In case of the Long story short: The name of the Git directory must be |
By the way, there's also the |
When I renamed the directories to c++utilities and tagparser and now I get another error:
|
Are you sure that the target |
You are right I forgot to put it in the target_link_libraries. With the following, it is building correctly:
|
Note that you don't have to use |
Again you are right. Even after removing
Nevermind, I found the problem was that I was missing one header file |
Likely you've just forgotten |
Ah, you've just updated your comment. By the way, I'm already at version 10.0.0 on master which this time unfortunately also contains some source-breaking changes because I want to move the library (slightly over time) to use newer C++ features. You might want to use the development branch directly. By the way, regarding accessing the cover within Matroska files there's still an open issue: #13 |
Is there any guide on how to add, remove attachments from a Matroska file? |
For removing, there's |
I am trying to add an attachment to an mkv with the following code
But when I try to Is there any other way to find out why the function is failing? |
The |
I found the problem. I was calling only |
Hi, I am trying to include tagparser library as a dependency in my project using the following in my
CMakelist.txt
file.However, when I try to build it I get the following error:
The text was updated successfully, but these errors were encountered: