Skip to content
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

Linking against MSVC 2019/2022 from a MingW compilation #296

Open
ggarra13 opened this issue Oct 31, 2024 · 0 comments
Open

Linking against MSVC 2019/2022 from a MingW compilation #296

ggarra13 opened this issue Oct 31, 2024 · 0 comments

Comments

@ggarra13
Copy link

I managed to use libplacebo to handle tonemapping on both Linux and macOS without any issues, by reading all the metadata of FFmpeg, following the discussion on #294.

Now my issue is on Windows. I am able to compile a libplacebo DLL on Windows with MingW64 to link against MSVC, which I thought it would fine as I thought libplacebo was all .c code. However, there seems to be at least one c++ file that relies on c++ std (convert.cc) and as such is not compatible. Well there's also glslang.cc but I am not using that.

Are there plans to change that C++ file with a C implementation? It seems all (I know it is quite a lot) needed to create pl_str_parse_* and pl_str_print_* for all the different types and make libplacebo a pure C library, instead of using template functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant