Error while compiling Enblend with MacPorts version 2.0.3

Philippe Bernery philippe.bernery at gmail.com
Mon Oct 24 12:54:15 PDT 2011


Hi,

I'm trying to install Enblend (not directly but throw the installation of
hugin-app) but it fails with several errors and I can't figure out what
could be the origin of the problem.

Here is an extract of the compilation log:

/Developer/usr/bin/clang++ -DHAVE_CONFIG_H -I. -I..   -I/opt/local/include
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -I../include -DVIGRA_STATIC_LIB
-D_THREAD_SAFE -I/opt/local/include/OpenEXR   -pipe -O2 -arch x86_64 --param
inline-unit-growth=60 -O2 -DNDEBUG -Wall -MT enfuse-enfuse.o -MD -MP -MF
.deps/enfuse-enfuse.Tpo -c -o enfuse-enfuse.o `test -f 'enfuse.cc' || echo
'./'`enfuse.cc
clang: warning: argument unused during compilation: '--param
inline-unit-growth=60'
In file included from enblend.cc:67:
/opt/local/include/lcms.h:1418:14: warning: comparison of unsigned
expression < 0 is always false [-Wtautological-compare]
    if (size < 0) return NULL;              // Prevent signed size_t
exploits
        ~~~~ ^ ~
In file included from enfuse.cc:67:
/opt/local/include/lcms.h:1418:14: warning: comparison of unsigned
expression < 0 is always false [-Wtautological-compare]
    if (size < 0) return NULL;              // Prevent signed size_t
exploits
        ~~~~ ^ ~
In file included from enfuse.cc:137:
In file included from ./enfuse.h:37:
In file included from ./numerictraits.h:28:
../include/vigra/cachedfileimage.hxx:560:22: error: elaborated type refers
to a typedef
friend class Notify::self_type;

...

In file included from enblend.cc:149:
In file included from ./enblend.h:40:
In file included from ./mask.h:37:
./anneal.h:669:19: error: read-only variable is not assignable
            uaNum *= -1;
            ~~~~~ ^
./anneal.h:670:19: error: read-only variable is not assignable
            ubNum *= -1;
            ~~~~~ ^
./anneal.h:671:19: error: read-only variable is not assignable
            denom *= -1;
            ~~~~~ ^

...

../include/vigra/cachedfileimage.hxx:761:11: error: 'setNotify' is a
protected member of
'vigra::cfi_detail::NotifyingDirectionSelector<vigra::UnstridedArrayTag,
int,
vigra::CachedFileImageIteratorBase<vigra::CachedFileImageIterator<unsigned
char>, vigra::CachedFileImage<unsigned char>, unsigned char, unsigned char
&, unsigned char *, vigra::UnstridedArrayTag> >'
        y.setNotify(this);
          ^
../include/vigra/cachedfileimage.hxx:568:10: note: declared protected here
    void setNotify(Notify *n) { notify_ = n; }
         ^
../include/vigra/cachedfileimage.hxx:760:89: error: field of type 'MoveY'
(aka 'NotifyingDirectionSelector<vigra::UnstridedArrayTag, int, self_type>')
has protected default constructor
    CachedFileImageIteratorBase(const int X, const int Y, image_type * const
I) : x(X), y(Y), i(I), currentRow(NULL) {

...

The first and third errors appear several times.
Any idea?

Philippe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20111024/50978a90/attachment.html>


More information about the macports-users mailing list