Hi thanks for your project.
You can recomment that what do you need enviroment to build your project on windows.
I build on windows 10. Qt 5.15.0 and openssl 1.1.1 with config debug x86 on Vs 2019
and i get error:
**1>------ Build started: Project: pkcs11-gui, Configuration: Debug Win32 ------
1>Moc'ing inc\askpindialog.h...
1>Moc'ing inc\certificate.h...
1>Moc'ing inc\changepindialog.h...
1>Moc'ing inc\importp12dialog.h...
1>Moc'ing inc\key.h...
1>Moc'ing inc\keypairgeneratordialog.h...
1>Moc'ing inc\licensedialog.h...
1>Moc'ing inc\mainwindow.h...
1>Moc'ing inc\p11core.h...
1>Moc'ing inc\settingsdialog.h...
1>Moc'ing inc\smartcard.h...
1>Moc'ing inc\smartcardreader.h...
1>askpindialog.cpp
1>certificate.cpp
1>changepindialog.cpp
1>importp12dialog.cpp
1>key.cpp
1>keypairgeneratordialog.cpp
1>licensedialog.cpp
1>main.cpp
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\key.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\key.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\certificate.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\certificate.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\importp12dialog.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\importp12dialog.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,bool>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\key.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\key.cpp(47): message : see reference to class template instantiation 'neither::Either<QString,bool>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\main.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\main.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,QString>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\key.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\key.cpp(64): message : see reference to class template instantiation 'neither::Either<QString,QString>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\key.cpp(88,46): error C2027: use of undefined type 'bio_st'
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,bool>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\certificate.cpp)
1>C:\OpenSSL-Win32\include\openssl\ossl_typ.h(79): message : see declaration of 'bio_st'
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\certificate.cpp(46): message : see reference to class template instantiation 'neither::Either<QString,bool>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\key.cpp(89,33): error C2027: use of undefined type 'bio_st'
1>C:\OpenSSL-Win32\include\openssl\ossl_typ.h(79): message : see declaration of 'bio_st'
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\key.cpp(89,48): error C2660: 'memset': function does not take 2 arguments
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.25.28610\include\vcruntime_string.h(63,15): message : see declaration of 'memset' (compiling source file src\key.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\key.cpp(90,40): error C2027: use of undefined type 'bio_st'
1>C:\OpenSSL-Win32\include\openssl\ossl_typ.h(79): message : see declaration of 'bio_st'
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\key.cpp(90,51): error C2660: 'BIO_read': function does not take 2 arguments
1>C:\OpenSSL-Win32\include\openssl\bio.h(559,5): message : see declaration of 'BIO_read' (compiling source file src\key.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,QString>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\certificate.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\certificate.cpp(55): message : see reference to class template instantiation 'neither::Either<QString,QString>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\certificate.cpp(66,46): error C2027: use of undefined type 'bio_st'
1>C:\OpenSSL-Win32\include\openssl\ossl_typ.h(79): message : see declaration of 'bio_st'
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\certificate.cpp(67,33): error C2027: use of undefined type 'bio_st'
1>C:\OpenSSL-Win32\include\openssl\ossl_typ.h(79): message : see declaration of 'bio_st'
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\certificate.cpp(67,48): error C2660: 'memset': function does not take 2 arguments
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.25.28610\include\vcruntime_string.h(63,15): message : see declaration of 'memset' (compiling source file src\certificate.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\certificate.cpp(68,40): error C2027: use of undefined type 'bio_st'
1>C:\OpenSSL-Win32\include\openssl\ossl_typ.h(79): message : see declaration of 'bio_st'
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\certificate.cpp(68,51): error C2660: 'BIO_read': function does not take 2 arguments
1>C:\OpenSSL-Win32\include\openssl\bio.h(559,5): message : see declaration of 'BIO_read' (compiling source file src\certificate.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\changepindialog.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\changepindialog.cpp)
1>mainwindow.cpp
1>p11core.cpp
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,bool>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\changepindialog.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\changepindialog.cpp(41): message : see reference to class template instantiation 'neither::Either<QString,bool>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L2,int>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier
1> with
1> [
1> L2=QString
1> ] (compiling source file src\changepindialog.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\changepindialog.cpp(44): message : see reference to class template instantiation 'neither::Either<L2,int>' being compiled
1> with
1> [
1> L2=QString
1> ]
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<int,R2>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier
1> with
1> [
1> R2=int
1> ] (compiling source file src\changepindialog.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\changepindialog.cpp(47): message : see reference to class template instantiation 'neither::Either<int,R2>' being compiled
1> with
1> [
1> R2=int
1> ]
1>p11errors.cpp
1>settingsdialog.cpp
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\p11core.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\p11core.cpp)
1>smartcard.cpp
1>smartcardreader.cpp
1>util.cpp
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,bool>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\importp12dialog.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\importp12dialog.cpp(62): message : see reference to class template instantiation 'neither::Either<QString,bool>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,bool>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\p11core.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\p11core.cpp(26): message : see reference to class template instantiation 'neither::Either<QString,bool>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,QList<SmartCardReader *>>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\p11core.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\p11core.cpp(43): message : see reference to class template instantiation 'neither::Either<QString,QList<SmartCardReader *>>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\mainwindow.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\mainwindow.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\smartcard.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\smartcard.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\smartcardreader.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\smartcardreader.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,bool>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\smartcardreader.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\smartcardreader.cpp(123): message : see reference to class template instantiation 'neither::Either<QString,bool>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\mainwindow.cpp(30,10): fatal error C1083: Cannot open include file: 'raneservice.h': No such file or directory
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,QList<Key *>>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\smartcard.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\smartcard.cpp(48): message : see reference to class template instantiation 'neither::Either<QString,QList<Key *>>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,QList<Certificate *>>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\smartcard.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\smartcard.cpp(88): message : see reference to class template instantiation 'neither::Either<QString,QList<Certificate *>>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,bool>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\smartcard.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\smartcard.cpp(105): message : see reference to class template instantiation 'neither::Either<QString,bool>' being compiled
1>Done building project "pkcs11-gui.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
**
please help me.
Hi thanks for your project.
You can recomment that what do you need enviroment to build your project on windows.
I build on windows 10. Qt 5.15.0 and openssl 1.1.1 with config debug x86 on Vs 2019
and i get error:
**1>------ Build started: Project: pkcs11-gui, Configuration: Debug Win32 ------
1>Moc'ing inc\askpindialog.h...
1>Moc'ing inc\certificate.h...
1>Moc'ing inc\changepindialog.h...
1>Moc'ing inc\importp12dialog.h...
1>Moc'ing inc\key.h...
1>Moc'ing inc\keypairgeneratordialog.h...
1>Moc'ing inc\licensedialog.h...
1>Moc'ing inc\mainwindow.h...
1>Moc'ing inc\p11core.h...
1>Moc'ing inc\settingsdialog.h...
1>Moc'ing inc\smartcard.h...
1>Moc'ing inc\smartcardreader.h...
1>askpindialog.cpp
1>certificate.cpp
1>changepindialog.cpp
1>importp12dialog.cpp
1>key.cpp
1>keypairgeneratordialog.cpp
1>licensedialog.cpp
1>main.cpp
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\key.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\key.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\certificate.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\certificate.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\importp12dialog.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\importp12dialog.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,bool>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\key.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\key.cpp(47): message : see reference to class template instantiation 'neither::Either<QString,bool>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\main.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\main.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,QString>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\key.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\key.cpp(64): message : see reference to class template instantiation 'neither::Either<QString,QString>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\key.cpp(88,46): error C2027: use of undefined type 'bio_st'
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,bool>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\certificate.cpp)
1>C:\OpenSSL-Win32\include\openssl\ossl_typ.h(79): message : see declaration of 'bio_st'
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\certificate.cpp(46): message : see reference to class template instantiation 'neither::Either<QString,bool>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\key.cpp(89,33): error C2027: use of undefined type 'bio_st'
1>C:\OpenSSL-Win32\include\openssl\ossl_typ.h(79): message : see declaration of 'bio_st'
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\key.cpp(89,48): error C2660: 'memset': function does not take 2 arguments
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.25.28610\include\vcruntime_string.h(63,15): message : see declaration of 'memset' (compiling source file src\key.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\key.cpp(90,40): error C2027: use of undefined type 'bio_st'
1>C:\OpenSSL-Win32\include\openssl\ossl_typ.h(79): message : see declaration of 'bio_st'
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\key.cpp(90,51): error C2660: 'BIO_read': function does not take 2 arguments
1>C:\OpenSSL-Win32\include\openssl\bio.h(559,5): message : see declaration of 'BIO_read' (compiling source file src\key.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,QString>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\certificate.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\certificate.cpp(55): message : see reference to class template instantiation 'neither::Either<QString,QString>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\certificate.cpp(66,46): error C2027: use of undefined type 'bio_st'
1>C:\OpenSSL-Win32\include\openssl\ossl_typ.h(79): message : see declaration of 'bio_st'
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\certificate.cpp(67,33): error C2027: use of undefined type 'bio_st'
1>C:\OpenSSL-Win32\include\openssl\ossl_typ.h(79): message : see declaration of 'bio_st'
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\certificate.cpp(67,48): error C2660: 'memset': function does not take 2 arguments
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.25.28610\include\vcruntime_string.h(63,15): message : see declaration of 'memset' (compiling source file src\certificate.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\certificate.cpp(68,40): error C2027: use of undefined type 'bio_st'
1>C:\OpenSSL-Win32\include\openssl\ossl_typ.h(79): message : see declaration of 'bio_st'
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\certificate.cpp(68,51): error C2660: 'BIO_read': function does not take 2 arguments
1>C:\OpenSSL-Win32\include\openssl\bio.h(559,5): message : see declaration of 'BIO_read' (compiling source file src\certificate.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\changepindialog.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\changepindialog.cpp)
1>mainwindow.cpp
1>p11core.cpp
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,bool>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\changepindialog.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\changepindialog.cpp(41): message : see reference to class template instantiation 'neither::Either<QString,bool>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L2,int>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier
1> with
1> [
1> L2=QString
1> ] (compiling source file src\changepindialog.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\changepindialog.cpp(44): message : see reference to class template instantiation 'neither::Either<L2,int>' being compiled
1> with
1> [
1> L2=QString
1> ]
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<int,R2>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier
1> with
1> [
1> R2=int
1> ] (compiling source file src\changepindialog.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\changepindialog.cpp(47): message : see reference to class template instantiation 'neither::Either<int,R2>' being compiled
1> with
1> [
1> R2=int
1> ]
1>p11errors.cpp
1>settingsdialog.cpp
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\p11core.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\p11core.cpp)
1>smartcard.cpp
1>smartcardreader.cpp
1>util.cpp
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,bool>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\importp12dialog.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\importp12dialog.cpp(62): message : see reference to class template instantiation 'neither::Either<QString,bool>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,bool>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\p11core.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\p11core.cpp(26): message : see reference to class template instantiation 'neither::Either<QString,bool>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,QList<SmartCardReader *>>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\p11core.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\p11core.cpp(43): message : see reference to class template instantiation 'neither::Either<QString,QList<SmartCardReader *>>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\mainwindow.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\mainwindow.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\smartcard.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\smartcard.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<L,R>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\smartcardreader.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(241): message : see reference to class template instantiation 'neither::Either<L,R>' being compiled (compiling source file src\smartcardreader.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,bool>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\smartcardreader.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\smartcardreader.cpp(123): message : see reference to class template instantiation 'neither::Either<QString,bool>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\mainwindow.cpp(30,10): fatal error C1083: Cannot open include file: 'raneservice.h': No such file or directory
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,QList<Key *>>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\smartcard.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\smartcard.cpp(48): message : see reference to class template instantiation 'neither::Either<QString,QList<Key *>>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,QList<Certificate *>>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\smartcard.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\smartcard.cpp(88): message : see reference to class template instantiation 'neither::Either<QString,QList<Certificate *>>' being compiled
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\inc\neither\either.hpp(149,1): error C2560: 'common_type<L2,R2>::type neither::Either<QString,bool>::join(void) &&': cannot overload a member function with ref-qualifier with a member function without ref-qualifier (compiling source file src\smartcard.cpp)
1>E:\1.Training\smartcard\pkcs11-gui\pkcs11-gui\src\smartcard.cpp(105): message : see reference to class template instantiation 'neither::Either<QString,bool>' being compiled
1>Done building project "pkcs11-gui.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
**
please help me.