By aleem_razzaq
on Tue, 09/04/2012 - 13:53
Hi,
I am using library of Qualcomm, i successfully run my project us qualcomm but only issue is when i use CodeTimestamps to check my project processing speed and getting 2 errors on using LogTimestamp, LogTimestampStartChunk, LogTimestampMidChunk, and LogTimestampEndChunk Macros my project, i follow same procedure as http://eng.pulse.me/line-by-line-speed-analysis-for-ios-apps/ site mentioned. I also successfully use in my test project and got right output. But when i use in my Qualcomm project getting errors.
/* errors start here
Ld "/Users/putitout/Library/Developer/Xcode/DerivedData/OpenCVClient-cuhuzttdckvnewgwrkccfthvfxux/Build/Products/Debug-iphoneos/AR Color.app/AR Color" normal armv7
cd "/Volumes/third/Aleem/Projects/Supar AR/Super AR v1.1b copy"
setenv IPHONEOS_DEPLOYMENT_TARGET 4.3
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++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk -L/Users/putitout/Library/Developer/Xcode/DerivedData/OpenCVClient-cuhuzttdckvnewgwrkccfthvfxux/Build/Products/Debug-iphoneos -Lbuild/lib/arm "-L/Volumes/third/Aleem/Projects/Supar AR/Super AR v1.1b copy/OpenCVClient" "-L/Volumes/third/Aleem/Projects/Supar AR/Super AR v1.1b copy/OpenCVClient/ARCommon" -F/Users/putitout/Library/Developer/Xcode/DerivedData/OpenCVClient-cuhuzttdckvnewgwrkccfthvfxux/Build/Products/Debug-iphoneos "-F/Volumes/third/Aleem/Projects/Supar AR/Super AR v1.1b copy" -filelist "/Users/putitout/Library/Developer/Xcode/DerivedData/OpenCVClient-cuhuzttdckvnewgwrkccfthvfxux/Build/Intermediates/OpenCVClient.build/Debug-iphoneos/OpenCVClient.build/Objects-normal/armv7/AR Color.LinkFileList" -dead_strip -miphoneos-version-min=4.3 -framework SystemConfiguration -framework CFNetwork -framework Security -framework AVFoundation -framework CoreMedia -framework OpenGLES -framework QuartzCore -framework CoreVideo -framework ImageIO -framework UIKit -framework Foundation -framework CoreGraphics -framework OpenCV -lz -lQCAR -o "/Users/putitout/Library/Developer/Xcode/DerivedData/OpenCVClient-cuhuzttdckvnewgwrkccfthvfxux/Build/Products/Debug-iphoneos/AR Color.app/AR Color"
Undefined symbols for architecture armv7:
"__Z25LogTimestampChunkInMethodPKciaa", referenced from:
-[EAGLView renderFrameQCAR] in EAGLView.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture armv7:
"__Z25LogTimestampChunkInMethodPKciaa", referenced from:
-[EAGLView renderFrameQCAR] in EAGLView.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
"__Z25LogTimestampChunkInMethodPKciaa", referenced from:
-[EAGLView renderFrameQCAR] in EAGLView.o
Symbol(s) not found for architecture armv7
Linker command failed with exit code 1 (use -v to see invocation)
errors end here
*/
I tired searching on google but couldn't get any help. If you guys have any idea how to resolve these please help me out from this headache problem.
Getting errors when using CodeTimestamps classes in my Qualcomm
Hi Aleem,
Just to be clear this is not a Vuforia issue.