Page 1 of 1

Compiling magick++ for iOS

Posted: 2014-09-13T13:33:56-07:00
by drunkensapo
Dear all,
I'm interested in compiling magick++ for iOS. I've already tried a project which compiles the C part of magick for iOS (see https://github.com/marforic/imagemagick_lib_iphone). To the best of my knowledge, there are no posts/scripts or anything describing that. There is only a report of a guy that said something about that, but he didn't post instructions or anything.
Thus, I'm thinking of doing it myself.
For that purpose, I need to understand how magick++ is compiled. But I'm having trouble finding info for developers. Is there any good starting point to understand this?
Or any specific instructions on building magick++.
Thanks in advance.
Best regards,
Juan

Re: Compiling magick++ for iOS

Posted: 2014-09-13T14:01:03-07:00
by snibgo
If you are on Unix, or Windows with Cygwin, compiling IM including Magick++ is very simple. If you have Windows but not Cygwin, either get Cygwn or something expensive from Microsoft.

I give lots of gory detail on the top few pages on my site (see my signature), including building the IM demonstration programs.

I know nothing about iOS.

Re: Compiling magick++ for iOS

Posted: 2014-09-13T14:15:25-07:00
by fmw42
I know nothing about any of the APIs. But see http://www.imagemagick.org/script/magick++.php and the links contained in it. Also see http://www.imagemagick.org/script/binar ... es.php#iOS and the links in that.

Re: Compiling magick++ for iOS

Posted: 2014-09-14T07:30:51-07:00
by drunkensapo
fmw42 wrote:I know nothing about any of the APIs. But see http://www.imagemagick.org/script/magick++.php and the links contained in it. Also see http://www.imagemagick.org/script/binar ... es.php#iOS and the links in that.
I've seen those thanks. I need info about compiling the wrapper, not the way to use them from your own program.
Thanks.

Re: Compiling magick++ for iOS

Posted: 2014-09-14T07:32:37-07:00
by drunkensapo
snibgo wrote:If you are on Unix, or Windows with Cygwin, compiling IM including Magick++ is very simple. If you have Windows but not Cygwin, either get Cygwn or something expensive from Microsoft.

I give lots of gory detail on the top few pages on my site (see my signature), including building the IM demonstration programs.

I know nothing about iOS.
I'm cross-compiling magick from OSX (unix) to work on iOS, I will try to do a ./configure --with-magick-plus-plus and see if it works. I will check your site and see if something helps me. thanks.