ImageMagick's definition of ssize_t conflicts with libuv's definition.
magick-baseconfig.h
Code: Select all
#if !defined(ssize_t) && !defined(__MINGW32__) && !defined(__MINGW64__)
#if defined(_WIN64)
typedef __int64 ssize_t;
#else
typedef long ssize_t;
#endif
#endif
Code: Select all
#if !defined(_SSIZE_T_) && !defined(_SSIZE_T_DEFINED)
typedef intptr_t ssize_t;
# define _SSIZE_T_
# define _SSIZE_T_DEFINED
#endif
For kicks and giggles, I tried changing long to intptr_t and gotmagick-baseconfig.h(182): error C2371: 'ssize_t' : redefinition; different basic types
Additional information here: https://github.com/mash/node-imagemagic ... e/issues/5imagemagick.obj : error LNK2001: unresolved external symbol "public: __thiscall
Magick::Geometry::Geometry(unsigned int,unsigned int,int,int,bool,bool)" (??0G eometry@Magick@@QAE@IIHH_N0@Z) [D:\Users\Josh\Documents\js\node-imagemagick-nat ive\build\imagemagick.vcxproj]
D:\Users\Josh\Documents\js\node-imagemagick-native\build\Release\imagemagick.no de : fatal error LNK1120: 1 unresolved externals [D:\Users\Josh\Documents\js\no de-imagemagick-native\build\imagemagick.vcxproj]
Any ideas how I can get ImageMagick working with node x86?