Hello, I was trying to compile enblend 3.0 from source in my Ubuntu 6.10 for AMD64. But I got compiling errors in anneal.h, something about a "max()" function... :-(
I searched a little bit and I found out this error is corrected in the CVS version, but I couldn't get autoconf to work (something about "error: possibly undefined macro: AM_INIT_AUTOMAKE"). The configure script builds and throws some errors...
IMHO, I think this AMD64 patch is a good reason to make a enblend-3.0.1 release...?
Anyway, any clues about how can I compile the CVS version of enblend in Ubuntu 6.10?
Thanks a lot
I have exactly the same symptoms. make exits with error after:
make: Entering directory `/home/seb/downloads/enblend-3.0/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -g -O3 -ffast-math -Wall -D_GNU_SOURCE -D
_FILE_OFFSET_BITS=64 -DENBLEND_CACHE_IMAGES -DNDEBUG -I../include -g -O2 -MT enb
lend-enblend.o -MD -MP -MF ".deps/enblend-enblend.Tpo" -c -o enblend-enblend.o `
test -f 'enblend.cc' || echo './'`enblend.cc; \
then mv -f ".deps/enblend-enblend.Tpo" ".deps/enblend-enblend.Po"; else
rm -f ".deps/enblend-enblend.Tpo"; exit 1; fi
anneal.h: In member function ‘void enblend::GDAConfiguration<CostImage, Visualiz
anneal.h:681: error: no matching function for call to ‘max(unsigned int&, size_t
In AMD64, Kubuntu Edgy.
I got enblend cvs to compile by running
aclocal -I m4
libtoolize --force --copy
automake --add-missing --copy
It would probably be easier with a ./bootstrap script.
Log in to post a comment.