Enblend Compiling OSX

From PanoTools.org Wiki
Revision as of 19:30, 30 December 2007 by Rogerhoward (talk | contribs) (New page: == Building environment prerequisites == # [http://developer.apple.com/tools/download/ Download] and install the XCode Tools version for the operating system on the machine that you will ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Building environment prerequisites

  1. Download and install the XCode Tools version for the operating system on the machine that you will use for the building job.
  2. Install Fink for your environment and configure Fink to use the unstable repositories. See the [Fink FAQ] for information about the unstable packages and [Fink Downloads] for a package installer or source code for Fink (depending on your OS).

Building and installing Enblend

Fink itself provides access to an earlier build of Enblend3 - however, this is not the latest version, and may not even be properly compilable from Fink at the moment. The following instructions are geared towards those who want to install the latest version of Enblend (including the new companion tool, Enfuse). The instructions are split into two sections: 1) satisfying prerequisites, which must only be done once; and 2) building the latest Enblend/Enfuse source, which may be done as often as you'd like.

These instructions have been tested on OSX 10.4 and 10.5 on both x86 and PPC systems:

Satisfying Enblend Dependencies and other Prerequisites

1. Install dependencies:

% fink install lcms lcms-shlibs
% sudo sed -i= 's/memory.h/\/usr\/include\/memory.h/' "/sw/include/lcms.h"
% fink install boost1.33 libtiff libtiff-shlibs libxmi libxmi-shlibs libjpeg libjpeg-shlibs


% fink build enblend

This will build enblend 3.0. It will also make sure you satisfy all the dependencies for the latest version of enblend. Don't worry, it won't install it.

4. Install

% fink install openexr openexr-devel

Building Enblend/Enfuse from the Latest Source

5. Download enblend from cvs,

% cvs -z3 -d:pserver:anonymous@enblend.cvs.sourceforge.net:/cvsroot/enblend co -P enblend
% cd enblend

6. Build and install enblend

% make -f Makefile.cvs
% ./configure
% make
% make install