Page 1 of 1

C-code compile of Magick core API on Win32

Posted: 2011-10-12T15:33:15-07:00
by ctrax
I want to call the Magick core API from C-code on Win32 and I'm using the Watcom-C compiler.<br>
I have included the 'core.c' example code and the entire /magick sub-dir.<br>
I have repaired many of the #include errors but still get many "Unable to open" errors for things like 'xlocale.h' and 'pthreads' which should have nothing to do with the package on Win32.<br>
<br>
I have not found references to using the magick core API under Win32 using just 'C' -- not C#, CPP, VC, etc. I develop Win32 code apps in 'C'.<br>
Can anyone offer some guidance on how to include the Magick core API in a C project on Win32?
Thanks.

Re: C-code compile of Magick core API on Win32

Posted: 2011-10-12T18:39:35-07:00
by el_supremo
I have one simple example of using MagickCore in C on my website at my sig below - I use the MSVC compiler though.
The specific link to the code is:
http://members.shaw.ca/el.supremo/Magic ... ckCore.htm

Pete