I have a bit of a problem trying to compile and link CEGUI under Xcode. For some odd reason I get the following error when linking...
Code: Select all
mkdir /Developer/cegui_mk2/makefiles/mac/Xcode2/CrazyEddiesGUI/build/Development/CEGUI.framework/Versions/A
cd /Developer/cegui_mk2/makefiles/mac/Xcode2/CrazyEddiesGUI
/usr/bin/g++-4.0 -o /Developer/cegui_mk2/makefiles/mac/Xcode2/CrazyEddiesGUI/build/Development/CEGUI.framework/Versions/A/CEGUI
-L/Developer/cegui_mk2/makefiles/mac/Xcode2/CrazyEddiesGUI/build/Development
-L/usr/X11R6/lib
-F/Developer/cegui_mk2/makefiles/mac/Xcode2/CrazyEddiesGUI/build/Development
-F/Library/Frameworks -filelist
/Developer/cegui_mk2/makefiles/mac/Xcode2/CrazyEddiesGUI/build/CrazyEddiesGUI.build/Development/CEGUIBase.build/Objects-normal/ppc/CEGUI.LinkFileList
-arch ppc -Wl,-single_module -dynamiclib
-compatibility_version 1 -current_version 1 -install_name
/Library/Frameworks/CEGUI.framework/Versions/A/CEGUI
-framework Carbon
ld: warning multiple definitions of symbol _regcomp
/Developer/cegui_mk2/makefiles/mac/Xcode2/CrazyEddiesGUI/build/CrazyEddiesGUI.build/Development/CEGUIBase.build/Objects-normal/ppc/pcreposix.o definition of _regcomp in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libSystem.dylib(regcomp.So) definition of _regcomp
ld: warning multiple definitions of symbol _regexec
/Developer/cegui_mk2/makefiles/mac/Xcode2/CrazyEddiesGUI/build/CrazyEddiesGUI.build/Development/CEGUIBase.build/Objects-normal/ppc/pcreposix.o definition of _regexec in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libSystem.dylib(regexec.So) definition of _regexec
ld: warning multiple definitions of symbol _regfree
/Developer/cegui_mk2/makefiles/mac/Xcode2/CrazyEddiesGUI/build/CrazyEddiesGUI.build/Development/CEGUIBase.build/Objects-normal/ppc/pcreposix.o definition of _regfree in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libSystem.dylib(regfree.So) definition of _regfree
ld: Undefined symbols:
_FT_Done_Face
_FT_Load_Char
_FT_New_Memory_Face
_FT_Set_Char_Size
_FT_Done_FreeType
_FT_Init_FreeType
/usr/bin/libtool: internal link edit command failed
ld: warning multiple definitions of symbol _regcomp
ld: warning multiple definitions of symbol _regexec
ld: warning multiple definitions of symbol _regfree
ld: Undefined symbols:
_FT_Done_Face
_FT_Load_Char
_FT_New_Memory_Face
_FT_Set_Char_Size
_FT_Done_FreeType
_FT_Init_FreeType
/usr/bin/libtool: internal link edit command failed
Build failed for target "CEGUI" (2 errors, 3 warnings)
Thing is, I thought I had it linked to the FreeType stuff in the X11 folder, but apparently something is wrong with the link. Anyone have any ideas about how to go about fixing this? Or is this a known issue?
-EDarkness