Hi Daniel, (sorry to everyone for top-posting all the time and not being able to quote correctly, I have to use the Gmail Android App at the moment, which won't let me do that)
I think libcryptopp.a is the one you want as a static library. The MinGW linker accepts both lib*.a and *.lib files. IIRC, I also successfully used MinGW-generated *.a files with the MSVC linker once. But mixing both is probably a bad idea because of the different runtimes used. Marcel Am 31.07.2017 7:17 vorm. schrieb "Daniel Karcz" <daniel.ka...@gmail.com>: Hello Jeffrey, Yes I would like to get a Windows static library instead of DLL. What exactly I had to write into bash to get static library. I also try with command 'make cryptopp.dll' and like you write before, I think some files are missing because after some compilations make is giving me this message: 'make: *** No rule to make target 'poly1305.export.o', needed by 'cryptopp.dll'. Stop.' Daniel On Sunday, 30 July 2017 18:24:51 UTC+2, Jeffrey Walton wrote: > > > > On Saturday, July 29, 2017 at 2:22:46 PM UTC-4, Daniel Karcz wrote: >> >> ... >> Now when I'm in folder with crypto++ files, I'm using like you write >> before just 'make' command. After few minutes process is done, but I don't >> have files with *.lib or *.dll extensions in folder. I see libcryptopp.a >> file - I think this is a static library for unix systems, but I would like >> to use library under Windows. >> > > I believe you need to 'make cryptopp.dll'. Also see > https://github.com/weidai11/cryptopp/blob/master/GNUmakefile#L725 . > > _IF_ you experience missing source files, then let us know. DLLSRCS in the > Makefile may not be up to date. We can check-in a change quickly, > > But be careful of DLLs on Windows. Usually, you want the static archive. > Later, you wrap it in your DLL with your API if that's want you want to do. > > The FIPS DLL almost always causes problems. Avoid it if possible. Also see > https://www.cryptopp.com/wiki/FIPS_DLL and https://www.cryptopp.com/wiki/ > Visual_Studio. > > Jeff > -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com . 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 cryptopp-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com. 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 cryptopp-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.