607011 / Qt-SESAM

c't SESAM Password Manager (Qt version)
http://607011.github.io/Qt-SESAM/
GNU General Public License v3.0
77 stars 29 forks source link

Unbundle cryptopp #131

Closed rapgro closed 6 years ago

rapgro commented 7 years ago

If 3rdparty/cryptopp gets deleted before make build, I get the following error. Is it possible to unbundle cryptopp to use the official Fedora package but it has no SHA?

make[1]: Entering directory '/home/builder/rpmbuild/BUILD/Qt-SESAM-2.0.6/libSESAM'
g++ -c -pipe -std=c++11 -O2 -g -fPIC -std=gnu++11 -w -D_REENTRANT -DCRYPTOPP_DISABLE_X86ASM -DCRYPTOPP_DISABLE_SSSE3 -DPLATFORM=64 -DQTSESAM_VERSION=\"2.0.6\" -DQT_NO_DEBUG -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -I3rdparty/cryptopp -I3rdparty/bigint -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtConcurrent -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o crypter.o crypter.cpp
crypter.cpp:22:10: fatal error: sha.h: No such file or directory
 #include "sha.h"
          ^~~~~~~
compilation terminated.

What version of cryptopp is used?

rapgro commented 6 years ago

Fixed:

rm -rv libSESAM/3rdparty/cryptopp
qmake INCLUDEPATH+=/usr/include/cryptopp Qt-SESAM.pro