Trying to build IM from source using VS2015 I get this error:
..\..\ImageMagick\MagickCore\accelerate.c(4574): error C2039: 'x': is not a member of 'cl_float2'
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.0\include\CL/cl_platform.h(1023): note: see declaration of 'cl_float2'
It looks like IM is picking up something from OpenCl which is not working. Why IM is using OpenCl or why this is not compiling is beyond me.
Anybody have a clue how to fix this ?
Problem building from source using VS2015
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Problem building from source using VS2015
I am not a Windows user, but see
http://www.imagemagick.org/script/insta ... hp#windows
http://legacy.imagemagick.org/script/in ... hp#windows
Please do not post multiple times about the same issue
http://www.imagemagick.org/script/insta ... hp#windows
http://legacy.imagemagick.org/script/in ... hp#windows
Please do not post multiple times about the same issue
Re: Problem building from source using VS2015
I just unchecked OpenCL in the configure program to avoid this error. Thanks !fmw42 wrote:I am not a Windows user, but see
http://www.imagemagick.org/script/insta ... hp#windows
http://legacy.imagemagick.org/script/in ... hp#windows
Please do not post multiple times about the same issue
Re: Problem building from source using VS2015
It appears we were using a non portable way to access the x/y values of a cl_float2. This will be resolved in the next version of ImageMagick 7.
Re: Problem building from source using VS2015
Thanks for the reply about the non portable functionality.