[vtkusers] Build failure on OS X 10.2.1

Philip Cook p.cook at cs.ucl.ac.uk
Thu Jan 2 11:28:34 EST 2003


I'm trying to build CVS VTK with Carbon and Java wrapping. CMake  
version is 1.4.7.

It falls over on something freetype related. I thought freetype was a  
font server for X, and I don't know why it is building it. The CMake  
entry for the presence of X seems correct:

//Is X11 around.
CMAKE_HAS_X:INTERNAL=0

I haven't changed the CMake defaults, apart from the Java stuff

//Path to a program.
JAVA_ARCHIVE:FILEPATH=/usr/bin/jar

//What is the path where the file jawt.h can be found
JAVA_AWT_INCLUDE_PATH:PATH=/System/Library/Frameworks/ 
JavaEmbedding.framework/Headers

//Where can the jawt library be found
JAVA_AWT_LIBRARY:FILEPATH=-framework JavaEmbedding

//Path to a program.
JAVA_COMPILE:FILEPATH=/usr/bin/javac

//What is the path where the file jni.h can be found
JAVA_INCLUDE_PATH:PATH=/System/Library/Frameworks/JavaVM.framework/ 
Headers

//What is the path where the file jni_md.h can be found
JAVA_INCLUDE_PATH2:PATH=/System/Library/Frameworks/JavaVM.framework/ 
Headers

//Path to a program.
JAVA_RUNTIME:FILEPATH=/usr/bin/java

Also, shared libs are ON.

The error message is below. Thanks for any ideas.

gcc   -dynamiclib  -o      /usr/local/vtkbin/bin/libvtkfreetype.dylib    
    ftinit.o ftbase.o ftglyph.o ftbbox.o ftmm.o autohint.o ftcache.o  
sfnt.o cff.o psmodule.o psaux.o truetype.o type1.o type1cid.o winfnt.o  
raster.o smooth.o pcf.o pshinter.o bdf.o pfr.o type42.o ftdebug.o  
ftsystem.o ftmac.o  -L.
ld: Undefined symbols:
_CloseResFile
_CopyPascalStringToC
_FMCreateFontFamilyInstanceIterator
_FMCreateFontFamilyIterator
_FMDisposeFontFamilyInstanceIterator
_FMDisposeFontFamilyIterator
_FMGetFontContainer
_FMGetFontFamilyName
_FMGetNextFontFamily
_FMGetNextFontFamilyInstance
_FSClose
_FSGetCatalogInfo
_FSMakeFSSpec
_FSOpenResourceFile
_FSPathMakeRef
_FSpGetFInfo
_FSpMakeFSRef
_FSpOpenRF
_FSpOpenResFile
_Get1IndResource
_Get1Resource
/usr/bin/libtool: internal link edit command failed
_GetEOF
_GetHandleSize
_GetResInfo
_GetResource
_HLock
_HUnlock
_HomeResFile
_PBGetFCBInfoSync
_ReleaseResource
_ResError
_UseResFile
make[5]: *** [/usr/local/vtkbin/bin/libvtkfreetype.dylib] Error 1
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_freetype] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Utilities] Error 2
make: *** [default_target] Error 2




More information about the vtkusers mailing list