You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That hd5.pc file seems to be buggy. Including -ldebug -loptimized is certainly wrong. Then, Libs.private still includes a mix of library names with and without .lib appended, because of -lshlwapi. If after removing -ldebug and -loptimized things don't work, can you try changing -lshlwapi to -lshlwapi.lib?
Describe the bug
When I add
hdf5
as a dependency to a C piece of code on windows, ie `I end up with a link failure of msvc
The
hdf5.pc
used by meson was generated by a cmake build and contains:The Libs.private seems to be a part added to the linking and modified by meson by appending a '.lib'
To Reproduce
Create a simple C program that do nothing but contains
The meson.build should contains
Expected behavior
Linking to hdf5 on windows should work and meson should not append ".lib" when it is already present at end of file.
system parameters
meson --version
1.6.0ninja --version
1.12.1The text was updated successfully, but these errors were encountered: