It is odd that you are wanting to use 2.2 namespace but the errors are coming from 2.1 ... Do you have an older installation in the same location somewhere?
Piotr On 10 August 2014 13:56, Gonzalo Garramuno <[email protected]> wrote: > I pulled the latest master branch and I found it to not compile under > Ubuntu. The error is the following (configure options first): > > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... no > checking for mawk... mawk > checking whether make sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking for g++... g++ > checking whether the C++ compiler works... yes > checking for C++ compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C++ compiler... yes > checking whether g++ accepts -g... yes > checking for style of include used by make... GNU > checking dependency style of g++... gcc3 > checking for gcc... gcc > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking dependency style of gcc... gcc3 > checking whether ln -s works... yes > checking how to print strings... printf > checking for a sed that does not truncate output... /bin/sed > checking for grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/grep -E > checking for fgrep... /bin/grep -F > checking for ld used by gcc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > checking the name lister (/usr/bin/nm -B) interface... BSD nm > checking the maximum length of command line arguments... 1572864 > checking whether the shell understands some XSI constructs... yes > checking whether the shell understands "+="... yes > checking how to convert x86_64-unknown-linux-gnu file names to > x86_64-unknown-linux-gnu format... func_convert_file_noop > checking how to convert x86_64-unknown-linux-gnu file names to toolchain > format... func_convert_file_noop > checking for /usr/bin/ld option to reload object files... -r > checking for objdump... objdump > checking how to recognize dependent libraries... pass_all > checking for dlltool... no > checking how to associate runtime and link libraries... printf %s\n > checking for ar... ar > checking for archiver @FILE support... @ > checking for strip... strip > checking for ranlib... ranlib > checking command to parse /usr/bin/nm -B output from gcc object... ok > checking for sysroot... no > checking for mt... mt > checking if mt is a manifest tool... no > checking how to run the C preprocessor... gcc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking for dlfcn.h... yes > checking for objdir... .libs > checking if gcc supports -fno-rtti -fno-exceptions... no > checking for gcc option to produce PIC... -fPIC -DPIC > checking if gcc PIC flag -fPIC -DPIC works... yes > checking if gcc static flag -static works... yes > checking if gcc supports -c -o file.o... yes > checking if gcc supports -c -o file.o... (cached) yes > checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports > shared libraries... yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking how to run the C++ preprocessor... g++ -E > checking for ld used by g++... /usr/bin/ld -m elf_x86_64 > checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes > checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports > shared libraries... yes > checking for g++ option to produce PIC... -fPIC -DPIC > checking if g++ PIC flag -fPIC -DPIC works... yes > checking if g++ static flag -static works... yes > checking if g++ supports -c -o file.o... yes > checking if g++ supports -c -o file.o... (cached) yes > checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports > shared libraries... yes > checking dynamic linker characteristics... (cached) GNU/Linux ld.so > checking how to hardcode library paths into programs... immediate > checking whether make sets $(MAKE)... (cached) yes > test_prefix = NONE > checking for pkg-config... /usr/bin/pkg-config > using pkg-config to set ILMBASE_CXXFLAGS and ILMBASE_LDFLAGS: > ILMBASE_CXXFLAGS = -pthread -I/usr/local/include/OpenEXR > ILMBASE_LDFLAGS = -L/usr/local/lib > ILMBASE_LIBS = -pthread -L/usr/local/lib -lImath -lHalf -lIex > -lIexMath -lIlmThread > checking for IlmBase... yes > Compiled and ran IlmBase test program. > checking for ANSI C header files... (cached) yes > checking limits.h usability... yes > checking limits.h presence... yes > checking for limits.h... yes > checking for unistd.h... (cached) yes > checking for an ANSI C-conforming const... yes > checking for inline... inline > checking for size_t... yes > checking for compress in -lz... yes > checking for complete iomanip support in C++ standard library... yes > checking for gcc optimization flags... -pipe > checking for AVX instructions in GCC style inline asm... yes > checking for sysconf(_SC_NPROCESSORS_ONLN)... yes > configure: creating ./config.status > config.status: creating Makefile > config.status: creating OpenEXR.pc > config.status: creating config/Makefile > config.status: creating IlmImf/Makefile > config.status: creating IlmImfTest/Makefile > config.status: creating IlmImfUtil/Makefile > config.status: creating IlmImfUtilTest/Makefile > config.status: creating IlmImfFuzzTest/Makefile > config.status: creating exrheader/Makefile > config.status: creating exrmaketiled/Makefile > config.status: creating IlmImfExamples/Makefile > config.status: creating doc/Makefile > config.status: creating exrstdattr/Makefile > config.status: creating exrmakepreview/Makefile > config.status: creating exrenvmap/Makefile > config.status: creating exrmultiview/Makefile > config.status: creating exrmultipart/Makefile > config.status: creating config/OpenEXRConfig.h > config.status: config/OpenEXRConfig.h is unchanged > config.status: executing depfiles commands > config.status: executing libtool commands > > --------------------------------------------- > Summary for OpenEXR features: > > build IlmImf example program no > build IlmImf damaged input resilience test no > build IlmImf huge input test no > enable large stack optimizations yes > internal library namespace Imf_2_2 > user-client namespace Imf > > --------------------------------------------- > > > # gga@gga-laptop1 /media/Linux/code/lib/openexr2-git/OpenEXR > # dom ago 10 05:51 [47] $ make > Making all in config > make[1]: Entering directory `/media/Linux/code/lib/ > openexr2-git/OpenEXR/config' > make all-am > make[2]: Entering directory `/media/Linux/code/lib/ > openexr2-git/OpenEXR/config' > make[2]: Leaving directory `/media/Linux/code/lib/ > openexr2-git/OpenEXR/config' > make[1]: Leaving directory `/media/Linux/code/lib/ > openexr2-git/OpenEXR/config' > Making all in IlmImf > make[1]: Entering directory `/media/Linux/code/lib/ > openexr2-git/OpenEXR/IlmImf' > make all-am > make[2]: Entering directory `/media/Linux/code/lib/ > openexr2-git/OpenEXR/IlmImf' > make[2]: Nothing to be done for `all-am'. > make[2]: Leaving directory `/media/Linux/code/lib/ > openexr2-git/OpenEXR/IlmImf' > make[1]: Leaving directory `/media/Linux/code/lib/ > openexr2-git/OpenEXR/IlmImf' > Making all in IlmImfUtil > make[1]: Entering directory `/media/Linux/code/lib/openexr2-git/OpenEXR/ > IlmImfUtil' > /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > -I../config -pthread -I/usr/local/include/OpenEXR -I.. -I../IlmImf > -I../config -pipe -g -O2 -MT ImfImage.lo -MD -MP -MF .deps/ImfImage.Tpo > -c -o ImfImage.lo ImfImage.cpp > /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > -I../config -pthread -I/usr/local/include/OpenEXR -I.. -I../IlmImf > -I../config -pipe -g -O2 -MT ImfImageIO.lo -MD -MP -MF > .deps/ImfImageIO.Tpo -c -o ImfImageIO.lo ImfImageIO.cpp > /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > -I../config -pthread -I/usr/local/include/OpenEXR -I.. -I../IlmImf > -I../config -pipe -g -O2 -MT ImfFlatImageIO.lo -MD -MP -MF > .deps/ImfFlatImageIO.Tpo -c -o ImfFlatImageIO.lo ImfFlatImageIO.cpp > /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. > -I../config -pthread -I/usr/local/include/OpenEXR -I.. -I../IlmImf > -I../config -pipe -g -O2 -MT ImfDeepImageIO.lo -MD -MP -MF > .deps/ImfDeepImageIO.Tpo -c -o ImfDeepImageIO.lo ImfDeepImageIO.cpp > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../config -pthread > -I/usr/local/include/OpenEXR -I.. -I../IlmImf -I../config -pipe -g -O2 -MT > ImfImage.lo -MD -MP -MF .deps/ImfImage.Tpo -c ImfImage.cpp -fPIC -DPIC -o > .libs/ImfImage.o > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../config -pthread > -I/usr/local/include/OpenEXR -I.. -I../IlmImf -I../config -pipe -g -O2 -MT > ImfFlatImageIO.lo -MD -MP -MF .deps/ImfFlatImageIO.Tpo -c > ImfFlatImageIO.cpp -fPIC -DPIC -o .libs/ImfFlatImageIO.o > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../config -pthread > -I/usr/local/include/OpenEXR -I.. -I../IlmImf -I../config -pipe -g -O2 -MT > ImfImageIO.lo -MD -MP -MF .deps/ImfImageIO.Tpo -c ImfImageIO.cpp -fPIC > -DPIC -o .libs/ImfImageIO.o > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../config -pthread > -I/usr/local/include/OpenEXR -I.. -I../IlmImf -I../config -pipe -g -O2 -MT > ImfDeepImageIO.lo -MD -MP -MF .deps/ImfDeepImageIO.Tpo -c > ImfDeepImageIO.cpp -fPIC -DPIC -o .libs/ImfDeepImageIO.o > ImfImage.cpp: In member function 'int Imf_2_1::Image::numXLevels() const': > ImfImage.cpp:270:26: error: passing 'const > Imf_2_1::Array2D<Imf_2_1::ImageLevel*>' > as 'this' argument of 'long int Imf_2_1::Array2D<T>::width() [with T = > Imf_2_1::ImageLevel*]' discards qualifiers [-fpermissive] > ImfImage.cpp: In member function 'int Imf_2_1::Image::numYLevels() const': > ImfImage.cpp:277:27: error: passing 'const > Imf_2_1::Array2D<Imf_2_1::ImageLevel*>' > as 'this' argument of 'long int Imf_2_1::Array2D<T>::height() [with T = > Imf_2_1::ImageLevel*]' discards qualifiers [-fpermissive] > ImfImage.cpp: In member function 'bool Imf_2_1::Image::levelNumberIsValid(int, > int) const': > ImfImage.cpp:636:42: error: passing 'const > Imf_2_1::Array2D<Imf_2_1::ImageLevel*>' > as 'this' argument of 'long int Imf_2_1::Array2D<T>::width() [with T = > Imf_2_1::ImageLevel*]' discards qualifiers [-fpermissive] > ImfImage.cpp:637:43: error: passing 'const > Imf_2_1::Array2D<Imf_2_1::ImageLevel*>' > as 'this' argument of 'long int Imf_2_1::Array2D<T>::height() [with T = > Imf_2_1::ImageLevel*]' discards qualifiers [-fpermissive] > make[1]: *** [ImfImage.lo] Error 1 > make[1]: *** Waiting for unfinished jobs.... > ImfImageIO.cpp: In function 'Imf_2_1::Image* Imf_2_1::loadImage(const > string&, Imf_2_1::Header&)': > ImfImageIO.cpp:96:65: error: no matching function for call to > 'isOpenExrFile(const char*, bool&, bool&, bool&)' > ImfImageIO.cpp:96:65: note: candidates are: > /usr/local/include/OpenEXR/ImfTestFile.h:54:17: note: bool > Imf_2_1::isOpenExrFile(const char*, bool&) > /usr/local/include/OpenEXR/ImfTestFile.h:54:17: note: candidate expects > 2 arguments, 4 provided > /usr/local/include/OpenEXR/ImfTestFile.h:55:17: note: bool > Imf_2_1::isOpenExrFile(const char*) > /usr/local/include/OpenEXR/ImfTestFile.h:55:17: note: candidate expects > 1 argument, 4 provided > /usr/local/include/OpenEXR/ImfTestFile.h:57:17: note: bool > Imf_2_1::isOpenExrFile(Imf_2_1::IStream&, bool&) > /usr/local/include/OpenEXR/ImfTestFile.h:57:17: note: candidate expects > 2 arguments, 4 provided > /usr/local/include/OpenEXR/ImfTestFile.h:58:17: note: bool > Imf_2_1::isOpenExrFile(Imf_2_1::IStream&) > /usr/local/include/OpenEXR/ImfTestFile.h:58:17: note: candidate expects > 1 argument, 4 provided > ImfFlatImageIO.cpp: In function 'void Imf_2_1::loadFlatImage(const > string&, Imf_2_1::Header&, Imf_2_1::FlatImage&)': > ImfFlatImageIO.cpp:93:65: error: no matching function for call to > 'isOpenExrFile(const char*, bool&, bool&, bool&)' > ImfFlatImageIO.cpp:93:65: note: candidates are: > /usr/local/include/OpenEXR/ImfTestFile.h:54:17: note: bool > Imf_2_1::isOpenExrFile(const char*, bool&) > /usr/local/include/OpenEXR/ImfTestFile.h:54:17: note: candidate expects > 2 arguments, 4 provided > /usr/local/include/OpenEXR/ImfTestFile.h:55:17: note: bool > Imf_2_1::isOpenExrFile(const char*) > /usr/local/include/OpenEXR/ImfTestFile.h:55:17: note: candidate expects > 1 argument, 4 provided > /usr/local/include/OpenEXR/ImfTestFile.h:57:17: note: bool > Imf_2_1::isOpenExrFile(Imf_2_1::IStream&, bool&) > /usr/local/include/OpenEXR/ImfTestFile.h:57:17: note: candidate expects > 2 arguments, 4 provided > /usr/local/include/OpenEXR/ImfTestFile.h:58:17: note: bool > Imf_2_1::isOpenExrFile(Imf_2_1::IStream&) > /usr/local/include/OpenEXR/ImfTestFile.h:58:17: note: candidate expects > 1 argument, 4 provided > make[1]: *** [ImfImageIO.lo] Error 1 > ImfDeepImageIO.cpp: In function 'void Imf_2_1::loadDeepImage(const > string&, Imf_2_1::Header&, Imf_2_1::DeepImage&)': > ImfDeepImageIO.cpp:95:65: error: no matching function for call to > 'isOpenExrFile(const char*, bool&, bool&, bool&)' > ImfDeepImageIO.cpp:95:65: note: candidates are: > /usr/local/include/OpenEXR/ImfTestFile.h:54:17: note: bool > Imf_2_1::isOpenExrFile(const char*, bool&) > /usr/local/include/OpenEXR/ImfTestFile.h:54:17: note: candidate expects > 2 arguments, 4 provided > /usr/local/include/OpenEXR/ImfTestFile.h:55:17: note: bool > Imf_2_1::isOpenExrFile(const char*) > /usr/local/include/OpenEXR/ImfTestFile.h:55:17: note: candidate expects > 1 argument, 4 provided > /usr/local/include/OpenEXR/ImfTestFile.h:57:17: note: bool > Imf_2_1::isOpenExrFile(Imf_2_1::IStream&, bool&) > /usr/local/include/OpenEXR/ImfTestFile.h:57:17: note: candidate expects > 2 arguments, 4 provided > /usr/local/include/OpenEXR/ImfTestFile.h:58:17: note: bool > Imf_2_1::isOpenExrFile(Imf_2_1::IStream&) > /usr/local/include/OpenEXR/ImfTestFile.h:58:17: note: candidate expects > 1 argument, 4 provided > make[1]: *** [ImfFlatImageIO.lo] Error 1 > make[1]: *** [ImfDeepImageIO.lo] Error 1 > make[1]: Leaving directory `/media/Linux/code/lib/openexr2-git/OpenEXR/ > IlmImfUtil' > make: *** [all-recursive] Error 1 > > > _______________________________________________ > Openexr-devel mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/openexr-devel >
_______________________________________________ Openexr-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/openexr-devel
