Closed GoogleCodeExporter closed 9 years ago
Full error message:
CompileC
/Users/BrendanLiu/Library/Developer/Xcode/DerivedData/HeartRateDataCapture-fddlb
ngegnyhqcdjwbkrebtroepj/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-ipho
neos/CorePlot-CocoaTouch.build/Objects-normal/armv7/CPTPlot.o Source/CPTPlot.m
normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/BrendanLiu/Workspace/iOS/iOS_HRV/CorePlot_1.0/Source/framework
setenv LANG en_US.US-ASCII
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Werror -Wmissing-field-initializers -Wmissing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wmissing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wsign-compare -Wno-shorten-64-to-32 -Wpointer-sign -Wnewline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -miphoneos-version-min=3.1.3 -iquote /Users/BrendanLiu/Library/Developer/Xcode/DerivedData/HeartRateDataCapture-fddlbngegnyhqcdjwbkrebtroepj/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphoneos/CorePlot-CocoaTouch.build/CorePlot-CocoaTouch-generated-files.hmap -I/Users/BrendanLiu/Library/Developer/Xcode/DerivedData/HeartRateDataCapture-fddlbngegnyhqcdjwbkrebtroepj/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphoneos/CorePlot-CocoaTouch.build/CorePlot-CocoaTouch-own-target-headers.hmap -I/Users/BrendanLiu/Library/Developer/Xcode/DerivedData/HeartRateDataCapture-fddlbngegnyhqcdjwbkrebtroepj/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphoneos/CorePlot-CocoaTouch.build/CorePlot-CocoaTouch-all-target-headers.hmap -iquote /Users/BrendanLiu/Library/Developer/Xcode/DerivedData/HeartRateDataCapture-fddlbngegnyhqcdjwbkrebtroepj/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphoneos/CorePlot-CocoaTouch.build/CorePlot-CocoaTouch-project-headers.hmap -I/Users/BrendanLiu/Library/Developer/Xcode/DerivedData/HeartRateDataCapture-fddlbngegnyhqcdjwbkrebtroepj/Build/Products/Debug-iphoneos/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/BrendanLiu/Library/Developer/Xcode/DerivedData/HeartRateDataCapture-fddlbngegnyhqcdjwbkrebtroepj/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphoneos/CorePlot-CocoaTouch.build/DerivedSources/armv7 -I/Users/BrendanLiu/Library/Developer/Xcode/DerivedData/HeartRateDataCapture-fddlbngegnyhqcdjwbkrebtroepj/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphoneos/CorePlot-CocoaTouch.build/DerivedSources -F/Users/BrendanLiu/Library/Developer/Xcode/DerivedData/HeartRateDataCapture-fddlbngegnyhqcdjwbkrebtroepj/Build/Products/Debug-iphoneos -lstdc++ -falign-loops=16 -MMD -MT dependencies -MF /Users/BrendanLiu/Library/Developer/Xcode/DerivedData/HeartRateDataCapture-fddlbngegnyhqcdjwbkrebtroepj/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphoneos/CorePlot-CocoaTouch.build/Objects-normal/armv7/CPTPlot.d --serialize-diagnostics /Users/BrendanLiu/Library/Developer/Xcode/DerivedData/HeartRateDataCapture-fddlbngegnyhqcdjwbkrebtroepj/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphoneos/CorePlot-CocoaTouch.build/Objects-normal/armv7/CPTPlot.dia -c /Users/BrendanLiu/Workspace/iOS/iOS_HRV/CorePlot_1.0/Source/framework/Source/CPTPlot.m -o /Users/BrendanLiu/Library/Developer/Xcode/DerivedData/HeartRateDataCapture-fddlbngegnyhqcdjwbkrebtroepj/Build/Intermediates/CorePlot-CocoaTouch.build/Debug-iphoneos/CorePlot-CocoaTouch.build/Objects-normal/armv7/CPTPlot.o
clang: error: -Z-reserved-lib-stdc++: 'linker' input unused when '-c' is present
Command
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/u
sr/bin/clang failed with exit code 1
Original comment by brendanliu8899
on 4 Nov 2012 at 11:36
Simply i compiled the core-plot library and followed the Dependent Project
install from this link
http://code.google.com/p/core-plot/wiki/UsingCorePlotInApplications
and every thing going like a charm (my project now support both armv7 and
armv7s without any problems) , in addition i still set Build Active
Architecture Only to NO , to be sure to support all Architectures
Original comment by adel.jod...@gmail.com
on 4 Nov 2012 at 12:03
Thanks for the quick response!
I followed the Dependent Project install couple times, I'm still getting this
error. Any suggestions on what should I check to to fix this? Thans a lot!
Original comment by brendanliu8899
on 4 Nov 2012 at 12:19
ummm ...look..check the compiler type , i set it to LLVM GCC 4.2 for the
internal core-plot project and set it Default compiler for my project (the
external one)
Original comment by adel.jod...@gmail.com
on 4 Nov 2012 at 12:22
Yes, this solves the problem. Thanks a lot!
Mark delete for this issue.
Original comment by brendanliu8899
on 4 Nov 2012 at 12:27
Great :)
Original comment by adel.jod...@gmail.com
on 4 Nov 2012 at 12:29
Original comment by eskr...@mac.com
on 4 Nov 2012 at 1:52
Original issue reported on code.google.com by
brendanliu8899
on 4 Nov 2012 at 11:31