Re: md5 for Cocoa / Linker problems
Re: md5 for Cocoa / Linker problems
- Subject: Re: md5 for Cocoa / Linker problems
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 1 Jul 2004 22:47:56 -0600
On Jul 1, 2004, at 7:08 PM, Michael Becker wrote:
Basically I am simply wanting to retrieve a string's md5-value. I have
searched the list for md5 and found that people keep suggesting the
openssl/md5.h library. However, when I include (or rather import) it
in my file and set the projects linker option to -lcrypto (I do this
in the project's info dialog, "General" -> "Linking" -> "Other Linker
flags"), I get about 1,400 warnings, mainly about double defines etc.
Therefore my questions:
a) What am I doing wrong?
Your project might be double-linking the target to the library. If you
included the library in your project list, then you must not include a
separate linker command to link to the library, since Xcode will link
the target to the libraries enabled in the target's list.
I would recommend removing the linker flag, and if you haven't done so
already, add libcrypto to the target. That has worked many times for
me.
Nick Zitzmann
<
http://www.chronosnet.com/>
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.