Closed lemms closed 11 years ago
This is fixed in IlmBase Version 1.0.3.
I'll try that immediately. We should change the version on the front page (1.0.1)
With version 1.0.3, new bugs appear:
localhost:ilmbase-1.0.3 laurenceemms$ ./configure checking build system type... x86_64-apple-darwin10.8.0 checking host system type... x86_64-apple-darwin10.8.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 a BSD-compatible install... /usr/bin/install -c 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 ANSI C... none needed checking dependency style of gcc... gcc3 checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for fgrep... grep -F checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking the maximum length of command line arguments... 196608 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r checking for objdump... false checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from gcc object... ok checking for dsymutil... dsymutil checking for nmedit... nmedit checking for lipo... lipo checking for otool... otool checking for otool64... : checking for -single_module linker flag... yes checking for -exported_symbols_list linker flag... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory 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 whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes rm: conftest.dSYM: is a directory checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs rm: conftest.dSYM: is a directory checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fno-common -DPIC checking if gcc PIC flag -fno-common -DPIC works... yes checking if gcc static flag -static works... no 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/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin10.8.0 dyld 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 for ld used by g++... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common -DPIC checking if g++ PIC flag -fno-common -DPIC works... yes checking if g++ static flag -static works... no 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/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin10.8.0 dyld checking how to hardcode library paths into programs... immediate checking whether make sets $(MAKE)... (cached) yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE checking for cc_r... gcc checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking for library containing sem_init... none required checking whether to use POSIX unnamed semaphores... no (pshared not usable) configure: multithread true, LIBS = , CC = gcc, CXXFLAGS = -g -O2 -D_THREAD_SAFE 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 ucontext.h usability... no checking ucontext.h presence... no checking for ucontext.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for strerror... yes checking for complete iomanip support in C++ standard library... yes checking for gcc optimization flags... -pipe configure: creating ./config.status config.status: creating Makefile config.status: creating IlmBase.pc config.status: creating config/Makefile config.status: creating Half/Makefile config.status: creating HalfTest/Makefile config.status: creating Iex/Makefile config.status: creating IexMath/Makefile config.status: creating IexTest/Makefile config.status: creating IlmThread/Makefile config.status: creating Imath/Makefile config.status: creating ImathTest/Makefile config.status: creating vc/Makefile config.status: creating config/IlmBaseConfig.h config.status: executing depfiles commands config.status: executing libtool commands
Summary for IlmBase features:
OS X architectures default OS X SDK default OS X two-way universal build (deprecated) no
localhost:ilmbase-1.0.3 laurenceemms$ make
Making all in Half
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -MT eLut.o -MD -MP -MF ".deps/eLut.Tpo" -c -o eLut.o eLut.cpp; \
then mv -f ".deps/eLut.Tpo" ".deps/eLut.Po"; else rm -f ".deps/eLut.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -D_THREAD_SAFE -o eLut eLut.o
libtool: link: g++ -pipe -g -O2 -D_THREAD_SAFE -o eLut eLut.o -Wl,-bind_at_load
./eLut > eLut.h
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -MT toFloat.o -MD -MP -MF ".deps/toFloat.Tpo" -c -o toFloat.o toFloat.cpp; \
then mv -f ".deps/toFloat.Tpo" ".deps/toFloat.Po"; else rm -f ".deps/toFloat.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -D_THREAD_SAFE -o toFloat toFloat.o
libtool: link: g++ -pipe -g -O2 -D_THREAD_SAFE -o toFloat toFloat.o -Wl,-bind_at_load
./toFloat > toFloat.h
make all-am
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -MT half.lo -MD -MP -MF ".deps/half.Tpo" -c -o half.lo half.cpp; \
then mv -f ".deps/half.Tpo" ".deps/half.Plo"; else rm -f ".deps/half.Tpo"; exit 1; fi
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -MT half.lo -MD -MP -MF .deps/half.Tpo -c half.cpp -fno-common -DPIC -o .libs/half.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -MT half.lo -MD -MP -MF .deps/half.Tpo -c half.cpp -o half.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -D_THREAD_SAFE -o libHalf.la -rpath /usr/local/lib -version-info 7:0:0 -no-undefined half.lo
libtool: link: g++ -dynamiclib -o .libs/libHalf.7.dylib .libs/half.o -install_name /usr/local/lib/libHalf.7.dylib -compatibility_version 8 -current_version 8.0 -Wl,-single_module
libtool: link: dsymutil .libs/libHalf.7.dylib || :
libtool: link: (cd ".libs" && rm -f "libHalf.dylib" && ln -s "libHalf.7.dylib" "libHalf.dylib")
libtool: link: ar cru .libs/libHalf.a half.o
libtool: link: ranlib .libs/libHalf.a
libtool: link: ( cd ".libs" && rm -f "libHalf.la" && ln -s "../libHalf.la" "libHalf.la" )
Making all in HalfTest
make[1]: Nothing to be done for all'. Making all in Iex if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IexThrowErrnoExc.lo -MD -MP -MF ".deps/IexThrowErrnoExc.Tpo" -c -o IexThrowErrnoExc.lo IexThrowErrnoExc.cpp; \ then mv -f ".deps/IexThrowErrnoExc.Tpo" ".deps/IexThrowErrnoExc.Plo"; else rm -f ".deps/IexThrowErrnoExc.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IexThrowErrnoExc.lo -MD -MP -MF .deps/IexThrowErrnoExc.Tpo -c IexThrowErrnoExc.cpp -fno-common -DPIC -o .libs/IexThrowErrnoExc.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IexThrowErrnoExc.lo -MD -MP -MF .deps/IexThrowErrnoExc.Tpo -c IexThrowErrnoExc.cpp -o IexThrowErrnoExc.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IexBaseExc.lo -MD -MP -MF ".deps/IexBaseExc.Tpo" -c -o IexBaseExc.lo IexBaseExc.cpp; \ then mv -f ".deps/IexBaseExc.Tpo" ".deps/IexBaseExc.Plo"; else rm -f ".deps/IexBaseExc.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IexBaseExc.lo -MD -MP -MF .deps/IexBaseExc.Tpo -c IexBaseExc.cpp -fno-common -DPIC -o .libs/IexBaseExc.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IexBaseExc.lo -MD -MP -MF .deps/IexBaseExc.Tpo -c IexBaseExc.cpp -o IexBaseExc.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -D_THREAD_SAFE -o libIex.la -rpath /usr/local/lib -version-info 7:0:0 -no-undefined IexThrowErrnoExc.lo IexBaseExc.lo libtool: link: g++ -dynamiclib -o .libs/libIex.7.dylib .libs/IexThrowErrnoExc.o .libs/IexBaseExc.o -install_name /usr/local/lib/libIex.7.dylib -compatibility_version 8 -current_version 8.0 -Wl,-single_module libtool: link: dsymutil .libs/libIex.7.dylib || : libtool: link: (cd ".libs" && rm -f "libIex.dylib" && ln -s "libIex.7.dylib" "libIex.dylib") libtool: link: ar cru .libs/libIex.a IexThrowErrnoExc.o IexBaseExc.o libtool: link: ranlib .libs/libIex.a libtool: link: ( cd ".libs" && rm -f "libIex.la" && ln -s "../libIex.la" "libIex.la" ) Making all in IexMath if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IexMathFloatExc.lo -MD -MP -MF ".deps/IexMathFloatExc.Tpo" -c -o IexMathFloatExc.lo IexMathFloatExc.cpp; \ then mv -f ".deps/IexMathFloatExc.Tpo" ".deps/IexMathFloatExc.Plo"; else rm -f ".deps/IexMathFloatExc.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IexMathFloatExc.lo -MD -MP -MF .deps/IexMathFloatExc.Tpo -c IexMathFloatExc.cpp -fno-common -DPIC -o .libs/IexMathFloatExc.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IexMathFloatExc.lo -MD -MP -MF .deps/IexMathFloatExc.Tpo -c IexMathFloatExc.cpp -o IexMathFloatExc.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IexMathFpu.lo -MD -MP -MF ".deps/IexMathFpu.Tpo" -c -o IexMathFpu.lo IexMathFpu.cpp; \ then mv -f ".deps/IexMathFpu.Tpo" ".deps/IexMathFpu.Plo"; else rm -f ".deps/IexMathFpu.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IexMathFpu.lo -MD -MP -MF .deps/IexMathFpu.Tpo -c IexMathFpu.cpp -fno-common -DPIC -o .libs/IexMathFpu.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IexMathFpu.lo -MD -MP -MF .deps/IexMathFpu.Tpo -c IexMathFpu.cpp -o IexMathFpu.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -D_THREAD_SAFE -o libIexMath.la -rpath /usr/local/lib -version-info 7:0:0 -no-undefined IexMathFloatExc.lo IexMathFpu.lo ../Iex/libIex.la libtool: link: g++ -dynamiclib -o .libs/libIexMath.7.dylib .libs/IexMathFloatExc.o .libs/IexMathFpu.o ../Iex/.libs/libIex.dylib -install_name /usr/local/lib/libIexMath.7.dylib -compatibility_version 8 -current_version 8.0 -Wl,-single_module libtool: link: dsymutil .libs/libIexMath.7.dylib || : libtool: link: (cd ".libs" && rm -f "libIexMath.dylib" && ln -s "libIexMath.7.dylib" "libIexMath.dylib") libtool: link: ar cru .libs/libIexMath.a IexMathFloatExc.o IexMathFpu.o libtool: link: ranlib .libs/libIexMath.a libtool: link: ( cd ".libs" && rm -f "libIexMath.la" && ln -s "../libIexMath.la" "libIexMath.la" ) Making all in IexTest make[1]: Nothing to be done for
all'.
Making all in Imath
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathShear.lo -MD -MP -MF ".deps/ImathShear.Tpo" -c -o ImathShear.lo ImathShear.cpp; \
then mv -f ".deps/ImathShear.Tpo" ".deps/ImathShear.Plo"; else rm -f ".deps/ImathShear.Tpo"; exit 1; fi
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathShear.lo -MD -MP -MF .deps/ImathShear.Tpo -c ImathShear.cpp -fno-common -DPIC -o .libs/ImathShear.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathShear.lo -MD -MP -MF .deps/ImathShear.Tpo -c ImathShear.cpp -o ImathShear.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathMatrixAlgo.lo -MD -MP -MF ".deps/ImathMatrixAlgo.Tpo" -c -o ImathMatrixAlgo.lo ImathMatrixAlgo.cpp; \
then mv -f ".deps/ImathMatrixAlgo.Tpo" ".deps/ImathMatrixAlgo.Plo"; else rm -f ".deps/ImathMatrixAlgo.Tpo"; exit 1; fi
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathMatrixAlgo.lo -MD -MP -MF .deps/ImathMatrixAlgo.Tpo -c ImathMatrixAlgo.cpp -fno-common -DPIC -o .libs/ImathMatrixAlgo.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathMatrixAlgo.lo -MD -MP -MF .deps/ImathMatrixAlgo.Tpo -c ImathMatrixAlgo.cpp -o ImathMatrixAlgo.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathVec.lo -MD -MP -MF ".deps/ImathVec.Tpo" -c -o ImathVec.lo ImathVec.cpp; \
then mv -f ".deps/ImathVec.Tpo" ".deps/ImathVec.Plo"; else rm -f ".deps/ImathVec.Tpo"; exit 1; fi
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathVec.lo -MD -MP -MF .deps/ImathVec.Tpo -c ImathVec.cpp -fno-common -DPIC -o .libs/ImathVec.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathVec.lo -MD -MP -MF .deps/ImathVec.Tpo -c ImathVec.cpp -o ImathVec.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathColorAlgo.lo -MD -MP -MF ".deps/ImathColorAlgo.Tpo" -c -o ImathColorAlgo.lo ImathColorAlgo.cpp; \
then mv -f ".deps/ImathColorAlgo.Tpo" ".deps/ImathColorAlgo.Plo"; else rm -f ".deps/ImathColorAlgo.Tpo"; exit 1; fi
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathColorAlgo.lo -MD -MP -MF .deps/ImathColorAlgo.Tpo -c ImathColorAlgo.cpp -fno-common -DPIC -o .libs/ImathColorAlgo.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathColorAlgo.lo -MD -MP -MF .deps/ImathColorAlgo.Tpo -c ImathColorAlgo.cpp -o ImathColorAlgo.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathFun.lo -MD -MP -MF ".deps/ImathFun.Tpo" -c -o ImathFun.lo ImathFun.cpp; \
then mv -f ".deps/ImathFun.Tpo" ".deps/ImathFun.Plo"; else rm -f ".deps/ImathFun.Tpo"; exit 1; fi
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathFun.lo -MD -MP -MF .deps/ImathFun.Tpo -c ImathFun.cpp -fno-common -DPIC -o .libs/ImathFun.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathFun.lo -MD -MP -MF .deps/ImathFun.Tpo -c ImathFun.cpp -o ImathFun.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathBox.lo -MD -MP -MF ".deps/ImathBox.Tpo" -c -o ImathBox.lo ImathBox.cpp; \
then mv -f ".deps/ImathBox.Tpo" ".deps/ImathBox.Plo"; else rm -f ".deps/ImathBox.Tpo"; exit 1; fi
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathBox.lo -MD -MP -MF .deps/ImathBox.Tpo -c ImathBox.cpp -fno-common -DPIC -o .libs/ImathBox.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathBox.lo -MD -MP -MF .deps/ImathBox.Tpo -c ImathBox.cpp -o ImathBox.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathRandom.lo -MD -MP -MF ".deps/ImathRandom.Tpo" -c -o ImathRandom.lo ImathRandom.cpp; \
then mv -f ".deps/ImathRandom.Tpo" ".deps/ImathRandom.Plo"; else rm -f ".deps/ImathRandom.Tpo"; exit 1; fi
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathRandom.lo -MD -MP -MF .deps/ImathRandom.Tpo -c ImathRandom.cpp -fno-common -DPIC -o .libs/ImathRandom.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../Half -I../config -pipe -g -O2 -D_THREAD_SAFE -MT ImathRandom.lo -MD -MP -MF .deps/ImathRandom.Tpo -c ImathRandom.cpp -o ImathRandom.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -D_THREAD_SAFE -o libImath.la -rpath /usr/local/lib -version-info 7:0:0 -no-undefined ImathShear.lo ImathMatrixAlgo.lo ImathVec.lo ImathColorAlgo.lo ImathFun.lo ImathBox.lo ImathRandom.lo ../Iex/libIex.la
libtool: link: g++ -dynamiclib -o .libs/libImath.7.dylib .libs/ImathShear.o .libs/ImathMatrixAlgo.o .libs/ImathVec.o .libs/ImathColorAlgo.o .libs/ImathFun.o .libs/ImathBox.o .libs/ImathRandom.o ../Iex/.libs/libIex.dylib -install_name /usr/local/lib/libImath.7.dylib -compatibility_version 8 -current_version 8.0 -Wl,-single_module
libtool: link: dsymutil .libs/libImath.7.dylib || :
libtool: link: (cd ".libs" && rm -f "libImath.dylib" && ln -s "libImath.7.dylib" "libImath.dylib")
libtool: link: ar cru .libs/libImath.a ImathShear.o ImathMatrixAlgo.o ImathVec.o ImathColorAlgo.o ImathFun.o ImathBox.o ImathRandom.o
libtool: link: ranlib .libs/libImath.a
libtool: link: ( cd ".libs" && rm -f "libImath.la" && ln -s "../libImath.la" "libImath.la" )
Making all in ImathTest
make[1]: Nothing to be done for all'. Making all in IlmThread if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadPool.lo -MD -MP -MF ".deps/IlmThreadPool.Tpo" -c -o IlmThreadPool.lo IlmThreadPool.cpp; \ then mv -f ".deps/IlmThreadPool.Tpo" ".deps/IlmThreadPool.Plo"; else rm -f ".deps/IlmThreadPool.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadPool.lo -MD -MP -MF .deps/IlmThreadPool.Tpo -c IlmThreadPool.cpp -fno-common -DPIC -o .libs/IlmThreadPool.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadPool.lo -MD -MP -MF .deps/IlmThreadPool.Tpo -c IlmThreadPool.cpp -o IlmThreadPool.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThread.lo -MD -MP -MF ".deps/IlmThread.Tpo" -c -o IlmThread.lo IlmThread.cpp; \ then mv -f ".deps/IlmThread.Tpo" ".deps/IlmThread.Plo"; else rm -f ".deps/IlmThread.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThread.lo -MD -MP -MF .deps/IlmThread.Tpo -c IlmThread.cpp -fno-common -DPIC -o .libs/IlmThread.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThread.lo -MD -MP -MF .deps/IlmThread.Tpo -c IlmThread.cpp -o IlmThread.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadSemaphore.lo -MD -MP -MF ".deps/IlmThreadSemaphore.Tpo" -c -o IlmThreadSemaphore.lo IlmThreadSemaphore.cpp; \ then mv -f ".deps/IlmThreadSemaphore.Tpo" ".deps/IlmThreadSemaphore.Plo"; else rm -f ".deps/IlmThreadSemaphore.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadSemaphore.lo -MD -MP -MF .deps/IlmThreadSemaphore.Tpo -c IlmThreadSemaphore.cpp -fno-common -DPIC -o .libs/IlmThreadSemaphore.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadSemaphore.lo -MD -MP -MF .deps/IlmThreadSemaphore.Tpo -c IlmThreadSemaphore.cpp -o IlmThreadSemaphore.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadMutex.lo -MD -MP -MF ".deps/IlmThreadMutex.Tpo" -c -o IlmThreadMutex.lo IlmThreadMutex.cpp; \ then mv -f ".deps/IlmThreadMutex.Tpo" ".deps/IlmThreadMutex.Plo"; else rm -f ".deps/IlmThreadMutex.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadMutex.lo -MD -MP -MF .deps/IlmThreadMutex.Tpo -c IlmThreadMutex.cpp -fno-common -DPIC -o .libs/IlmThreadMutex.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadMutex.lo -MD -MP -MF .deps/IlmThreadMutex.Tpo -c IlmThreadMutex.cpp -o IlmThreadMutex.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadPosix.lo -MD -MP -MF ".deps/IlmThreadPosix.Tpo" -c -o IlmThreadPosix.lo IlmThreadPosix.cpp; \ then mv -f ".deps/IlmThreadPosix.Tpo" ".deps/IlmThreadPosix.Plo"; else rm -f ".deps/IlmThreadPosix.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadPosix.lo -MD -MP -MF .deps/IlmThreadPosix.Tpo -c IlmThreadPosix.cpp -fno-common -DPIC -o .libs/IlmThreadPosix.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadPosix.lo -MD -MP -MF .deps/IlmThreadPosix.Tpo -c IlmThreadPosix.cpp -o IlmThreadPosix.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadSemaphorePosix.lo -MD -MP -MF ".deps/IlmThreadSemaphorePosix.Tpo" -c -o IlmThreadSemaphorePosix.lo IlmThreadSemaphorePosix.cpp; \ then mv -f ".deps/IlmThreadSemaphorePosix.Tpo" ".deps/IlmThreadSemaphorePosix.Plo"; else rm -f ".deps/IlmThreadSemaphorePosix.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadSemaphorePosix.lo -MD -MP -MF .deps/IlmThreadSemaphorePosix.Tpo -c IlmThreadSemaphorePosix.cpp -fno-common -DPIC -o .libs/IlmThreadSemaphorePosix.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadSemaphorePosix.lo -MD -MP -MF .deps/IlmThreadSemaphorePosix.Tpo -c IlmThreadSemaphorePosix.cpp -o IlmThreadSemaphorePosix.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadSemaphorePosixCompat.lo -MD -MP -MF ".deps/IlmThreadSemaphorePosixCompat.Tpo" -c -o IlmThreadSemaphorePosixCompat.lo IlmThreadSemaphorePosixCompat.cpp; \ then mv -f ".deps/IlmThreadSemaphorePosixCompat.Tpo" ".deps/IlmThreadSemaphorePosixCompat.Plo"; else rm -f ".deps/IlmThreadSemaphorePosixCompat.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadSemaphorePosixCompat.lo -MD -MP -MF .deps/IlmThreadSemaphorePosixCompat.Tpo -c IlmThreadSemaphorePosixCompat.cpp -fno-common -DPIC -o .libs/IlmThreadSemaphorePosixCompat.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadSemaphorePosixCompat.lo -MD -MP -MF .deps/IlmThreadSemaphorePosixCompat.Tpo -c IlmThreadSemaphorePosixCompat.cpp -o IlmThreadSemaphorePosixCompat.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadMutexPosix.lo -MD -MP -MF ".deps/IlmThreadMutexPosix.Tpo" -c -o IlmThreadMutexPosix.lo IlmThreadMutexPosix.cpp; \ then mv -f ".deps/IlmThreadMutexPosix.Tpo" ".deps/IlmThreadMutexPosix.Plo"; else rm -f ".deps/IlmThreadMutexPosix.Tpo"; exit 1; fi libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadMutexPosix.lo -MD -MP -MF .deps/IlmThreadMutexPosix.Tpo -c IlmThreadMutexPosix.cpp -fno-common -DPIC -o .libs/IlmThreadMutexPosix.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I. -I../config -I.. -I../Iex -I../config -pipe -g -O2 -D_THREAD_SAFE -MT IlmThreadMutexPosix.lo -MD -MP -MF .deps/IlmThreadMutexPosix.Tpo -c IlmThreadMutexPosix.cpp -o IlmThreadMutexPosix.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=link g++ -pipe -g -O2 -D_THREAD_SAFE -o libIlmThread.la -rpath /usr/local/lib -version-info 7:0:0 -no-undefined IlmThreadPool.lo IlmThread.lo IlmThreadSemaphore.lo IlmThreadMutex.lo IlmThreadPosix.lo IlmThreadSemaphorePosix.lo IlmThreadSemaphorePosixCompat.lo IlmThreadMutexPosix.lo ../Iex/libIex.la libtool: link: g++ -dynamiclib -o .libs/libIlmThread.7.dylib .libs/IlmThreadPool.o .libs/IlmThread.o .libs/IlmThreadSemaphore.o .libs/IlmThreadMutex.o .libs/IlmThreadPosix.o .libs/IlmThreadSemaphorePosix.o .libs/IlmThreadSemaphorePosixCompat.o .libs/IlmThreadMutexPosix.o ../Iex/.libs/libIex.dylib -install_name /usr/local/lib/libIlmThread.7.dylib -compatibility_version 8 -current_version 8.0 -Wl,-single_module libtool: link: dsymutil .libs/libIlmThread.7.dylib || : libtool: link: (cd ".libs" && rm -f "libIlmThread.dylib" && ln -s "libIlmThread.7.dylib" "libIlmThread.dylib") libtool: link: ar cru .libs/libIlmThread.a IlmThreadPool.o IlmThread.o IlmThreadSemaphore.o IlmThreadMutex.o IlmThreadPosix.o IlmThreadSemaphorePosix.o IlmThreadSemaphorePosixCompat.o IlmThreadMutexPosix.o /usr/bin/ranlib: file: .libs/libIlmThread.a(IlmThread.o) has no symbols /usr/bin/ranlib: file: .libs/libIlmThread.a(IlmThreadSemaphore.o) has no symbols /usr/bin/ranlib: file: .libs/libIlmThread.a(IlmThreadMutex.o) has no symbols /usr/bin/ranlib: file: .libs/libIlmThread.a(IlmThreadSemaphorePosix.o) has no symbols libtool: link: ranlib .libs/libIlmThread.a ranlib: file: .libs/libIlmThread.a(IlmThread.o) has no symbols ranlib: file: .libs/libIlmThread.a(IlmThreadSemaphore.o) has no symbols ranlib: file: .libs/libIlmThread.a(IlmThreadMutex.o) has no symbols ranlib: file: .libs/libIlmThread.a(IlmThreadSemaphorePosix.o) has no symbols libtool: link: ( cd ".libs" && rm -f "libIlmThread.la" && ln -s "../libIlmThread.la" "libIlmThread.la" ) Making all in config make all-am make[2]: Nothing to be done for
all-am'.
make[1]: Nothing to be done for `all-am'.
Does the same thing happen if you use CMake to build instead?
IlmBase1.0.3 doesn't support cmake.
I'm already running cmake on OpenSubdiv and I get this message:
localhost:build laurenceemms$ cmake ../OpenSubdiv/ -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Checking whether C compiler has -isysroot -- Checking whether C compiler has -isysroot - yes -- Checking whether C compiler supports OSX deployment target flag -- Checking whether C compiler supports OSX deployment target flag - yes -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Checking whether CXX compiler has -isysroot -- Checking whether CXX compiler has -isysroot - yes -- Checking whether CXX compiler supports OSX deployment target flag -- Checking whether CXX compiler supports OSX deployment target flag - yes -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Compiling OpenSubdiv version 0.1.0 -- Using cmake version 2.8.6 CMake Error at cmake/FindIlmBase.cmake:166 (MESSAGE): ilmbase libraries (Iex) not found, required: ILMBASE_LOCATION: NOTFOUND Call Stack (most recent call first): CMakeLists.txt:100 (find_package)
-- Configuring incomplete, errors occurred!
Try running cmake -DILMBASE_LOCATION=xx ../OpenSubdiv/
where xx is the location to the base output dir of IlmBase.
Re CMake:
https://github.com/openexr/openexr/tree/v2_beta.1/IlmBase
The 2.0 beta branch does...
localhost:build laurenceemms$ cmake ../OpenSubdiv/ -DILMBASE_LOCATION=/Users/laurenceemms/Downloads/ilmbase-1.0.3 -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Checking whether C compiler has -isysroot -- Checking whether C compiler has -isysroot - yes -- Checking whether C compiler supports OSX deployment target flag -- Checking whether C compiler supports OSX deployment target flag - yes -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Checking whether CXX compiler has -isysroot -- Checking whether CXX compiler has -isysroot - yes -- Checking whether CXX compiler supports OSX deployment target flag -- Checking whether CXX compiler supports OSX deployment target flag - yes -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Compiling OpenSubdiv version 0.1.0 -- Using cmake version 2.8.6 CMake Error at cmake/FindIlmBase.cmake:166 (MESSAGE): ilmbase libraries (Iex) not found, required: ILMBASE_LOCATION: /Users/laurenceemms/Downloads/ilmbase-1.0.3 Call Stack (most recent call first): CMakeLists.txt:100 (find_package)
-- Configuring incomplete, errors occurred!
I'll try cmake with IlmBase 2.0 beta tomorrow.
Skimming the thread : should this be reported to the IlmBase repository ?
by the way, opensubdiv can be build on OSX 10.7 or later since it uses gl3.h. should be mentioned on readme.
I guess I'll report this to IlmBase too.
It's fixed in IlmBase 1.0.3 - the last error is the fact the IlmBase libs and headers can't be found by OpenSubdiv's CMake/configure... - that's nothing to do with IlmBase.
Amy idea why my IlmThread has no symbols when i run make in IlmBase1.0.3?
I managed to install IlmBase1.0.3 by ignoring the warnings and doing a make install anyway. Then I used -DILMBASE_LOCATION=/usr/local/lib/ (where IlmBase was installed) and I got the following error messages when building OpenSubdiv:
localhost:build laurenceemms$ cmake -DILMBASE_LOCATION=/usr/local/lib/ ../OpenSubdiv/ -- Compiling OpenSubdiv version 0.1.0 -- Using cmake version 2.8.6 -- Found IlmBase: /usr/local/lib/ -- Try OpenMP C flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Try OpenMP CXX flag = [-fopenmp] -- Performing Test OpenMP_FLAG_DETECTED -- Performing Test OpenMP_FLAG_DETECTED - Success -- Found OpenMP: -fopenmp -- Found OpenGL: /System/Library/Frameworks/OpenGL.framework -- Found OpenCL: /System/Library/Frameworks/OpenCL.framework -- Found CUDA: /usr/local/cuda (found version "4.0") -- Found GLUT: /System/Library/Frameworks/GLUT.framework/Headers -- Could NOT find PTEX (missing: PTEX_INCLUDE_DIR PTEX_LIBRARY) -- Could NOT find Maya (missing: MAYA_EXECUTABLE) Remember that currently there's support only for Maya 2012. CMake Warning at CMakeLists.txt:137 (message): OpenGL was not found : support for GLSL parallel compute kernels will be disabled in Osd. If you have an OpenGL SDK installed (version 4.2 or above), please refer to the FindOpenGL.cmake shared module in your cmake installation.
CMake Warning at CMakeLists.txt:171 (message): Ptex was not found : the OpenSubdiv Ptex example will not be available. If you do have Ptex installed and see this message, please add your Ptex path to FindPTex.cmake in /Users/laurenceemms/Programming/OpenSubdiv/OpenSubdiv/cmake or set it through the PTEX_LOCATION cmake command line argument or environment variable.
CMake Warning at CMakeLists.txt:185 (message): Maya was not found : the OpenSubdiv mayaViwer plugin will not be available. If you do have Maya installed and see this message, please add your Maya path to FindMaya.cmake in /Users/laurenceemms/Programming/OpenSubdiv/OpenSubdiv/cmake or set it through the MAYA_LOCATION cmake command line argument or environment variable.
CMake Warning at regression/CMakeLists.txt:77 (message): The following libraries could not be found : glew. The osd regression test will not be available. If you have these libraries installed, please specify their path to cmake (through the GLEW_LOCATION and GLUT_LOCATION command line arguments or environment variables).
-- Configuring done -- Generating done -- Build files have been written to: /Users/laurenceemms/Programming/OpenSubdiv/build localhost:build laurenceemms$ ls CMakeCache.txt Makefile cmake_install.cmake lib regression CMakeFiles bin examples opensubdiv localhost:build laurenceemms$ make Scanning dependencies of target stringify [ 4%] Building CXX object opensubdiv/tools/stringify/CMakeFiles/stringify.dir/main.cpp.o Linking CXX executable ../../../bin/stringify [ 4%] Built target stringify [ 9%] Generating /Users/laurenceemms/Programming/OpenSubdiv/OpenSubdiv/opensubdiv/osd/clKernel.inc [ 13%] Building NVCC (Device) object opensubdiv/osd/./osd_static_generated_cudaKernel.cu.o [ 18%] Building NVCC (Device) object opensubdiv/osd/./osd_dynamic_generated_cudaKernel.cu.o Scanning dependencies of target osd_dynamic [ 22%] Building CXX object opensubdiv/osd/CMakeFiles/osd_dynamic.dir/cpuDispatcher.cpp.o In file included from /Users/laurenceemms/Programming/OpenSubdiv/OpenSubdiv/opensubdiv/osd/../osd/../osd/kernelDispatcher.h:61, from /Users/laurenceemms/Programming/OpenSubdiv/OpenSubdiv/opensubdiv/osd/../osd/cpuDispatcher.h:61, from /Users/laurenceemms/Programming/OpenSubdiv/OpenSubdiv/opensubdiv/osd/cpuDispatcher.cpp:59: /Users/laurenceemms/Programming/OpenSubdiv/OpenSubdiv/opensubdiv/osd/../osd/../osd/vertexBuffer.h:66:28: error: OpenGL/gl3.h: No such file or directory In file included from /Users/laurenceemms/Programming/OpenSubdiv/OpenSubdiv/opensubdiv/osd/../osd/../osd/kernelDispatcher.h:61, from /Users/laurenceemms/Programming/OpenSubdiv/OpenSubdiv/opensubdiv/osd/../osd/cpuDispatcher.h:61, from /Users/laurenceemms/Programming/OpenSubdiv/OpenSubdiv/opensubdiv/osd/cpuDispatcher.cpp:59: /Users/laurenceemms/Programming/OpenSubdiv/OpenSubdiv/opensubdiv/osd/../osd/../osd/vertexBuffer.h:81: error: ‘GLuint’ does not name a type /Users/laurenceemms/Programming/OpenSubdiv/OpenSubdiv/opensubdiv/osd/../osd/../osd/vertexBuffer.h:99: error: ‘GLuint’ does not name a type /Users/laurenceemms/Programming/OpenSubdiv/OpenSubdiv/opensubdiv/osd/../osd/../osd/vertexBuffer.h:108: error: ‘GLuint’ does not name a type /Users/laurenceemms/Programming/OpenSubdiv/OpenSubdiv/opensubdiv/osd/../osd/../osd/vertexBuffer.h:123: error: ‘GLuint’ does not name a type /Users/laurenceemms/Programming/OpenSubdiv/OpenSubdiv/opensubdiv/osd/../osd/../osd/vertexBuffer.h:128: error: ‘GLuint’ does not name a type make[2]: * [opensubdiv/osd/CMakeFiles/osd_dynamic.dir/cpuDispatcher.cpp.o] Error 1 make[1]: * [opensubdiv/osd/CMakeFiles/osd_dynamic.dir/all] Error 2 make: *\ [all] Error 2
I do have OpenGL installed at /System/Library/Frameworks/OpenGL.framework/ but I don't have a FindOpenGL.cmake in my cmake installation.
Hey Laurence,
This has been fixed in new IlmBase builds - but I used to have this problem, and I solved it by just removing that -Wno-long-double line from all the makefiles generated by autoconf. It's not great, but it works.
C
On Sun, Aug 5, 2012 at 2:02 AM, Laurence Emms < reply@reply.github.com
wrote:
Macbook Pro OS: Mac OS X ver. 10.6.8
Compiling lib IlmBase 1.0.2:
localhost:ilmbase-1.0.2 laurenceemms$ ./configure checking build system type... i686-apple-darwin10.8.0 checking host system type... i686-apple-darwin10.8.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 a BSD-compatible install... /usr/bin/install -c 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 ANSI C... none needed checking dependency style of gcc... gcc3 checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm checking how to recognise dependent libraries... pass_all 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... myes checking for unistd.h... ayes checking dlfcn.h usability... kyes checking dlfcn.h presence... eyes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 196608 checking command to parse /usr/bin/nm output from gcc object... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory checking if gcc supports -fno-rtti -fno-exceptions... rm: conftest.dSYM: is a directory no checking for gcc option to produce PIC... -fno-common checking if gcc PIC flag -fno-common works... rm: conftest.dSYM: is a directory yes checking if gcc static flag -static works... rm: conftest.dSYM: is a directory no checking if gcc supports -c -o file.o... rm: conftest.dSYM: is a directory yes checking whether the gcc linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin10.8.0 dyld 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 configure: creating libtool appending configuration tag "CXX" to libtool rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory checking for ld used by g++... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common checking if g++ PIC flag -fno-common works... rm: conftest.dSYM: is a directory yes checking if g++ static flag -static works... rm: conftest.dSYM: is a directory no checking if g++ supports -c -o file.o... rm: conftest.dSYM: is a directory yes checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin10.8.0 dyld checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking whether make sets $(MAKE)... (cached) yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE checking for cc_r... gcc checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking for library containing sem_init... none required checking whether to use POSIX unnamed semaphores... no (pshared not usable) configure: multithread true, LIBS = , CC = gcc, CXXFLAGS = -g -O2 -D_THREAD_SAFE 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 strerror... yes checking for complete iomanip support in C++ standard library... yes checking for gcc optimization flags... -pipe configure: creating ./config.status config.status: creating Makefile config.status: creating IlmBase.pc config.status: creating config/Makefile config.status: creating Half/Makefile config.status: creating HalfTest/Makefile config.status: creating Iex/Makefile config.status: creating IexTest/Makefile config.status: creating IlmThread/Makefile config.status: creating Imath/Makefile config.status: creating ImathTest/Makefile config.status: creating vc/Makefile config.status: creating config/IlmBaseConfig.h config.status: executing depfiles commands
Summary for IlmBase features:
OS X architectures default OS X SDK default
OS X two-way universal build (deprecated) no
localhost:ilmbase-1.0.2 laurenceemms$ make Making all in Half if g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -Wno-long-double -MT eLut.o -MD -MP -MF ".deps/eLut.Tpo" -c -o eLut.o eLut.cpp; \ then mv -f ".deps/eLut.Tpo" ".deps/eLut.Po"; else rm -f ".deps/eLut.Tpo"; exit 1; fi cc1plus: error: unrecognized command line option "-Wno-long-double" make[1]: * [eLut.o] Error 1 make: * [all-recursive] Error 1 localhost:ilmbase-1.0.2 laurenceemms$ make Making all in Half if g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -Wno-long-double -MT eLut.o -MD -MP -MF ".deps/eLut.Tpo" -c -o eLut.o eLut.cpp; \ then mv -f ".deps/eLut.Tpo" ".deps/eLut.Po"; else rm -f ".deps/eLut.Tpo"; exit 1; fi cc1plus: error: unrecognized command line option "-Wno-long-double" make[1]: * [eLut.o] Error 1 make: * [all-recursive] Error 1
As a result I can't install OpenSubdiv on my Macbook Pro
Reply to this email directly or view it on GitHub: https://github.com/PixarAnimationStudios/OpenSubdiv/issues/42
I think this situation absolutely requires that a really futile and stupid gesture be done on somebody's part. And we're just the guys to do it.
Yeah, actually there does seem to be an issue with 1.0.3 on OS X 10.6.8...
2.0 beta and my hacked 1.0.2 work.
But OpenSuvdiv won't work on 10.6.8 (as posted above) due to an opengl 3 requirement.
Looks like it just won't build on my Mac then. Is there any way to get a CUDA only build on my Mac? We should put a note about what Mac version is required for this library on the front page.
Good idea lemms - do we have a consensus yet as to which version of OS X works and what needs to be done ? I could use some cliff notes on this...
If tessellation shaders are used in OpenSubdiv then it is not possible to build OpenSubdiv on any Mac OS version currently available. Mac OS only supports OpenGL 3.2. Perhaps we could release a version for Mac without the GLSL shaders?
We already have some logic in cmake to remove certain features / code when building on Mac (look at some of the examples) - i imagine we'll just have to introduce more of the same until such a time Apple decides to finally get their act together wrt/ drivers.
I've been trying to compile OpenSubdiv on Mac OS X 10.7 and have had to trick the cmake compilation in a few ways. I'm getting what looks like a complete build of the osd library plus a build of glutViewer. Unfortunately, glutViewer seg faults on startup. I'll begin a new issue for that.
Who in the dev team could I bug about Mac setup issues?
Thanks
I am happy to share my simpleGlutViewer that I use in my sim code. It has no dependencies and compiles & works across mac & windows & linux.
Usually on the Mac the problem I've had is with GLEW, which on OSX you don't really need, since all the extensions are already part of the OpenGL Foundation.
Chris
On Sat, Aug 18, 2012 at 6:05 PM, mplanck notifications@github.com wrote:
I've been trying to compile OpenSubdiv on Mac OS X 10.7 and have had to trick the cmake compilation in a few ways. I'm getting what looks like a complete build of the osd library plus a build of glutViewer. Unfortunately, glutViewer seg faults on startup. I'll begin a new issue for that.
Who in the dev team could I bug about Mac setup issues?
Thanks
— Reply to this email directly or view it on GitHubhttps://github.com/PixarAnimationStudios/OpenSubdiv/issues/42#issuecomment-7849662.
I think this situation absolutely requires that a really futile and stupid gesture be done on somebody's part. And we're just the guys to do it.
Hi, although we don't have much resources to support mac environment, please assign to me about mac build issues. I just checked in the fix for pTexture.cpp compilation problem and now it should be built without hacks. You may need to set DYLD_LIBRARY_PATH (or DYLD_FALLBACK_LIBRARY_PATH) to libPtex.so and libosd.dylib location.
thanks!
most of these Mac issues should be resolved with the various cleanups of our cmake logic, move to GLFV and other glew shenanigans.
closing this for now - please open new issues if something crops up.
Macbook Pro OS: Mac OS X ver. 10.6.8
Compiling lib IlmBase 1.0.2:
localhost:ilmbase-1.0.2 laurenceemms$ ./configure checking build system type... i686-apple-darwin10.8.0 checking host system type... i686-apple-darwin10.8.0 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 a BSD-compatible install... /usr/bin/install -c 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 ANSI C... none needed checking dependency style of gcc... gcc3 checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm checking how to recognise dependent libraries... pass_all 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... myes checking for unistd.h... ayes checking dlfcn.h usability... kyes checking dlfcn.h presence... eyes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 196608 checking command to parse /usr/bin/nm output from gcc object... rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory checking if gcc supports -fno-rtti -fno-exceptions... rm: conftest.dSYM: is a directory no checking for gcc option to produce PIC... -fno-common checking if gcc PIC flag -fno-common works... rm: conftest.dSYM: is a directory yes checking if gcc static flag -static works... rm: conftest.dSYM: is a directory no checking if gcc supports -c -o file.o... rm: conftest.dSYM: is a directory yes checking whether the gcc linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin10.8.0 dyld 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 configure: creating libtool appending configuration tag "CXX" to libtool rm: conftest.dSYM: is a directory rm: conftest.dSYM: is a directory checking for ld used by g++... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fno-common checking if g++ PIC flag -fno-common works... rm: conftest.dSYM: is a directory yes checking if g++ static flag -static works... rm: conftest.dSYM: is a directory no checking if g++ supports -c -o file.o... rm: conftest.dSYM: is a directory yes checking whether the g++ linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin10.8.0 dyld checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking whether make sets $(MAKE)... (cached) yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE checking for cc_r... gcc checking semaphore.h usability... yes checking semaphore.h presence... yes checking for semaphore.h... yes checking for library containing sem_init... none required checking whether to use POSIX unnamed semaphores... no (pshared not usable) configure: multithread true, LIBS = , CC = gcc, CXXFLAGS = -g -O2 -D_THREAD_SAFE 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 strerror... yes checking for complete iomanip support in C++ standard library... yes checking for gcc optimization flags... -pipe configure: creating ./config.status config.status: creating Makefile config.status: creating IlmBase.pc config.status: creating config/Makefile config.status: creating Half/Makefile config.status: creating HalfTest/Makefile config.status: creating Iex/Makefile config.status: creating IexTest/Makefile config.status: creating IlmThread/Makefile config.status: creating Imath/Makefile config.status: creating ImathTest/Makefile config.status: creating vc/Makefile config.status: creating config/IlmBaseConfig.h config.status: executing depfiles commands
Summary for IlmBase features:
OS X architectures default OS X SDK default
OS X two-way universal build (deprecated) no
localhost:ilmbase-1.0.2 laurenceemms$ make Making all in Half if g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -Wno-long-double -MT eLut.o -MD -MP -MF ".deps/eLut.Tpo" -c -o eLut.o eLut.cpp; \ then mv -f ".deps/eLut.Tpo" ".deps/eLut.Po"; else rm -f ".deps/eLut.Tpo"; exit 1; fi cc1plus: error: unrecognized command line option "-Wno-long-double" make[1]: * [eLut.o] Error 1 make: * [all-recursive] Error 1 localhost:ilmbase-1.0.2 laurenceemms$ make Making all in Half if g++ -DHAVE_CONFIG_H -I. -I. -I../config -I../config -pipe -g -O2 -D_THREAD_SAFE -Wno-long-double -MT eLut.o -MD -MP -MF ".deps/eLut.Tpo" -c -o eLut.o eLut.cpp; \ then mv -f ".deps/eLut.Tpo" ".deps/eLut.Po"; else rm -f ".deps/eLut.Tpo"; exit 1; fi cc1plus: error: unrecognized command line option "-Wno-long-double" make[1]: * [eLut.o] Error 1 make: * [all-recursive] Error 1
As a result I can't install OpenSubdiv on my Macbook Pro