-
Notifications
You must be signed in to change notification settings - Fork 85
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
Cannot build with OpenCL #275
Comments
Thanks for the problem report. We can reproduce the issue and will have a patch to fix it in the GIT main branch @ https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @ https://imagemagick.org/archive/beta/ by sometime tomorrow. |
@urban-warrior Thanks. For the main v7 branch it builds fine as it is (the header is already present). I thought that perhaps The commit 7a828b0 added to v6 seems to have included an extra |
I can confirm this works with the new release. Thanks! |
ImageMagick version
6.9.12-97
Operating system
MacOS
Operating system, version and so on
13.6
Description
I'm unable to build ImageMagick 6 with OpenCL. I get this error:
Adding
#include "ltdl.h"
toopencl.c
(as in ImageMagick 7) resolves the issue. It's not clear if the usage oflt_dlclose
should also be conditional based onMAGICKCORE_LTDL_DELEGATE
(it is unconditional in v7 as well).Steps to Reproduce
./configure --enable-opencl
make
Images
No response
The text was updated successfully, but these errors were encountered: