[ITK-users] Problem compiling ITK with windows 7
Dženan Zukić
dzenanz at gmail.com
Mon Oct 16 13:17:08 EDT 2017
Hi Marc,
another note: you have chosen an exotic compiler/OS combination. Very few
people use, maintain and test them, which is indicated by test failures on
the dashboard's exotic
<https://open.cdash.org/index.php?project=Insight#!#Expected_Nightly_Exotic>
section.
If you can't use Visual Studio (the main compiler for Windows), you might
have better luck using clang <http://releases.llvm.org/download.html>.
Regards,
Dženan
On Mon, Oct 16, 2017 at 1:06 PM, Matt McCormick <matt.mccormick at kitware.com>
wrote:
> Hi Marc,
>
> Thanks for the update.
>
> Could you please try ITK Git master? [1]
>
> Thanks,
> Matt
>
> [1] https://github.com/InsightSoftwareConsortium/ITK/
> blob/master/Documentation/Download.md
>
>
>
> On Mon, Oct 16, 2017 at 12:21 PM, Marc michel Rohe
> <marc-michel.rohe at inria.fr> wrote:
> > Hello Matt,
> >
> > thanks for your answer, so I tried with the latest version and here is
> the error I get:
> >
> > D:\Libraries\InsightToolkit-4.12.2\build>mingw32-make
> > Scanning dependencies of target ITKData
> > [ 0%] Built target ITKData
> > Scanning dependencies of target itkdouble-conversion
> > [ 0%] Building CXX object Modules/ThirdParty/
> DoubleConversion/src/double-conver
> > sion/CMakeFiles/itkdouble-conversion.dir/bignum.cc.obj
> > [ 0%] Building CXX object Modules/ThirdParty/
> DoubleConversion/src/double-conver
> > sion/CMakeFiles/itkdouble-conversion.dir/bignum-dtoa.cc.obj
> > [ 0%] Building CXX object Modules/ThirdParty/
> DoubleConversion/src/double-conver
> > sion/CMakeFiles/itkdouble-conversion.dir/cached-powers.cc.obj
> > [ 0%] Building CXX object Modules/ThirdParty/
> DoubleConversion/src/double-conver
> > sion/CMakeFiles/itkdouble-conversion.dir/diy-fp.cc.obj
> > [ 0%] Building CXX object Modules/ThirdParty/
> DoubleConversion/src/double-conver
> > sion/CMakeFiles/itkdouble-conversion.dir/double-conversion.cc.obj
> > [ 0%] Building CXX object Modules/ThirdParty/
> DoubleConversion/src/double-conver
> > sion/CMakeFiles/itkdouble-conversion.dir/fast-dtoa.cc.obj
> > [ 0%] Building CXX object Modules/ThirdParty/
> DoubleConversion/src/double-conver
> > sion/CMakeFiles/itkdouble-conversion.dir/fixed-dtoa.cc.obj
> > [ 0%] Building CXX object Modules/ThirdParty/
> DoubleConversion/src/double-conver
> > sion/CMakeFiles/itkdouble-conversion.dir/strtod.cc.obj
> > [ 0%] Linking CXX shared library ..\..\..\..\..\bin\
> libitkdouble-conversion-4.1
> > 2.dll
> > [ 0%] Built target itkdouble-conversion
> > Scanning dependencies of target ITKDoubleConversion-all
> > [ 0%] Built target ITKDoubleConversion-all
> > Scanning dependencies of target ITKKWIML-all
> > [ 0%] Built target ITKKWIML-all
> > Scanning dependencies of target itksys
> > [ 0%] Building C object Modules/ThirdParty/KWSys/src/
> KWSys/CMakeFiles/itksys.di
> > r/ProcessWin32.c.obj
> > [ 0%] Building C object Modules/ThirdParty/KWSys/src/
> KWSys/CMakeFiles/itksys.di
> > r/Base64.c.obj
> > [ 0%] Building C object Modules/ThirdParty/KWSys/src/
> KWSys/CMakeFiles/itksys.di
> > r/EncodingC.c.obj
> > [ 0%] Building C object Modules/ThirdParty/KWSys/src/
> KWSys/CMakeFiles/itksys.di
> > r/MD5.c.obj
> > [ 0%] Building C object Modules/ThirdParty/KWSys/src/
> KWSys/CMakeFiles/itksys.di
> > r/System.c.obj
> > [ 0%] Building CXX object Modules/ThirdParty/KWSys/src/
> KWSys/CMakeFiles/itksys.
> > dir/Directory.cxx.obj
> > [ 0%] Building CXX object Modules/ThirdParty/KWSys/src/
> KWSys/CMakeFiles/itksys.
> > dir/DynamicLoader.cxx.obj
> > [ 1%] Building CXX object Modules/ThirdParty/KWSys/src/
> KWSys/CMakeFiles/itksys.
> > dir/EncodingCXX.cxx.obj
> > [ 1%] Building CXX object Modules/ThirdParty/KWSys/src/
> KWSys/CMakeFiles/itksys.
> > dir/Glob.cxx.obj
> > [ 1%] Building CXX object Modules/ThirdParty/KWSys/src/
> KWSys/CMakeFiles/itksys.
> > dir/RegularExpression.cxx.obj
> > [ 1%] Building CXX object Modules/ThirdParty/KWSys/src/
> KWSys/CMakeFiles/itksys.
> > dir/SystemTools.cxx.obj
> > D:\Libraries\InsightToolkit-4.12.2\src\Modules\ThirdParty\
> KWSys\src\KWSys\System
> > Tools.cxx: In static member function 'static int
> itksys::SystemTools::Stat(const
> > string&, itksys::SystemTools::Stat_t*)':
> > D:\Libraries\InsightToolkit-4.12.2\src\Modules\ThirdParty\
> KWSys\src\KWSys\System
> > Tools.cxx:1283:37: error: cannot convert 'itksys::SystemTools::Stat_t*
> {aka itks
> > ys::_stat64*}' to '__stat64*' for argument '2' to 'int _wstat64(const
> wchar_t*,
> > __stat64*)'
> > return _wstat64(wpath.c_str(), buf);
> > ^
> > In file included from D:\Libraries\InsightToolkit-4.
> 12.2\src\Modules\ThirdParty\
> > KWSys\src\KWSys\SystemTools.cxx:20:0:
> > D:/Libraries/InsightToolkit-4.12.2/build/Modules/ThirdParty/
> KWSys/src/itksys/Sys
> > temTools.hxx:331:18: note: class type 'itksys::SystemTools::Stat_t {aka
> itksys::
> > _stat64}' is incomplete
> > typedef struct _stat64 Stat_t;
> > ^~~~~~~
> > Modules\ThirdParty\KWSys\src\KWSys\CMakeFiles\itksys.dir\build.make:312:
> recipe
> > for target 'Modules/ThirdParty/KWSys/src/KWSys/CMakeFiles/itksys.dir/
> SystemTools
> > .cxx.obj' failed
> > mingw32-make[2]: *** [Modules/ThirdParty/KWSys/src/
> KWSys/CMakeFiles/itksys.dir/S
> > ystemTools.cxx.obj] Error 1
> > CMakeFiles\Makefile2:469: recipe for target
> 'Modules/ThirdParty/KWSys/src/KWSys/
> > CMakeFiles/itksys.dir/all' failed
> > mingw32-make[1]: *** [Modules/ThirdParty/KWSys/src/
> KWSys/CMakeFiles/itksys.dir/a
> > ll] Error 2
> > Makefile:150: recipe for target 'all' failed
> > mingw32-make: *** [all] Error 2
> >
> >
> > ----- Mail original -----
> >> De: "Matt McCormick" <matt.mccormick at kitware.com>
> >> À: "Marc michel Rohe" <marc-michel.rohe at inria.fr>
> >> Cc: insight-users at itk.org
> >> Envoyé: Lundi 16 Octobre 2017 16:40:17
> >> Objet: Re: [ITK-users] Problem compiling ITK with windows 7
> >>
> >> Hello Marc,
> >>
> >> Please try the latest release (4.12.2) or ITK Git master, which have
> >> updated versions of GDCM and let us know how it goes.
> >>
> >> Thanks,
> >> Matt
> >>
> >> On Mon, Oct 16, 2017 at 10:04 AM, Marc michel Rohe
> >> <marc-michel.rohe at inria.fr> wrote:
> >> > Hello,
> >> >
> >> > I have compiled several times ITK under linux but I cannot make it
> work
> >> > with
> >> > windows with which I am not really familiar.
> >> >
> >> > I configure and generate files using CMake and then use MinGW with the
> >> > command promt (mingw32-make) to build the project. Building start
> correctly
> >> > and then I get the following output on the command promt (see below)
> >> >
> >> > Thanks a lot for your help !
> >> >
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:62:109: error:
> >> > 'CryptStringToBinary
> >> > A' was not declared in this scope
> >> > if ( !CryptStringToBinaryA( (LPCSTR)certHexBuf, 0,
> CRYPT_STRING_BASE64_ANY,
> >> > N
> >> > ULL, &certBinLen, NULL, NULL ) )
> >> >
> >> > ^
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:69:54: error:
> >> > 'CRYPT_STRING_BASE64_
> >> > ANY' was not declared in this scope
> >> > if ( !CryptStringToBinaryA( (LPCSTR)certHexBuf, 0,
> CRYPT_STRING_BASE64_ANY,
> >> > c
> >> > ertBin, &certBinLen, NULL, NULL ) )
> >> > ^~~~~~~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:69:112: error:
> >> > 'CryptStringToBinary
> >> > A' was not declared in this scope
> >> > if ( !CryptStringToBinaryA( (LPCSTR)certHexBuf, 0,
> CRYPT_STRING_BASE64_ANY,
> >> > c
> >> > ertBin, &certBinLen, NULL, NULL ) )
> >> >
> >> > ^
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx: In member function
> 'virtual
> >> > bool g
> >> > dcm::CAPICryptographicMessageSyntax::ParseKeyFile(const char*)':
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:102:55: error:
> >> > 'CRYPT_STRING_BASE64
> >> > _ANY' was not declared in this scope
> >> > if ( !CryptStringToBinaryA((LPCSTR)keyHexBuffer, 0,
> >> > CRYPT_STRING_BASE64_ANY,
> >> > NULL, &keyBinBufferLen, NULL, NULL) )
> >> > ^~~~~~~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:102:114: error:
> >> > 'CryptStringToBinar
> >> > yA' was not declared in this scope
> >> > if ( !CryptStringToBinaryA((LPCSTR)keyHexBuffer, 0,
> >> > CRYPT_STRING_BASE64_ANY,
> >> > NULL, &keyBinBufferLen, NULL, NULL) )
> >> >
> >> > ^
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:108:55: error:
> >> > 'CRYPT_STRING_BASE64
> >> > _ANY' was not declared in this scope
> >> > if ( !CryptStringToBinaryA((LPCSTR)keyHexBuffer, 0,
> >> > CRYPT_STRING_BASE64_ANY,
> >> > keyBinBuffer, &keyBinBufferLen, NULL, NULL) )
> >> > ^~~~~~~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:108:122: error:
> >> > 'CryptStringToBinar
> >> > yA' was not declared in this scope
> >> > if ( !CryptStringToBinaryA((LPCSTR)keyHexBuffer, 0,
> >> > CRYPT_STRING_BASE64_ANY,
> >> > keyBinBuffer, &keyBinBufferLen, NULL, NULL) )
> >> >
> >> > ^
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:114:69: error:
> >> > 'PKCS_RSA_PRIVATE_KE
> >> > Y' was not declared in this scope
> >> > if (!CryptDecodeObjectEx(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING,
> >> > PKCS_RSA_PR
> >> > IVATE_KEY, keyBinBuffer, keyBinBufferLen, 0, NULL, NULL, &keyBlobLen))
> >> > ^~~~~~~~~~~
> >> > ~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:120:69: error:
> >> > 'PKCS_RSA_PRIVATE_KE
> >> > Y' was not declared in this scope
> >> > if (!CryptDecodeObjectEx(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING,
> >> > PKCS_RSA_PR
> >> > IVATE_KEY, keyBinBuffer, keyBinBufferLen, 0, NULL, keyBlob,
> &keyBlobLen))
> >> > ^~~~~~~~~~~
> >> > ~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx: In member function
> 'virtual
> >> > bool g
> >> > dcm::CAPICryptographicMessageSyntax::Encrypt(char*, size_t&, const
> char*,
> >> > size_t
> >> > ) const':
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:164:3: error:
> >> > 'CRYPT_ENCRYPT_MESSAG
> >> > E_PARA' was not declared in this scope
> >> > CRYPT_ENCRYPT_MESSAGE_PARA EncryptParams = {0};
> >> > ^~~~~~~~~~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:165:3: error:
> 'EncryptParams'
> >> > was n
> >> > ot declared in this scope
> >> > EncryptParams.cbSize = sizeof(EncryptParams);
> >> > ^~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:176:163: error:
> >> > 'CryptEncryptMessag
> >> > e' was not declared in this scope
> >> > if(! CryptEncryptMessage(&EncryptParams, (DWORD)certifList.size(),
> >> > (PCCERT_CO
> >> > NTEXT *)&certifList[0], (BYTE *)array, (DWORD)len, (BYTE *)output,
> (DWORD
> >> > *)&out
> >> > len) )
> >> >
> >> >
> >> > ^
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:180:21: error:
> >> > 'CRYPT_E_UNKNOWN_ALG
> >> > O' was not declared in this scope
> >> > if (dwResult == CRYPT_E_UNKNOWN_ALGO)
> >> > ^~~~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx: In member function
> 'virtual
> >> > bool g
> >> > dcm::CAPICryptographicMessageSyntax::Decrypt(char*, size_t&, const
> char*,
> >> > size_t
> >> > ) const':
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:194:3: error:
> >> > 'PCMSG_CMS_RECIPIENT_
> >> > INFO' was not declared in this scope
> >> > PCMSG_CMS_RECIPIENT_INFO recipientInfo = NULL;
> >> > ^~~~~~~~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:209:38: error:
> >> > 'CRYPT_ASN_ENCODING'
> >> > was not declared in this scope
> >> > if (! (hMsg = CryptMsgOpenToDecode(CRYPT_ASN_ENCODING |
> X509_ASN_ENCODING |
> >> > P
> >> > KCS_7_ASN_ENCODING, 0, CMSG_ENVELOPED_DATA_PKCS_1_5_VERSION, 0, NULL,
> >> > NULL))
> >> > )
> >> > ^~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:209:103: error:
> >> > 'CMSG_ENVELOPED_DAT
> >> > A_PKCS_1_5_VERSION' was not declared in this scope
> >> > if (! (hMsg = CryptMsgOpenToDecode(CRYPT_ASN_ENCODING |
> X509_ASN_ENCODING |
> >> > P
> >> > KCS_7_ASN_ENCODING, 0, CMSG_ENVELOPED_DATA_PKCS_1_5_VERSION, 0, NULL,
> >> > NULL))
> >> > )
> >> >
> >> > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:209:154: error:
> >> > 'CryptMsgOpenToDeco
> >> > de' was not declared in this scope
> >> > if (! (hMsg = CryptMsgOpenToDecode(CRYPT_ASN_ENCODING |
> X509_ASN_ENCODING |
> >> > P
> >> > KCS_7_ASN_ENCODING, 0, CMSG_ENVELOPED_DATA_PKCS_1_5_VERSION, 0, NULL,
> >> > NULL))
> >> > )
> >> >
> >> > ^
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:215:59: error:
> >> > 'CryptMsgUpdate'
> >> > was
> >> > not declared in this scope
> >> > if(! CryptMsgUpdate(hMsg, (BYTE*)array, (DWORD)len, TRUE))
> >> > ^
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:222:31: error:
> >> > 'CMSG_TYPE_PARAM' wa
> >> > s not declared in this scope
> >> > if(! CryptMsgGetParam(hMsg, CMSG_TYPE_PARAM, 0, &dwMessageType,
> >> > &cbMessageTyp
> >> > eLen))
> >> > ^~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:222:84: error:
> >> > 'CryptMsgGetParam' w
> >> > as not declared in this scope
> >> > if(! CryptMsgGetParam(hMsg, CMSG_TYPE_PARAM, 0, &dwMessageType,
> >> > &cbMessageTyp
> >> > eLen))
> >> >
> >> > ^
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:228:23: error:
> >> > 'CMSG_ENVELOPED'
> >> > was
> >> > not declared in this scope
> >> > if(dwMessageType != CMSG_ENVELOPED)
> >> > ^~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:248:31: error:
> >> > 'CMSG_RECIPIENT_COUN
> >> > T_PARAM' was not declared in this scope
> >> > if(! CryptMsgGetParam(hMsg, CMSG_RECIPIENT_COUNT_PARAM, 0,
> &nrOfRecipeints,
> >> > &
> >> > nrOfRecipientsLen))
> >> > ^~~~~~~~~~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:248:97: error:
> >> > 'CryptMsgGetParam' w
> >> > as not declared in this scope
> >> > if(! CryptMsgGetParam(hMsg, CMSG_RECIPIENT_COUNT_PARAM, 0,
> &nrOfRecipeints,
> >> > &
> >> > nrOfRecipientsLen))
> >> >
> >> > ^
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:259:9: error:
> 'recipientInfo'
> >> > was n
> >> > ot declared in this scope
> >> > if (recipientInfo) delete[] recipientInfo;
> >> > ^~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:259:33: error: type
> '<type
> >> > error>'
> >> > argument given to 'delete', expected pointer
> >> > if (recipientInfo) delete[] recipientInfo;
> >> > ^~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:262:33: error:
> >> > 'CMSG_CMS_RECIPIENT_
> >> > INFO_PARAM' was not declared in this scope
> >> > if(! CryptMsgGetParam(hMsg, CMSG_CMS_RECIPIENT_INFO_PARAM, i, NULL,
> &cbReci
> >> > pientInfoLen))
> >> > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:262:92: error:
> >> > 'CryptMsgGetParam' w
> >> > as not declared in this scope
> >> > if(! CryptMsgGetParam(hMsg, CMSG_CMS_RECIPIENT_INFO_PARAM, i, NULL,
> &cbReci
> >> > pientInfoLen))
> >> >
> >> > ^
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:267:5: error:
> 'recipientInfo'
> >> > was n
> >> > ot declared in this scope
> >> > recipientInfo = (PCMSG_CMS_RECIPIENT_INFO) new
> BYTE[cbRecipientInfoLen];
> >> > ^~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:268:33: error:
> >> > 'CMSG_CMS_RECIPIENT_
> >> > INFO_PARAM' was not declared in this scope
> >> > if(! CryptMsgGetParam(hMsg, CMSG_CMS_RECIPIENT_INFO_PARAM, i,
> recipientInfo
> >> > , &cbRecipientInfoLen))
> >> > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:268:101: error:
> >> > 'CryptMsgGetParam'
> >> > was not declared in this scope
> >> > if(! CryptMsgGetParam(hMsg, CMSG_CMS_RECIPIENT_INFO_PARAM, i,
> recipientInfo
> >> > , &cbRecipientInfoLen))
> >> >
> >> > ^
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:298:31: error:
> >> > 'CMSG_ENVELOPE_ALGOR
> >> > ITHM_PARAM' was not declared in this scope
> >> > if(! CryptMsgGetParam(hMsg, CMSG_ENVELOPE_ALGORITHM_PARAM, 0, NULL,
> >> > &cekAlgLe
> >> > n))
> >> > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:298:81: error:
> >> > 'CryptMsgGetParam' w
> >> > as not declared in this scope
> >> > if(! CryptMsgGetParam(hMsg, CMSG_ENVELOPE_ALGORITHM_PARAM, 0, NULL,
> >> > &cekAlgLe
> >> > n))
> >> >
> >> > ^
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:304:31: error:
> >> > 'CMSG_ENVELOPE_ALGOR
> >> > ITHM_PARAM' was not declared in this scope
> >> > if(! CryptMsgGetParam(hMsg, CMSG_ENVELOPE_ALGORITHM_PARAM, 0, cekAlg,
> >> > &cekAlg
> >> > Len))
> >> > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:304:83: error:
> >> > 'CryptMsgGetParam' w
> >> > as not declared in this scope
> >> > if(! CryptMsgGetParam(hMsg, CMSG_ENVELOPE_ALGORITHM_PARAM, 0, cekAlg,
> >> > &cekAlg
> >> > Len))
> >> >
> >> > ^
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:341:31: error:
> >> > 'CMSG_CONTENT_PARAM'
> >> > was not declared in this scope
> >> > if(! CryptMsgGetParam(hMsg, CMSG_CONTENT_PARAM, 0, NULL,
> &bareContentLen))
> >> > ^~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:341:75: error:
> >> > 'CryptMsgGetParam' w
> >> > as not declared in this scope
> >> > if(! CryptMsgGetParam(hMsg, CMSG_CONTENT_PARAM, 0, NULL,
> &bareContentLen))
> >> > ^
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:347:31: error:
> >> > 'CMSG_CONTENT_PARAM'
> >> > was not declared in this scope
> >> > if(! CryptMsgGetParam(hMsg, CMSG_CONTENT_PARAM, 0, bareContent,
> >> > &bareContentL
> >> > en))
> >> > ^~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:347:82: error:
> >> > 'CryptMsgGetParam' w
> >> > as not declared in this scope
> >> > if(! CryptMsgGetParam(hMsg, CMSG_CONTENT_PARAM, 0, bareContent,
> >> > &bareContentL
> >> > en))
> >> >
> >> > ^
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:370:33: error:
> 'CryptMsgClose'
> >> > was
> >> > not declared in this scope
> >> > if (hMsg) CryptMsgClose(hMsg);
> >> > ^
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:371:9: error:
> 'recipientInfo'
> >> > was n
> >> > ot declared in this scope
> >> > if (recipientInfo) delete[] recipientInfo;
> >> > ^~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:371:33: error: type
> '<type
> >> > error>'
> >> > argument given to 'delete', expected pointer
> >> > if (recipientInfo) delete[] recipientInfo;
> >> > ^~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx: In member function
> 'bool
> >> > gdcm::CAP
> >> > ICryptographicMessageSyntax::Initialize()':
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:426:43: error:
> >> > 'MS_ENH_RSA_AES_PROV
> >> > ' was not declared in this scope
> >> > if (!CryptAcquireContextA(&hProv, NULL, MS_ENH_RSA_AES_PROV,
> PROV_RSA_AES,
> >> > CR
> >> > YPT_VERIFYCONTEXT)) //CRYPT_VERIFYCONTEXT aes decr in cryptmsgcontrol
> not
> >> > workin
> >> > g
> >> > ^~~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:442:47: error:
> >> > 'MS_ENH_RSA_AES_PROV
> >> > _A' was not declared in this scope
> >> > if (!CryptAcquireContextA(&hProv, NULL, MS_ENH_RSA_AES_PROV_A"
> (Prototype
> >> > )" /*"Microsoft Enhanced RSA and AES Cryptographic Provider
> (Prototype)"*/,
> >> > PROV
> >> > _RSA_AES, CRYPT_VERIFYCONTEXT)) //CRYPT_VERIFYCONTEXT aes decr in
> >> > cryptmsgcontro
> >> > l not working
> >> > ^~~~~~~~~~~~~~~~~~~~~
> >> > D:\Libraries\InsightToolkit-4.11.1\src\Modules\ThirdParty\
> GDCM\src\gdcm\Source\C
> >> > ommon\gdcmCAPICryptographicMessageSyntax.cxx:447:72: error: expected
> ')'
> >> > before
> >> > string constant
> >> > if (!CryptAcquireContextA(&hProv, NULL, MS_ENH_RSA_AES_PROV_A" (Proto
> >> > type)" /*"Microsoft Enhanced RSA and AES Cryptographic Provider
> >> > (Prototype)"*/,
> >> > PROV_RSA_AES, CRYPT_NEWKEYSET | CRYPT_VERIFYCONTEXT))
> >> > ^~~~~~~~
> >> > ~~~~~~
> >> > Modules\ThirdParty\GDCM\src\gdcm\Source\Common\CMakeFiles\
> gdcmCommon.dir\build.m
> >> > ake:787: recipe for target
> >> > 'Modules/ThirdParty/GDCM/src/gdcm/Source/Common/CMake
> >> > Files/gdcmCommon.dir/gdcmCAPICryptographicMessageSyntax.cxx.obj'
> failed
> >> > mingw32-make[2]: ***
> >> > [Modules/ThirdParty/GDCM/src/gdcm/Source/Common/CMakeFiles/
> >> > gdcmCommon.dir/gdcmCAPICryptographicMessageSyntax.cxx.obj] Error 1
> >> > CMakeFiles\Makefile2:6027: recipe for target
> >> > 'Modules/ThirdParty/GDCM/src/gdcm/S
> >> > ource/Common/CMakeFiles/gdcmCommon.dir/all' failed
> >> > mingw32-make[1]: ***
> >> > [Modules/ThirdParty/GDCM/src/gdcm/Source/Common/CMakeFiles/
> >> > gdcmCommon.dir/all] Error 2
> >> > Makefile:150: recipe for target 'all' failed
> >> > mingw32-make: *** [all] Error 2
> >> >
> >> >
> >> > The ITK community is transitioning from this mailing list to
> >> > discourse.itk.org. Please join us there!
> >> > ________________________________
> >> > Powered by www.kitware.com
> >> >
> >> > Visit other Kitware open-source projects at
> >> > http://www.kitware.com/opensource/opensource.html
> >> >
> >> > Kitware offers ITK Training Courses, for more information visit:
> >> > http://www.kitware.com/products/protraining.php
> >> >
> >> > Please keep messages on-topic and check the ITK FAQ at:
> >> > http://www.itk.org/Wiki/ITK_FAQ
> >> >
> >> > Follow this link to subscribe/unsubscribe:
> >> > http://public.kitware.com/mailman/listinfo/insight-users
> >> >
> >>
> The ITK community is transitioning from this mailing list to
> discourse.itk.org. Please join us there!
> ________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20171016/9e27bc38/attachment-0001.html>
More information about the Insight-users
mailing list