Go to project settings/preferences/configuration (whatever the correct term 
is), select “Build Settings”, and in “Search Paths” set where you installed 
Crypto++ headers (“Header Search Paths”) and library (“Library Search Paths”). 
Then in “Linking” find “Other Linker Flags” and add “-lcryptopp”. I’ve just 
tested this approach, and it worked.

Perhaps it would be nice if we could build CryptoPP on Mac as a framework. 
Off-hand I don’t know how much work it’s likely to be (and therefore whether 
it’s worth it).


> On Sep 15, 2016, at 17:56 , Adil Khan <[email protected]> wrote:
> 
> 
> 
> On Thursday, September 15, 2016 at 1:50:49 AM UTC-7, Jeffrey Walton wrote:
> 
> 
> On Thursday, September 15, 2016 at 4:46:19 AM UTC-4, Adil Khan wrote:
> I was able to set up the Crypto++ library in Xcode using the instructions on 
> https://www.cryptopp.com/wiki/IOS_(Xcode) 
> <https://www.cryptopp.com/wiki/IOS_(Xcode)>
> 
> However, I am not able to figure out a way to integrate this library into 
> another C++ project. I am not able to find the option to add this library 
> under Target Dependencies/Linked Libraries.
> 
> Can anyone guide me on this?
> 
> 
> Yeah, Apple does not make it as easy as it should be. 
> http://www.google.com/search?q=xcode+how+to+add+third+party+library 
> <http://www.google.com/search?q=xcode+how+to+add+third+party+library>
> 
> Jeff 
> 
> That didn't help. Any alternatives that you could suggest? I've been 
> struggling on it for a week now. 
> 
> -- 
> -- 
> You received this message because you are subscribed to the "Crypto++ Users" 
> Google Group.
> To unsubscribe, send an email to [email protected].
> More information about Crypto++ and this group is available at 
> http://www.cryptopp.com <http://www.cryptopp.com/>.
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Crypto++ Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

--
Mobile Mouse      [email protected]




-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to