It was decided that Magick++ will be around for the long-haul, so its API definition depends on valuable C++ features which should be common in all current and future C++ compilers. The compiler must support the following C++ standard features:
|
|
|
SunOS 5.6, 5.7, 5.8 ("Solaris 2.6, 7, & 8) | SPARC | GCC 3.0.4 |
SunOS 5.7 ("Solaris 7") | SPARC | Sun Workshop 5.0 C++ |
SunOS 5.8 ("Solaris 8") | SPARC | Sun WorkShop 6 update 2 C++ 5.3 |
FreeBSD 4.0 | Intel Pentium II | GCC 2.95 |
Windows NT 4.0 SP6a | Intel Pentium II | Visual C++ 6.0 Standard Edition |
Windows XP | Intel Pentium IV | Visual C++ 6.0 Standard Edition Service Pack 5 |
Windows '98 + Cygwin 1.3.10 | Intel Pentium III | GCC 2.95.3-5 |
Windows NT 4.0 SP6a | Intel Pentium II | GCC 2.95.3-5 |
Windows XP + Cygwin 1.3.10 | Intel Pentium IV | GCC 2.95.3-5 |
Users of Magick++ have reported that the following configurations work
with Magick++:
|
|
|
Reported By |
Red Hat Linux 6.0 | i386 & alpha | EGCS 1.1.2 | Dr. Alexander Zimmermann <[email protected]> |
Red Hat Linux 7.0 | i386 | GCC 2.95.2 | Dr. Alexander Zimmermann <[email protected]> |
Red Hat Linux 7.0 | i386 | GCC "2.96" snapshot | ??? |
Red Hat Linux 7.X | i386 & alpha | GCC 3.0 | Dr. Alexander Zimmermann <[email protected]> |
SGI IRIX 6.2, 6.5 | MIPS | IRIX C++ 7.3.1.2m | Albert Chin-A-Young <[email protected]> |
SunOS 5.5.1 | SPARC | Sun WorkShop CC 5.0 | Albert Chin-A-Young <[email protected]> |
SunOS 5.6, 5.7, 5.8 | SPARC | Sun Forte CC 5.3 | Albert Chin-A-Young <[email protected]> |
HP-UX 11.00 | PA-RISC | HP-UX aCC A.03.30 | Albert Chin-A-Young <[email protected]> |
Mac OS 9 | PowerPC | CodeWarrior Professional Release 6 | Leonard Rosenthol <[email protected]> |
Mac OS X 10.1 "Darwin" | PowerPC | GCC 2.95.2 (apple gcc -926) | John Cristy |
Please let me know if you have successfully built and executed Magick++ using a different configuration so that I can add to the table of verified configurations.
To install ImageMagick plus Magick++ under Unix, installation should be similar to
./configure [ --prefix=/prefix ]
make
make install
The library is currently named similar to 'libMagick++.a' (and/or libMagick++.so.5.0.39) and is installed under prefix/lib while the headers are installed with Magick++.h being installed in prefix/include and the remaining headers in prefix/include/Magick++.
To influence the options the configure script chooses, you may specify
'make' option variables when running the configure script. For example,
the command
./configure CXX=CC CXXFLAGS=-O2 LIBS=-lposix
specifies additional options to the configure script. The
following table shows the available options.
|
|
|
Name of C++ compiler (e.g. 'CC -Xa') to use compiler 'CC -Xa' |
|
Compiler flags (e.g. '-g -O2') to compile with |
|
Include paths (-I/somedir) to look for header files |
|
Library paths (-L/somedir) to look for libraries. Systems that support the notion of a library run-path may additionally require -R/somedir or '-rpath /somedir' in order to find shared libraries at run time. |
|
Extra libraries (-lsomelib) required to link |