本文介绍了实施条形图的Coreplot的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我正在使用coreplot实施条形图...正在获取以下无法调试的错误。有人尝试过所有方法,但仍然找不到解决方案。Am implementing barchart using coreplot...am getting the errors bellow which am unable to debug. Can anybody please help me out with the solution for this..Tried all ways but still couldn find the solution. Ld / Users / MacMini / Library / Developer / Xcode / DerivedData / DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo / Build / Products / Debug-iphonesimulator / DashBoard.app / DashBoard normal i386 cd / Users / MacMini / Desktop / DashBoard setenv MACOSX_DEPLOYMENT_TAR 10 /Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin /Developer/Platforms/iPhoneSimulator.platform/Developer / usr / bin / clang -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L / Users / MacMini / Library / Developer / Xcode / DerivedData / DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo产品/调试iphone模拟器-L /用户/ MacMini /桌面/仪表板-F /用户/ MacMini /库/开发人员/ Xcode / DerivedData /仪表板-cmeoxsnbrnrzrkcwmgmfxqlfuzvo / Build /产品/调试-iphone模拟器- F /用户/ MacMini /台式机/仪表板-文件列表/用户/ MacMini /库/开发人员/Xcode/DerivedData/DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo/Build/Intermediates/DashBoard.build/Debug-iphonesimulator/DashBoard.build/Object/Objects DashBoard.LinkFileList -mmacosx-version-min = 10.6 -ObjC -all_load -Xlinker -objc_abi_version -Xlinker 2 -framework QuartzCore -lCorePlot-CocoaTouch -framework UIKit -framework Foundation -framework CoreGraphics -o / Users / MacMini / Library / Developer / Xcode /DerivedData/DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo/Build/Products/Debug-iphonesimulator/DashBoard.app/DashBoard Ld /Users/MacMini/Library/Developer/Xcode/DerivedData/DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo/Build/Products/Debug-iphonesimulator/DashBoard.app/DashBoard normal i386 cd /Users/MacMini/Desktop/DashBoard setenv MACOSX_DEPLOYMENT_TARGET 10.6 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/clang -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk -L/Users/MacMini/Library/Developer/Xcode/DerivedData/DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo/Build/Products/Debug-iphonesimulator -L/Users/MacMini/Desktop/DashBoard -F/Users/MacMini/Library/Developer/Xcode/DerivedData/DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo/Build/Products/Debug-iphonesimulator -F/Users/MacMini/Desktop/DashBoard -filelist /Users/MacMini/Library/Developer/Xcode/DerivedData/DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo/Build/Intermediates/DashBoard.build/Debug-iphonesimulator/DashBoard.build/Objects-normal/i386/DashBoard.LinkFileList -mmacosx-version-min=10.6 -ObjC -all_load -Xlinker -objc_abi_version -Xlinker 2 -framework QuartzCore -lCorePlot-CocoaTouch -framework UIKit -framework Foundation -framework CoreGraphics -o /Users/MacMini/Library/Developer/Xcode/DerivedData/DashBoard-cmeoxsnbrnrzrkcwmgmfxqlfuzvo/Build/Products/Debug-iphonesimulator/DashBoard.app/DashBoard架构i386的未定义符号: _CPTDecimalFromDouble,已引用来自:Barchart.o中的-[Barchart viewDidLoad] _OBJC_CLASS _ $ _ CPTGraphHostingView,引用自:Barbart.o中的 objc-class-ref _OBJC_CLASS _ $ _ CPTXYGraph ,引用自:Barchart.o中的 objc-class-ref _OBJC_CLASS _ $ _ CPTPlotRange,引用自: Barchart.o中的objc-class-ref _OBJC_CLASS _ $ _ CPTBarPlot,引用自: Barchart.o中的objc-class-ref ld:未为体系结构i386找到符号 clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)Undefined symbols for architecture i386: "_CPTDecimalFromDouble", referenced from: -[Barchart viewDidLoad] in Barchart.o "_OBJC_CLASS_$_CPTGraphHostingView", referenced from: objc-class-ref in Barchart.o "_OBJC_CLASS_$_CPTXYGraph", referenced from: objc-class-ref in Barchart.o "_OBJC_CLASS_$_CPTPlotRange", referenced from: objc-class-ref in Barchart.o "_OBJC_CLASS_$_CPTBarPlot", referenced from: objc-class-ref in Barchart.old: symbol(s) not found for architecture i386clang: error: linker command failed with exit code 1 (use -v to see invocation)推荐答案此页(在评论部分)可以帮助您: http:// code。 google.com/p/core-plot/wiki/UsingCorePlotInApplications This page (in the comments section) may help you with that: http://code.google.com/p/core-plot/wiki/UsingCorePlotInApplications这是以前的堆栈溢出问题,看起来像您一样: 使用Core Plot iPhone-链接器错误 And this is a previous Stack Overflow question that looks like yours: Using Core Plot iPhone - Linker error有一些我在上面的页面中找到的修复程序:Here are some fixes I found on the pages above: 在CorePlot-CocoaTouch项目设置中,更改 iOS部署目标 到 3.2 将所有配置的 仅将活动架构构建 更改为否 更改 C / C ++编译器版本 从GCC 4.2到 LLVM GCC 4.2 In CorePlot-CocoaTouch project settings, change iOS Deployment Target to 3.2change Build Active Architecture Only to No for all configurationschange C/C++ Compiler Version from GCC 4.2 to LLVM GCC 4.2 这篇关于实施条形图的Coreplot的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 09-15 22:28