Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errori compilazione CIEPKI #125

Open
A4EVA opened this issue Mar 3, 2023 · 0 comments
Open

Errori compilazione CIEPKI #125

A4EVA opened this issue Mar 3, 2023 · 0 comments

Comments

@A4EVA
Copy link

A4EVA commented Mar 3, 2023

Salve, sto riscontrando difficoltà nel compilare CIEPKI, premetto che la versione di Visual Studio utilizzata è la 2019 enon la 2017 e la versione dell' SDK di Windows è la 10.0.17763.0, i primi errori credo di essere riuscito a correggerli in quanto in abilitaCIE.cpp gli include di CIESign.h e CIEVerify.h puntano ad un path errato, quello corretto, controllando la repo è ("../Sign/CIESign.h") e ("../Sign/CIEVerify.h") anche in stdafx.h l'include del Logger.h sembra puntare a un path errato ("../LOGGER/Logger.h") la posizione reale è invece ("LOGGER/Logger.h"). Nonostante le correzioni apportate la compilazione non riesce a completarsi, di seguito vi riporto gli errori della compilazione del progetto CIEPKI.

Grazie per il supporto

Compilazione avviata...
1>------ Inizio compilazione: Progetto: CacheLib, Configurazione: Debug Win32 ------
1>CacheLib.cpp
1>CacheLib.vcxproj -> C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\Debug\CacheLib.lib
2>------ Inizio compilazione: Progetto: CIEPKI, Configurazione: Debug Win32 ------
2>MD5.cpp
2>SHA512.cpp
2>abilitaCIE.cpp
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\Sign\CIEVerify.h(13,2): warning C4091: 'typedef ': ignorato a sinistra di 'verifyInfo_t' quando non si dichiara alcuna variabile
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\abilitaCIE.cpp(89,27): warning C4018: '<': errata corrispondenza tra signed e unsigned
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\abilitaCIE.cpp(1100,4): error C2065: 'Log': identificatore non dichiarato
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\abilitaCIE.cpp(1106,5): error C2065: 'Log': identificatore non dichiarato
2>AES.cpp
2>CIEScaduta.cpp
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\CIEScaduta.cpp(51,2): error C2065: 'Log': identificatore non dichiarato
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\CIEScaduta.cpp(53,3): error C2065: 'Log': identificatore non dichiarato
2>ExtAuthKey.cpp
2>PINManager.cpp
2>Logger.cpp
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\LOGGER\Logger.cpp(195,4): error C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\LOGGER\Logger.cpp(281,2): error C4996: 'vsprintf': This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\LOGGER\Logger.cpp(315,2): error C4996: 'vsprintf': This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\LOGGER\Logger.cpp(349,2): error C4996: 'vsprintf': This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2>APDU.cpp
2>cambioPIN.cpp
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\cambioPIN.cpp(239,2): error C2065: 'Log': identificatore non dichiarato
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\cambioPIN.cpp(243,2): error C2065: 'Log': identificatore non dichiarato
2>CIESign.cpp
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\Sign\CIESign.cpp(157,13): warning C4244: '=': conversione da 'long' a 'uint16_t'. Possibile perdita di dati.
2>CIEVerify.cpp
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\Sign\CIEVerify.h(13,2): warning C4091: 'typedef ': ignorato a sinistra di 'verifyInfo_t' quando non si dichiara alcuna variabile
2>Message.cpp
2>ASNParser.cpp
2>Base64.cpp
2>Bitmap.cpp
2>CardLocker.cpp
2>CSP.cpp
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\CSP.cpp(37,4): error C2065: 'Log': identificatore non dichiarato
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\CSP.cpp(48,4): error C2065: 'Log': identificatore non dichiarato
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\CSP.cpp(469,2): error C4996: 'wcstombs': This function or variable may be unsafe. Consider using wcstombs_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2>DES3.cpp
2>update.cpp
2>Generazione del codice in corso...
2>Compilazione in corso...
2>funccallinfo.cpp
2>IAS.cpp
2>IniSettings.cpp
2>log.cpp
2>MAC.cpp
2>ModuleInfo.cpp
2>PIN.cpp
2>CardContext.cpp
2>CardTemplate.cpp
2>CIEP11Template.cpp
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\PKCS11\CIEP11Template.cpp(24,4): error C2065: 'Log': identificatore non dichiarato
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\PKCS11\CIEP11Template.cpp(43,4): error C2065: 'Log': identificatore non dichiarato
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\PKCS11\CIEP11Template.cpp(60,6): error C2065: 'Log': identificatore non dichiarato
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\PKCS11\CIEP11Template.cpp(65,5): error C2065: 'Log': identificatore non dichiarato
2>initP11.cpp
2>Mechanism.cpp
2>P11Object.cpp
2>PKCS11Functions.cpp
2>session.cpp
2>Slot.cpp
2>RSA.cpp
2>safeDesktop.cpp
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\UI\safeDesktop.cpp(36,3): error C2065: 'Log': identificatore non dichiarato
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\UI\safeDesktop.cpp(39,4): error C2065: 'Log': identificatore non dichiarato
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\UI\safeDesktop.cpp(42,5): error C2065: 'Log': identificatore non dichiarato
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\UI\safeDesktop.cpp(47,5): error C2065: 'Log': identificatore non dichiarato
2>sbloccoPIN.cpp
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\sbloccoPIN.cpp(167,25): warning C4101: 'ex': variabile locale senza riferimenti
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\sbloccoPIN.cpp(226,2): error C2065: 'Log': identificatore non dichiarato
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\sbloccoPIN.cpp(228,3): error C2065: 'Log': identificatore non dichiarato
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\sbloccoPIN.cpp(234,3): error C2065: 'Log': identificatore non dichiarato
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\sbloccoPIN.cpp(246,5): error C2065: 'Log': identificatore non dichiarato
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\sbloccoPIN.cpp(251,6): error C2065: 'Log': identificatore non dichiarato
2>C:\Users\Utente01\Desktop\cie-middleware-1.4.3.4\CSP\CSP\sbloccoPIN.cpp(263,3): error C2065: 'Log': identificatore non dichiarato
2>SHA1.cpp
2>Generazione del codice in corso...
2>Compilazione in corso...
2>SHA256.cpp
2>stdafx.cpp
2>StoreProvider.cpp
2>SyncroEvent.cpp
2>SystemTray.cpp
2>TLV.cpp
2>Token.cpp
2>util.cpp
2>UtilException.cpp
2>Verifica.cpp
2>Generazione del codice in corso...
2>Compilazione progetto "CSP.vcxproj" NON COMPLETATA.
========== Compilazione: 1 completate, 1 non riuscite, 0 aggiornate, 0 ignorate ==========

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants