1) sudo dnf install cryptopp 2) g++ test.cpp -o test -lcryptopp
BTW. The search image is on the bottom of this post. On Monday, 25 September 2017 20:24:12 UTC+2, Jeffrey Walton wrote: > > > > On Monday, September 25, 2017 at 2:18:12 PM UTC-4, Richard Závodný wrote: >> >> So... I uninstalled, delete all files from my previous attempts and then >> installed cryptopp package using dnf. >> > > What is the exact command you used to install the library using dnf? > > >> Then i tried compile my program and getting error: *fatal error: >> cryptopp/aes.h: No such file or directory #include <cryptopp/aes.h>*, >> > > What is the exact command you used to compile (and maybe link) the library? > > >> then make search in my system files and found two files (libcryptopp.so.6 >> and libcryptopp.so.6.0.0 at /usr/lib64). >> > > Crypto++ 6.0 has not been released yet. Something is not right. > > It looks like Fedora ships with an SONAME that includes 5.6.3. Did you > delete the system's Crypto++ and keep a copy that you tried to build and > install? Also see > http://pkgs.fedoraproject.org/cgit/rpms/cryptopp.git/tree/cryptopp.pc?h=f27 > . > > Jeff > <https://lh3.googleusercontent.com/-WxATIRaqyZk/WclN0SgSzpI/AAAAAAAAAhY/Kf8ndF08yycY9dwju9MGoNj1J7g_pyqLQCLcBGAs/s1600/Screenshot%2Bfrom%2B2017-09-25%2B20-40-06.png> -- -- 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.
