C-code compile of Magick core API on Win32

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ctrax
Posts: 1
Joined: 2011-10-12T15:16:40-07:00
Authentication code: 8675308

C-code compile of Magick core API on Win32

Post 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.
el_supremo
Posts: 1015
Joined: 2005-03-21T21:16:57-07:00

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

Post 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
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
Post Reply