-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
[magnum-plugins] cmake configure failure #17520
Comments
Hi @sbrkopac Thanks for posting this issue. There are several questions that need to make it clear:
|
Hi @NancyLi1013 You might need corrade and magnum as head installs as well:
I followed the documentation outlined in two places: |
Thanks for your information. I will try this again later. |
Sorry for the long delay. Confirmed this is a bug, I will look into it and try to fix this soon. |
This is due to https://github.com/microsoft/vcpkg/blob/master/ports/magnum-plugins/portfile.cmake
@Squareys can you help take a look? Thanks. |
@NancyLi1013 Hey, sorry, somehow I missed the @ there. The plugins are not meant to be used statically through vcpkg. Instead the .dll files are copied during the DLL dependency search after CMake configure with the Head builds should be fine, but I'm currently experiencing some issues here aswell (a patch on the magnum port is not applying, but the affected code hasn't changed for 6+ months). Currently looking into that. |
I fixed the build of magnum/magnum-plugins in #19435 |
Thanks for Squareys' reply and fix. @sbrkopac According to the comment in magnum-plugins's portfile.cmake and Squareys' reply, plugins are "Modules" that cannot be linked as libraries, but are meant to be [loaded at runtime]. (https://doc.magnum.graphics/magnum/plugins.html#plugins-loading).
You can also see discussion of magnum-plugins in #2687 |
@Squareys Does this issue resolved? |
Thanks for posting this issue. Please reopen this issue if this is still a problem for you. |
Host Environment
To Reproduce
Steps to reproduce the behavior:
./vcpkg install --head magnum-plugins[pngimporter]:x64-windows
Failure logs
Additional context
CMakeLists.txt
The text was updated successfully, but these errors were encountered: