Reputation: 1689
I am stuck into errors when using codeTimestamp classes to checkout speed of my code. But these classes are working on any other project. I don't know what happen to this. Errors are: 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)
Thanks in advance for help, have a great day.
Upvotes: 2
Views: 1508
Reputation: 41642
You know you have to set the -fno-obj-arc flag on that file, right?
Look in your EAGLView source file, and find where you use LogTimestampStartChunk. Is that the only file you added LogTimestampStartChunk to? If so then for whatever reason, the CodeTimeStamp.o is not being added to your Target. If you do have the LogTimestampStartChunk used in other files, comment it out of EAGLView and see if you can get it to build.
Ultimately, if you cannot use this macro in even one file and get the project to build, then you never included the CodeTimeStamp.o file. If you can get it to build otherwise, then its something about EAGLView.
Upvotes: 1