Search found 8 matches

by josh3736
2014-03-16T11:59:55-07:00
Forum: Magick++
Topic: Why is Image.write() blocking all threads?
Replies: 7
Views: 19594

Re: Why is Image.write() blocking all threads?

Windows 8.1
by josh3736
2014-03-16T11:35:58-07:00
Forum: Magick++
Topic: Why is Image.write() blocking all threads?
Replies: 7
Views: 19594

Re: Why is Image.write() blocking all threads?

Thanks for the reply. I'm taking in BMP images and trying to output PNG.
by josh3736
2014-03-14T17:01:46-07:00
Forum: Magick++
Topic: Why is Image.write() blocking all threads?
Replies: 7
Views: 19594

Why is Image.write() blocking all threads?

I'm trying to perform ImageMagick operations on a thread pool (using libuv). Each worker thread creates its own Magick::Image instance, does some stuff (different image data and options for every request), and eventually calls Image.write(<freshly allocated Magick::Blob>). I've noticed that every ...
by josh3736
2013-07-12T16:41:39-07:00
Forum: Users
Topic: Can't build a nodejs addon that links to IM x86 Windows
Replies: 8
Views: 7897

Re: Can't build a nodejs addon that links to IM x86 Windows

Issue resolved.

Turns out this was an issue with the module's build configuration and the order of includes.

Thanks for your help.
by josh3736
2013-07-12T14:00:48-07:00
Forum: Users
Topic: Can't build a nodejs addon that links to IM x86 Windows
Replies: 8
Views: 7897

Re: Can't build a nodejs addon that links to IM x86 Windows

Nope: imagemagick.obj : error LNK2001: unresolved external symbol "public: __thisca ll Magick::Geometry::Geometry(unsigned int,unsigned int,int,int,bool,bool)" (?? 0Geometry@Magick@@QAE@IIHH_N0@Z) [D:\Users\Josh\Documents\js\node-imagemagick-n ative\build\imagemagick.vcxproj] D:\Users\Josh\Documents ...
by josh3736
2013-07-12T13:42:51-07:00
Forum: Users
Topic: Can't build a nodejs addon that links to IM x86 Windows
Replies: 8
Views: 7897

Re: Can't build a nodejs addon that links to IM x86 Windows

There is an error in there:
magick-baseconfig.h(183): error C2371: 'ssize_t' : redefinition; different basic types
by josh3736
2013-07-12T13:36:19-07:00
Forum: Users
Topic: Can't build a nodejs addon that links to IM x86 Windows
Replies: 8
Views: 7897

Re: Can't build a nodejs addon that links to IM x86 Windows

Adding #define _SSIZE_T_ 1 to magick-baseconfig.h gives me: C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /I"D:\Us ers\Josh\.node-gyp\0.10.13\src" /I"D:\Users\Josh\.node-gyp\0.10.13\deps\uv\in clude" /I"D:\Users\Josh\.node-gyp\0.10.13\deps\v8\include" /I"C:\Program File s (x86 ...
by josh3736
2013-07-12T12:52:59-07:00
Forum: Users
Topic: Can't build a nodejs addon that links to IM x86 Windows
Replies: 8
Views: 7897

Can't build a nodejs addon that links to IM x86 Windows

Trying to build node-imagemagick-native on a Windows 7 x64 box, targeting x86. ImageMagick's definition of ssize_t conflicts with libuv's definition. magick-baseconfig.h #if !defined(ssize_t) && !defined(__MINGW32__) && !defined(__MINGW64__) #if defined(_WIN64) typedef __int64 ssize_t; #else typedef ...