(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-users+unsubscr...@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.