5.2. Binaries

Making your own binaries from POV-Ray™ and MegaPOV source code requires:

All required support libraries are included in the source distributions.

5.2.1. compiling on Windows systems

To compile MegaPOV on Windows systems you do not need to buy expensive compilers. There are some free C++ compilers available.

5.2.1.1. Borland C++ 5.5

Main URL

www.borland.com

Target

creation of Windows GUI tested

Binaries

http://www.borland.com/products/downloads/download_cbuilder.html

Documentation

included with binaries in basic form, extended documentation for full commercial version at ftp://ftp.borland.com/pub/bcppbuilder/techpubs/b5std.zip

Dedicated forums

http://groups.google.com/groups?group=borland.public.cpp

Predefined macros

__BORLANDC__

Notes

http://news.povray.org/povray.binaries.utilities/27877/

5.2.1.2. DJGPP - A free 32-bit development system for DOS

Main URL

http://www.delorie.com/djgpp/

Target

creation of command line version for DOS tested

Binaries

http://www.delorie.com/djgpp/zip-picker.html

Documentation

http://www.delorie.com/djgpp/doc/

Dedicated forums

http://groups.google.com/groups?group=comp.os.msdos.djgpp

Predefined macros

__DJGPP__

Notes

The core of DJGPP is the MS-DOS port of the GNU C/C++ compiler, GCC, and auxiliary utilities, such as assembler, linker, librarian, Make, and a hypertext docs browser. So people familiar with GCC family should not have problems in using it.

5.2.1.3. MinGW - Minimalist GNU for Windows

Main URL

http://www.mingw.org/

Target

command line version for Windows tested

Binaries

http://prdownloads.sourceforge.net/mingw/

Documentation

http://www.mingw.org/docs.shtml

Dedicated forums

http://www.mingw.org/lists.shtml

Predefined macros

__MINGW32__

Notes

There is name conflict between BLOB and other identifiers in POV-Ray™ and MinGW.

MinGW can be used together with Cygwin, see http://www.mingw.org/mingwfaq.shtml#faq-usingwithcygwin.

An adapted source code package for compiling with MinGW is available on the MegaPOV site.

5.2.1.4. Cygwin - UNIX environment for Windows

Main URL

http://www.cygwin.com/

Target

creation of command line version for windows tested

Binaries

http://www.cygwin.com/download.html

Documentation

http://cygwin.com/docs.html

Dedicated forums

http://cygwin.com/lists.html

Predefined macros

__CYGWIN__

Notes

With Cygwin you can compile both executables using the Cygwin emulation DLL or not (using the -mno-cygwin flag). Both tested, compilation with X display possible (when XFree86 is installed).

5.2.1.5. Digital Mars C++

Main URL

http://www.digitalmars.com/

Target

command line version for windows tested

Binaries

ftp://digitalmars.com/dmc.zip

Documentation

ftp://ftp.digitalmars.com/Digital_Mars_C++/Doc/

Dedicated forums

news://news.digitalmars.com/ , http://www.digitalmars.com/drn-bin/wwwnews?newsgroups=*

Predefined macros

__DMC__

Notes

there is no atof in standard libraries so it requires to define LACK_OF_ATOF_IN_DMC_PATCH

there is no inversed hyperbolic functions so it requires to define NEED_INVHYP

there is no unlink in standard libraries so it requires to define DELETE_FILE as remove

5.2.1.6. Watcom C++

Main URL

http://www.openwatcom.org

Target

windows dedicated but non version tested yet

Binaries

http://www.openwatcom.org/download/download_licenses.html

Documentation

http://www.openwatcom.org/support/reference_content.html

Dedicated forums

http://www.openwatcom.org/support/newsgroups_content.html

Predefined macros

__WATCOMC__

Notes

there are some problems in STL port so this compiler was not forced to correctly compile POV-Ray™ yet, however its move to open source project makes its future

currently available patch 11.0c version is supposed to be an upgrade but can be installed without previous version

5.2.2. compiling on Macintosh systems

5.2.2.1. Metrowerks CodeWarrior

Main URL

http://www.metrowerks.com

Target

Apple Macintosh PowerPC Carbon and Classic versions tested. Windows not tested but possible.

Binaries

http://store.metrowerks.com/

Documentation

http://www.metrowerks.com/MW/Develop/Desktop/Macintosh/Default.htm

Dedicated forums

http://www.metrowerks.com/MW/Support/Newsgroups/default.htm

Predefined macros

__MWERKS__

Notes

currently available update 8.3

5.2.2.2. Apple Project Builder for Mac OS X. Free development environment

Main URL

http://developer.apple.com/tools/projectbuilder/index.html

Target

no versions have been ported to Project Builder yet.

Binaries

http://developer.apple.com/macosx/

you have to join ADC to be able to download. membership however is free.

Documentation

http://developer.apple.com/macosx/gettingstarted/index.html

Dedicated forums

http://www.lists.apple.com/mailman/listinfo/projectbuilder-users#Subscribe

Predefined macros

?

Notes

you need this package in order to build Darwin (UNIX) binaries.

5.2.3. compiling on Unix systems

The Unix source package of MegaPOV 1.1 uses the same build system as the official POV-Ray™ 3.6 package. You should be able to compile MegaPOV by calling the configure script on most systems. More information can be found in the README file of the source package.