Library inclusion problem
Help needed to know the reason for below errors. These errors which are in color red are result of a library inclusion( .a).
Ld build/Debug-iphonesimulator/CPCharts.app/CPCharts normal i386
cd /Users/sesramcocomethirajulu/Documents/CPCharts
setenv MACOSX_DEPLOYMENT_TARGET 10.5
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk -L/Users/sesramcocomethirajulu/Documents/CPCharts/build/Debug-iphonesimulator -F/Users/sesramcocomethirajulu/Documents/CPCharts/build/Debug-iphonesimulator -filelist /Users/sesramcocomethirajulu/Documents/CPCharts/build/CPCharts.build/Debug-iphonesimulator/CPCharts.build/Objects-normal/i386/CPCharts.LinkFileList -mmacosx-version-min=10.5 -ObjC -all_load -framework Foundation -framework UIKit -framework CoreGraphics -framework QuartzCore -o /Users/sesramcocomethirajulu/Documents/CPCharts/build/Debug-iphonesimulator/CPCharts.app/CPCharts
Undefined symbols:
".objc_class_name_CPXYGraph", referenced from:
literal-pointer@__OBJC@__cls_refs@CPXYGraph in CPChartsViewController.o
".objc_class_name_CPTextStyle", referenced from:
literal-pointer@__OBJC@__cls_refs@CPTextStyle in CPChartsViewController.o
".objc_class_name_CPColor", referenced from:
literal-pointer@__OBJC@__cls_refs@CPColor in CPChartsViewController.o
".objc_class_name_CPPlotSymbol", referenced from:
literal-pointer@__OBJC@__cls_refs@CPPlotSymbol in CPChartsViewController.o
".objc_class_name_CPPlotRange", referenced from:
literal-pointer@__OBJC@__cls_refs@CPPlotRange in CPChartsViewController.o
".objc_class_name_CPTextLayer", referenced from:
literal-pointer@__OBJC@__cls_refs@CPTextLayer in CPChartsViewController.o
".objc_class_name_CPBarPlot", referenced from:
literal-pointer@__OBJC@__cls_refs@CPBarPlot in CPChartsViewController.o
"_kCPDarkGradientTheme", referenced from:
_kCPDarkGradientTheme$non_lazy_ptr in CPChartsViewController.o
(maybe you meant: _kCPDarkGradientTheme$non_lazy_ptr)
".objc_class_name_CPPieChart", referenced from:
literal-pointer@__OBJC@__cls_refs@CPPieChart in CPChartsViewController.o
".objc_class_name_CPTheme", referenced from:
literal-pointer@__OBJC@__cls_refs@CPTheme in CPChartsViewController.o
"_CPDecimalFromFloat", referenced from:
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
".objc_class_name_CPLineStyle", referenced from:
literal-pointer@__OBJC@__cls_refs@CPLineStyle in CPChartsViewController.o
"_CPDecimalFromString", referenced from:
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
-[CPChartsViewController constructScatterPlot] in CPChartsViewController.o
".objc_class_name_CPScatterPlot", referenced from:
literal-pointer@__OBJC@__cls_refs@CPScatterPlot in CPChartsViewController.o
".objc_class_name_CPFill", referenced from:
literal-pointer@__OBJC@__cls_refs@CPFill in CPChartsViewController.o
".objc_class_name_CPGradient", referenced from:
literal-pointer@__OBJC@__cls_refs@CPGradient in CPChartsViewController.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Last edited by santosh_kumar; 11-09-2010 at 10:42 PM.
|