-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Create Vala & C++ project #476
Comments
The log is clipped but there is this:
and
This seems to indicate some sort of problem in the dependencies rather than with Vala/C++ mixing. |
taglib doesn't exist in vala (only c binding) |
Is the problem here that Meson passes |
taglib is a C++ library, we can't use this type of lib in vala world. We have to write C binding. btw, I've found an hack : create a fake 'taglib' vapi.
meson ignore custom vapidir |
If this is an existing project can you post the compiler invocations that the current build system does? |
but the normal way to compile vala library is :
add -C option to generate C files with meson custom options are ignored |
If you edit |
no because C step comes before vala step
|
One workaround for this is to put the Vala code in a separate, static library. Then link the C++ library to it. That way you can put taglib as a dependency of the C++ library but not the Vala library. |
I can't create this type of project due to errors :
meson.build : http://pastebin.com/AWtjPUF6
build log : http://pastebin.com/NWu9g3ks
The text was updated successfully, but these errors were encountered: