Hello,
I have followed the PanoTools wiki's Hugin Compiling
Ubuntu<http://wiki.panotools.org/Hugin_Compiling_Ubuntu>instructions
in a fresh installation of the latest version of Ubuntu, but an
error occurred while compiling Enblend. I'm hoping someone can point out
what went wrong.
Attached is a log of the steps I have taken, with the error message at the
end. Here is a copy of the error:
g++ -DHAVE_CONFIG_H -I. -I../../src -I.. -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -I../../include -DVIGRA_STATIC_LIB -pthread
> -I/usr/include/OpenEXR --param inline-unit-growth=60 -march=native -O2
> --param inline-unit-growth=60 -O2 -DNDEBUG -Wall -fopenmp -MT
> enblend-tiff_message.o -MD -MP -MF .deps/enblend-tiff_message.Tpo -c -o
> enblend-tiff_message.o `test -f 'tiff_message.cc' || echo
> '../../src/'`tiff_message.cc
> ../../src/tiff_message.cc: In function ‘void flush_buffers()’:
> ../../src/tiff_message.cc:48: error: ‘stdout’ was not declared in this
> scope
> ../../src/tiff_message.cc:48: error: ‘fflush’ was not declared in this
> scope
> ../../src/tiff_message.cc: In function ‘void tiff_message(const char*,
> const char*, const char*, char*)’:
> ../../src/tiff_message.cc:67: error: ‘vsnprintf’ was not declared in this
> scope
> make[4]: *** [enblend-tiff_message.o] Error 1
> make[4]: Leaving directory `/home/ak/hugin_2009-11-05/enblend/BUILD/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/ak/hugin_2009-11-05/enblend/BUILD/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/ak/hugin_2009-11-05/enblend/BUILD/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/ak/hugin_2009-11-05/enblend/BUILD'
> make: *** [all] Error 2
Thank you for your time.
Andrew