Thanks for your help! Resolved, the issue was in my Makefile flags.

On Friday, September 17, 2021 at 3:11:53 PM UTC-7 Mouse wrote:

> 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 <sa...@berkeley.edu> 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 <sa...@berkeley.edu> 
>>> 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 cryptopp-user...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/cryptopp-users/436b6393-8bb5-4b5e-b50c-1bb71da7aa24n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/cryptopp-users/436b6393-8bb5-4b5e-b50c-1bb71da7aa24n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>

-- 
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 cryptopp-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/cryptopp-users/47a1a5be-9275-4bd2-b669-7d6bb4de22afn%40googlegroups.com.

Reply via email to