Solved

compiling qca on windows with Qt 5.2.1 - error

Posted on 2014-02-16
4
1,173 Views
Last Modified: 2014-02-24
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>
0
Comment
Question by:thready
  • 2
  • 2
4 Comments
 
LVL 33

Accepted Solution

by:
sarabande earned 500 total points
ID: 39865186
 { 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
 
LVL 1

Author Closing Comment

by:thready
ID: 39875788
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
 
LVL 33

Expert Comment

by:sarabande
ID: 39876245
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
 
LVL 1

Author Comment

by:thready
ID: 39884528
Thank you again Sara :)
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you thought ransomware was bad, think again! Doxware has the potential to be even more damaging.
The related questions "How do I recover the passwords for my Q-See DVR" and "How can I reset my Q-See DVR to eliminate a password" are seen several times a week.  Here we discuss the grim reality of the situation.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question