compiling qca on windows with Qt 5.2.1 - error

Hi Experts,

I downloaded Qt 5.2.1 and am trying to compile the code I get from here:  
QCA 2.0.3

I went into the Qt folder in startup menu | 5.2.1 | MinGW 4.8 (32-bit) | Qt 5.2.1 for Desktop (MinGW 4.8 32 bit) (command line)

I run configure, followed by mingw32-make I get errors with some set function in SecureVector:

Can anyone help?


Setting up environment for Qt usage...

C:\QtProjects\qca-2.0.3>configure
Configuring Qt Cryptographic Architecture (QCA) ...
Verifying Qt 4 build environment ... ok
Checking for Qt >= 4.2 ... yes
Checking for certstore ... using Windows built-in

Good, your configure finished.  Now run mingw32-make.

C:\QtProjects\qca-2.0.3>mingw32-make
cd src/ && ( test -e Makefile || C:/Qt/5.2.1/mingw48_32/bin/qmake.exe C:/QtProje
cts/qca-2.0.3/src/src.pro -o Makefile ) && mingw32-make -f Makefile
mingw32-make[1]: Entering directory 'c:/QtProjects/qca-2.0.3/src'
c:/Qt/Tools/mingw48_32/bin/mingw32-make -f Makefile.Release
mingw32-make[2]: Entering directory 'c:/QtProjects/qca-2.0.3/src'
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/util.o botantools/bo
tan/util.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/charset.o botantools
/botan/charset.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/parsing.o botantools
/botan/parsing.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/exceptn.o botantools
/botan/exceptn.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/mutex.o botantools/b
otan/mutex.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/mux_qt.o botantools/
botan/mux_qt/mux_qt.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/defalloc.o botantool
s/botan/defalloc.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/mem_pool.o botantool
s/botan/mem_pool.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/libstate.o botantool
s/botan/libstate.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/modules.o botantools
/botan/modules.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/mp_comba.o botantool
s/botan/mp_comba.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/mp_mul.o botantools/
botan/mp_mul.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/mp_mulop.o botantool
s/botan/mp_mulop.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/mp_shift.o botantool
s/botan/mp_shift.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/mp_asm.o botantools/
botan/mp_asm.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/mp_misc.o botantools
/botan/mp_misc.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/divide.o botantools/
botan/divide.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/bit_ops.o botantools
/botan/bit_ops.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/big_base.o botantool
s/botan/big_base.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/big_code.o botantool
s/botan/big_code.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/big_io.o botantools/
botan/big_io.cpp
g++ -c -pipe -fno-keep-inline-dllexport -O2 -frtti -Wall -Wextra -fexceptions -m
threads -DUNICODE -DQCA_MAKEDLL -DBOTAN_TYPES_QT -DBOTAN_TOOLS_ONLY -DBOTAN_FIX_
GDB -DBOTAN_MINIMAL_BIGINT -DBOTAN_MP_WORD_BITS=32 -DBOTAN_KARAT_MUL_THRESHOLD=1
2 -DBOTAN_KARAT_SQR_THRESHOLD=12 -DBOTAN_EXT_MUTEX_QT -DQT_NO_DEBUG -DQT_CORE_LI
B -I. -I'../include/QtCrypto' -I'.' -I'botantools/botan' -I'../../../Qt/5.2.1/mi
ngw48_32/include' -I'../../../Qt/5.2.1/mingw48_32/include/QtCore' -I'release' -I
'../../../Qt/5.2.1/mingw48_32/mkspecs/win32-g++' -o release/big_ops2.o botantool
s/botan/big_ops2.cpp
In file included from botantools/botan/botan/bigint.h:38:0,
                 from botantools/botan/big_ops2.cpp:34:
botantools/botan/botan/secmem.h: In instantiation of 'QCA::Botan::SecureVector<T
>::SecureVector(const T*, QCA::Botan::u32bit) [with T = unsigned int; QCA::Botan
::u32bit = unsigned int]':
botantools/botan/big_ops2.cpp:170:40:   required from here
botantools/botan/botan/secmem.h:217:50: error: 'set' was not declared in this sc
ope, and no declarations were found by argument-dependent lookup at the point of
 instantiation [-fpermissive]
          { MemoryRegion<T>::init(true); set(in, n); }
                                                  ^
botantools/botan/botan/secmem.h:217:50: note: declarations in dependent base 'QC
A::Botan::MemoryRegion<unsigned int>' are not found by unqualified lookup
botantools/botan/botan/secmem.h:217:50: note: use 'this->set' instead
Makefile.Release:3538: recipe for target 'release/big_ops2.o' failed
mingw32-make[2]: *** [release/big_ops2.o] Error 1
mingw32-make[2]: Leaving directory 'c:/QtProjects/qca-2.0.3/src'
Makefile:34: recipe for target 'release' failed
mingw32-make[1]: *** [release] Error 2
mingw32-make[1]: Leaving directory 'c:/QtProjects/qca-2.0.3/src'
makefile:41: recipe for target 'sub-src-make_first' failed
mingw32-make: *** [sub-src-make_first] Error 2

C:\QtProjects\qca-2.0.3>
LVL 1
threadyAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
sarabandeConnect With a Mentor Commented:
 { MemoryRegion<T>::init(true); set(in, n); }

Open in new window

if the error points to the code above, the compiler suggested to use 'this->set' instead of 'set'.

there are a few possibilities why 'set' could be ambiguous for a specific compiler. one is that clause 'using namespace std;' is active and set would point to std::set because of that. another guess is that the 'set'  member function is a template function as well and that the T type cannot be deduced from the arguments (for example if the argument is int and the T is unsigned int).

you might post the header where 'QCA::Botan::SecureVector was defined if you could not solve the issue.

Sara
0
 
threadyAuthor Commented:
Thanks Sara!  I did get through that with your suggestion, but now I'm getting a bunch of other errors.  Is it because MinGW is not what I should use?  I'm not very familiar with it, but should I be?   :)
0
 
sarabandeCommented:
the errors shown in your post are strange. it seems to me that QT was not properly integrated to your mingw environment. you might to consider to uninstall QT and repeat the setup using as much help as available on the web. I used QT in visual studio what could be an alternative (look for a visual studio project if the sources you try to compile are from a foreign project).

Sara
0
 
threadyAuthor Commented:
Thank you again Sara :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.