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