[ 65%] Building CXX object src/CMakeFiles/WizNote.dir/sync/WizKMSync.cpp.o
In file included from /home/admz/build/WizQTClient-2.5.6/src/sync/WizKMSync.cpp:1:0:
/home/admz/build/WizQTClient-2.5.6/src/sync/WizKMSync.h:100:12: error: field 'm_mutex' has incomplete type 'QMutex'
QMutex m_mutex;
^~~
In file included from /opt/qt58/include/QtCore/QWaitCondition:1:0,
from /home/admz/build/WizQTClient-2.5.6/src/sync/WizKMSync.h:6,
from /home/admz/build/WizQTClient-2.5.6/src/sync/WizKMSync.cpp:1:
/opt/qt58/include/QtCore/qwaitcondition.h:53:7: note: forward declaration of 'class QMutex'
class QMutex;
^~
src/CMakeFiles/WizNote.dir/build.make:1233: recipe for target 'src/CMakeFiles/WizNote.dir/sync/WizKMSync.cpp.o' failed
make[2]: [src/CMakeFiles/WizNote.dir/sync/WizKMSync.cpp.o] Error 1
make[1]: [src/CMakeFiles/WizNote.dir/all] Error 2
make: *** [all] Error 2
CMakeFiles/Makefile2:254: recipe for target 'src/CMakeFiles/WizNote.dir/all' failed
Makefile:129: recipe for target 'all' failed
17:13:32: The process "/usr/bin/cmake" exited with code 2.
Error while building/deploying project Project (kit: Desktop)
When executing step "CMake Build"
Also, there are a lot of warnings as below:
In file included from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/filters.h:11:0,
from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/pubkey.h:36,
from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/rsa.h:9,
from /home/admz/build/WizQTClient-2.5.6/src/share/WizEnc.h:5,
from /home/admz/build/WizQTClient-2.5.6/src/share/WizZiwReader.cpp:7:
/home/admz/build/WizQTClient-2.5.6/lib/cryptopp/algparam.h: In destructor 'virtual CryptoPP::AlgorithmParametersBase::~AlgorithmParametersBase()':
/home/admz/build/WizQTClient-2.5.6/lib/cryptopp/algparam.h:277:34: warning: throw will always call terminate() [-Wterminate]
throw ParameterNotUsed(m_name);
^
/home/admz/build/WizQTClient-2.5.6/lib/cryptopp/algparam.h:277:34: note: in C++11 destructors default to noexcept
In file included from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/rsa.h:9:0,
from /home/admz/build/WizQTClient-2.5.6/src/share/WizEnc.h:5,
from /home/admz/build/WizQTClient-2.5.6/src/share/WizZiwReader.cpp:7:
/home/admz/build/WizQTClient-2.5.6/lib/cryptopp/pubkey.h: In member function 'CryptoPP::PK_MessageAccumulator* CryptoPP::DL_SignerImpl::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) const':
/home/admz/build/WizQTClient-2.5.6/lib/cryptopp/pubkey.h:1343:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr p(new PK_MessageAccumulatorImpl);
^~~~
In file included from /opt/gcc-7.1.1/include/c++/7.1.1/memory:80:0,
from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/stdcpp.h:14,
from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/cryptlib.h:83,
from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/seckey.h:8,
from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/rijndael.h:7,
from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/aes.h:4,
from /home/admz/build/WizQTClient-2.5.6/src/share/WizEnc.h:4,
from /home/admz/build/WizQTClient-2.5.6/src/share/WizZiwReader.cpp:7:
/opt/gcc-7.1.1/include/c++/7.1.1/bits/unique_ptr.h:51:28: note: declared here
template class auto_ptr;
^~~~
[
65%] Building CXX object src/CMakeFiles/WizNote.dir/sync/WizKMSync.cpp.o In file included from /home/admz/build/WizQTClient-2.5.6/src/sync/WizKMSync.cpp:1:0: /home/admz/build/WizQTClient-2.5.6/src/sync/WizKMSync.h:100:12: error: field 'm_mutex' has incomplete type 'QMutex' QMutex m_mutex; ^~~ In file included from /opt/qt58/include/QtCore/QWaitCondition:1:0, from /home/admz/build/WizQTClient-2.5.6/src/sync/WizKMSync.h:6, from /home/admz/build/WizQTClient-2.5.6/src/sync/WizKMSync.cpp:1: /opt/qt58/include/QtCore/qwaitcondition.h:53:7: note: forward declaration of 'class QMutex' class QMutex; ^~src/CMakeFiles/WizNote.dir/build.make:1233: recipe for target 'src/CMakeFiles/WizNote.dir/sync/WizKMSync.cpp.o' failed make[2]: [src/CMakeFiles/WizNote.dir/sync/WizKMSync.cpp.o] Error 1 make[1]: [src/CMakeFiles/WizNote.dir/all] Error 2 make: *** [all] Error 2 CMakeFiles/Makefile2:254: recipe for target 'src/CMakeFiles/WizNote.dir/all' failed Makefile:129: recipe for target 'all' failed 17:13:32: The process "/usr/bin/cmake" exited with code 2. Error while building/deploying project Project (kit: Desktop) When executing step "CMake Build"Also, there are a lot of warnings as below:
In file included from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/filters.h:11:0, from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/pubkey.h:36, from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/rsa.h:9, from /home/admz/build/WizQTClient-2.5.6/src/share/WizEnc.h:5, from /home/admz/build/WizQTClient-2.5.6/src/share/WizZiwReader.cpp:7: /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/algparam.h: In destructor 'virtual CryptoPP::AlgorithmParametersBase::~AlgorithmParametersBase()': /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/algparam.h:277:34: warning: throw will always call terminate() [-Wterminate] throw ParameterNotUsed(m_name); ^ /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/algparam.h:277:34: note: in C++11 destructors default to noexcept In file included from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/rsa.h:9:0, from /home/admz/build/WizQTClient-2.5.6/src/share/WizEnc.h:5, from /home/admz/build/WizQTClient-2.5.6/src/share/WizZiwReader.cpp:7: /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/pubkey.h: In member function 'CryptoPP::PK_MessageAccumulator* CryptoPP::DL_SignerImpl::NewSignatureAccumulator(CryptoPP::RandomNumberGenerator&) const':
/home/admz/build/WizQTClient-2.5.6/lib/cryptopp/pubkey.h:1343:8: warning: 'template class std::auto_ptr' is deprecated [-Wdeprecated-declarations]
std::auto_ptr p(new PK_MessageAccumulatorImpl);
^ class
~~~ In file included from /opt/gcc-7.1.1/include/c++/7.1.1/memory:80:0, from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/stdcpp.h:14, from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/cryptlib.h:83, from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/seckey.h:8, from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/rijndael.h:7, from /home/admz/build/WizQTClient-2.5.6/lib/cryptopp/aes.h:4, from /home/admz/build/WizQTClient-2.5.6/src/share/WizEnc.h:4, from /home/admz/build/WizQTClient-2.5.6/src/share/WizZiwReader.cpp:7: /opt/gcc-7.1.1/include/c++/7.1.1/bits/unique_ptr.h:51:28: note: declared here templateauto_ptr;
^~~~Previous version of 2.5.6 was compiled OK.