[Bf-committers] QuickTime on OS X

Douglas Bischoff bf-committers@blender.org
Mon, 5 May 2003 12:27:47 -0400


On Monday, May 5, 2003, at 11:30 US/Eastern, Stefan Gartner wrote:

> I don't get that error here, so I'd be glad if you could answer these
> questions:
> What command did you use when running configure?

Okay, based on this question I thought it might be some of my configure  
options or environment variables. So I dropped back to what I consider  
"safe" stuff. This DID clear the error listed below. HOWEVER, it  
doesn't fix everything. Here's what I have.
environment variables:
	CFLAGS=-O3
	CXXFLAGS=-O3
configure line:
../blender/configure --prefix=/Users/developer/Projects/build_blender  
--with-libjpeg=/sw --with-libpng=/sw --disable-exppython  
--disable-debug --enable-quicktime=yes

> What versions of OS X and Quicktime are you using?

OS X 10.2.5, quicktime 6.2

Did not download any Quicktime packages, as the documentation tells me  
that as of 10.2 all the necessary information is included with the  
distribution. I can try to go ahead and download whatever headers/libs  
are needed, but it might be that QT 6.2 is part of the problem?

> What do the line(s) above the error say?

Again, the errors about "ID" have gone away. I USED to have these env  
variables:
-DNDEBUG -mtune=powerpc -ffast-math -faltivec

Might they have been contributing to the problem?

Here is what the current error is:
----
gcc -O3 -funsigned-char -u __dummy -u _PyMac_Error -framework System  
-framework Python -framework CoreServices -framework Foundation -o  
blender -framework OpenGL -framework AGL -framework Carbon -framework  
QuickTime  -L/sw/lib  
-L/Library/Frameworks/Python.framework/Versions/2.2/lib/python2.2/ 
config source/.libs/libblender_source.al  
intern/bsp/.libs/libblender_BSP.al  
intern/decimation/.libs/libblender_LOD.al  
intern/ghost/.libs/libblender_GHOST.al  
intern/string/.libs/libblender_STR.al  
intern/guardedalloc/.libs/libblender_guardedalloc.al  
intern/bmfont/.libs/libblender_BMF.al  
intern/container/.libs/libblender_CTR.al  
intern/memutil/.libs/libblender_MEM.al  
intern/keymaker/.libs/libblender_belgium.al  
intern/iksolver/.libs/libblender_IK.al  
intern/moto/.libs/libblender_MT.al intern/python/frozen/libfrozen.a  
-lpython2.2 -ljpeg -lpng -lcrypto -lssl -lpthread -ldl -lstdc++ -lz
ld: multiple definitions of symbol _object_copy
/usr/lib/libobjc.A.dylib(libobjc.ppc.o) definition of _object_copy
source/.libs/libblender_source.al(libblender_bpython_la-b_interface.lo)  
definition of _object_copy in section (__TEXT,__text)
make[2]: *** [blender] Error 1
----

This might be totally unrelated to what we're talking about. Here are  
warnings that appear during compiling that might be more relevant:

----
gcc -DHAVE_CONFIG_H -I. -I../../../../blender/source/blender/quicktime  
-I../../.. -I../../../../blender/source/blender/makesdna  
-I../../../../blender/intern/guardedalloc  
-I../../../../blender/source/blender/blenlib  
-I../../../../blender/source/blender/blenkernel  
-I../../../../blender/source/blender/avi  
-I../../../../blender/source/blender/imbuf  
-I../../../../blender/source/blender/imbuf/intern  
-I../../../../blender/source/blender/readstreamglue  
-I../../../../blender/source/blender/render/extern/include  
-D_THREAD_SAFE -I/sw/include -I/sw/include -DWITH_QUICKTIME -O3  
-funsigned-char -c  
../../../../blender/source/blender/quicktime/apple/quicktime_import.c  
-Wp,-MD,.deps/quicktime_import.TPlo  -fno-common -DPIC -o  
.libs/quicktime_import.lo
/System/Library/Frameworks/QuickTime.framework/Headers/Movies.h:20:  
warning: could not use precompiled header  
'/System/Library/Frameworks/Carbon.framework/Headers/Carbon-gcc3.p',  
because:
/System/Library/Frameworks/QuickTime.framework/Headers/Movies.h:20:  
warning: 'CarbonSound/CarbonSound.h' has different date than in precomp
/System/Library/Frameworks/QuickTime.framework/Headers/Movies.h:20:  
warning: 'CarbonSound/Sound.h' has different date than in precomp
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:  
warning: could not use precompiled header  
'/System/Library/Frameworks/CoreServices.framework/Headers/ 
CoreServices-gcc3.p', because:
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:  
warning: macro 'malloc' defined by  
../../../../blender/source/blender/imbuf/intern/imbuf.h conflicts with  
precomp
----

Many thanks, much confusion,

-Doug