-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined symbols #56
Comments
Make sure that Utilities.m from the ProtocolBuffers run time is included On Wed, Aug 26, 2015 at 12:21 PM, albright888 notifications@github.com
::: E.B. Smith |
The ProtcolBuffers.xcodeproject seems to have the Utilities.m is included in the ProtocolBuffers.framework build settings, so if I include this framework in my project, I should have that correct? |
Huh. If 'nm' says it's there, it is. It seems obvious, but is the linker search path set correctly? ::: E.B. Smith On Wed, Aug 26, 2015 at 2:25 PM, albright888 notifications@github.com
|
OK, I think I found the smoking gun. I tried a completely clean iOS project, brought in my generated proto objective-c classes, and it was working fine. |
When that option is set I think it is using C++ name mangling on the ::: E.B. Smith On Fri, Aug 28, 2015 at 8:57 AM, albright888 notifications@github.com
|
Glad you've resolved this. ::: E.B. Smith On Fri, Aug 28, 2015 at 9:01 AM, Edward Smith smith.ed.b@gmail.com wrote:
|
Yes, thanks for your help - and nice work on this package! |
It seems no matter what I try, I cannot get around a link problem in my project:
Undefined symbols for architecture arm64:
"computeDoubleSize(int, double)", referenced from:
-[SCFrameScores serializedSize] in Asap.pb.o
"computeFloatSize(int, float)", referenced from:
It is the same for all architectures I try to build for : i386 or x86_64 or arm64
It seems that my project is not finding the protobuf library. I have tried:
I imagine it is some simple change, but I can't seem to find it.
Thanks for your help!
The text was updated successfully, but these errors were encountered: