CompileC build/MESSOSX-0.133.build/Debug/png2bdc.build/Objects-normal/i386/png2bdc.o /Users/anthonysmith/Documents/Development/MESSOSX-0.133/MESS/build/png2bdc.c normal i386 c com.apple.compilers.gcc.4_0
cd /Users/anthonysmith/Documents/Development/MESSOSX-0.133
/Developer/usr/bin/gcc-4.0 -x c -arch i386 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type -Wunused-variable -isysroot /Developer/SDKs/MacOSX10.5.sdk -mfix-and-continue -mmacosx-version-min=10.5 -gdwarf-2 -iquote /Users/anthonysmith/Documents/Development/MESSOSX-0.133/build/MESSOSX-0.133.build/Debug/png2bdc.build/png2bdc-generated-files.hmap -I/Users/anthonysmith/Documents/Development/MESSOSX-0.133/build/MESSOSX-0.133.build/Debug/png2bdc.build/png2bdc-own-target-headers.hmap -I/Users/anthonysmith/Documents/Development/MESSOSX-0.133/build/MESSOSX-0.133.build/Debug/png2bdc.build/png2bdc-all-target-headers.hmap -iquote /Users/anthonysmith/Documents/Development/MESSOSX-0.133/build/MESSOSX-0.133.build/Debug/png2bdc.build/png2bdc-project-headers.hmap -F/Users/anthonysmith/Documents/Development/MESSOSX-0.133/build/Debug -I/Users/anthonysmith/Documents/Development/MESSOSX-0.133/build/Debug/include -I/Users/anthonysmith/Documents/Development/MESSOSX-0.133/MESS/osd -I/Users/anthonysmith/Documents/Development/MESSOSX-0.133/build/MESSOSX-0.133.build/Debug/png2bdc.build/DerivedSources/i386 -I/Users/anthonysmith/Documents/Development/MESSOSX-0.133/build/MESSOSX-0.133.build/Debug/png2bdc.build/DerivedSources -include /var/folders/sk/skcc8rAVGSynOBBaOwWN3U+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/MESSOSX-0.133_Prefix-eswoejnjmeodzmebppesggywuola/MESSOSX-0.133_Prefix.pch -c /Users/anthonysmith/Documents/Development/MESSOSX-0.133/MESS/build/png2bdc.c -o /Users/anthonysmith/Documents/Development/MESSOSX-0.133/build/MESSOSX-0.133.build/Debug/png2bdc.build/Objects-normal/i386/png2bdc.o
Ld /Users/anthonysmith/Documents/Development/MESSOSX-0.133/build/Debug/png2bdc normal i386
cd /Users/anthonysmith/Documents/Development/MESSOSX-0.133
setenv MACOSX_DEPLOYMENT_TARGET 10.5
/Developer/usr/bin/gcc-4.0 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Users/anthonysmith/Documents/Development/MESSOSX-0.133/build/Debug -F/Users/anthonysmith/Documents/Development/MESSOSX-0.133/build/Debug -filelist /Users/anthonysmith/Documents/Development/MESSOSX-0.133/build/MESSOSX-0.133.build/Debug/png2bdc.build/Objects-normal/i386/png2bdc.LinkFileList -mmacosx-version-min=10.5 -locore -lutil -lz -o /Users/anthonysmith/Documents/Development/MESSOSX-0.133/build/Debug/png2bdc
Undefined symbols:
"_bitmap_free", referenced from:
_render_font_save_cached in png2bdc.o
_main in png2bdc.o
"_core_fopen", referenced from:
_render_font_save_cached in png2bdc.o
_main in png2bdc.o
"_core_fseek", referenced from:
_render_font_save_cached in png2bdc.o
"_png_read_bitmap", referenced from:
_main in png2bdc.o
"_bitmap_alloc", referenced from:
_bitmap_to_chars in png2bdc.o
"_core_fwrite", referenced from:
_render_font_save_cached in png2bdc.o
_render_font_save_cached in png2bdc.o
_render_font_save_cached in png2bdc.o
_render_font_save_cached in png2bdc.o
"_core_fclose", referenced from:
_render_font_save_cached in png2bdc.o
_render_font_save_cached in png2bdc.o
_main in png2bdc.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
On Jul 24, 2009, at 12:17 PM, Anthony Smith wrote:
I have an Xcode project with 2 static library targets and 1 shell tool target. The shell tool target has the static libraries as dependencies as well as linked libraries. When I go to build I get symbols not found errors. The only way I can build successfully is if I define the static libraries in "Other Linker Flags". Why doesn't adding them to the "Linked Libraries" list under the "General" tab take care of this?
Anthony