Re: Linking issue on MacOS Catalina (using XCode)

Uri Blumenthal <[email protected]> Fri, 17 Sep 2021 18:11:50 -0400
Newsgroups gmane.comp.encryption.cryptopp
Message-ID <[email protected]>
Sorry, I've no idea what your makefile looks like, or how to convey the working flags to it. 

> On Sep 17, 2021, at 16:39, Samyukta Yagati <[email protected]> wrote:
> 
> (I currently have -l:libcryptopp.a in my LDFLAGS)
> 
>> On Friday, September 17, 2021 at 1:38:31 PM UTC-7 Samyukta Yagati wrote:
>> Ah I see -- I'm using make with a custom makefile to build the source files in my project, is there a way to translate this to flags in the makefile?
>> 
>>> On Thursday, September 16, 2021 at 6:31:25 PM UTC-7 Mouse wrote:
>>> Say, you have a file that includes Crypto++ headers and needs linking with Crypto++ library. And Crypto++ is installed into /usr/local. 
>>> 
>>> Then, the following would be sufficient: 
>>> 
>>> clang++ -o my_binary -I/usr/local/include my_source.cpp -L /usr/local/lib -lcryptopp -lm 
>>> 
>>> (I'm not sure if "-lm" is still necessary) 
>>> 
>>> 
>>> > On Sep 16, 2021, at 19:28, Samyukta Yagati <[email protected]> wrote: 
>>> > 
> 
> -- 
> 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].
> To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/436b6393-8bb5-4b5e-b50c-1bb71da7aa24n%40googlegroups.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].
To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/15C7DC99-680F-49DA-891A-5D60B9B904C2%40gmail.com.
smime.p7s (application/pkcs7-signature, 2.8 KB) - not displayed