VC11 build for 6.9.4-7

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Posts: 1
Joined: 2016-06-05T05:38:38-07:00
Authentication code: 1151

VC11 build for 6.9.4-7

Post by ozgi » 2016-06-05T05:47:10-07:00


I'm trying to build 6.9.4-7 with VC11.

in the librsvg build, i'm getting
rsvg-marker.obj : error LNK2019: unresolved external symbol _isnan referenced in function _angle_from_vector

I've added by own implementation for isnan (not sure if that's a good idea at all) and it seems to build ok.

after that is built, I'm getting this in the CORE_magick project:
fx.obj : error LNK2019: unresolved external symbol _erf referenced in function _FxEvaluateSubexpression"

I'm getting the feeling I'm doing something basically wrong or that 6.9.4 simply doesn't support VC11 (visual studio 2012).

Please advise me how to process with these problems.


User avatar
Posts: 1562
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789

Re: VC11 build for 6.9.4-7

Post by dlemstra » 2016-06-05T08:11:55-07:00

I don't understand why you cannot build librsvg. isnan has been supported since VS2012. I did however change the code in our local repository to help you when we publish the next release. I have also added an implemention for the erf method for older version of Visual Studio. This should work on VS 2012 though.

You can change it yourself if you apply the changes from the following commits: ... a2d3100644 ... 3660ff949d (this is IM7 not IM6).
.NET + ImageMagick = Magick.NET, @MagickNET, Donate

Post Reply