Статус: Участник
Группы: Участники
Зарегистрирован: 08.10.2010(UTC) Сообщений: 25
Сказал(а) «Спасибо»: 1 раз
|
Добрый день! не собирается проект Код:/opt/cprocsp/include/pki/ocsp.h:33:24: fatal error: cplib/Blob.h: Нет такого файла или каталога
посмотрел в файл ocsp.h Код:#include <cplib/Blob.h>
#include <cplib/DateTime.h>
#include <asn1/CMP.h>
#include <asn1/algidex.h>
в инклудах нет ни cplib ни asn1 - все эти заголовки лежат в pki о системе Код:kr@linux-kr:~/projects> cat /etc/SuSE-release
openSUSE 12.2 (i586)
VERSION = 12.2
CODENAME = Mantis
kr@linux-kr:~/projects> cat /etc/lsb-release
LSB_VERSION="core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-ia32:core-3.2-ia32:core-4.0-ia32"
kr@linux-kr:~/projects> /opt/cprocsp/bin/ia32/csptest -oid info
CSP (Type:71) v3.6.5359 KC1 Release Ver:3.6.6724 OS:Linux CPU:IA32 FastCode:READY,ENABLED.
CSP (Type:75) v3.6.5359 KC1 Release Ver:3.6.6724 OS:Linux CPU:IA32 FastCode:READY,ENABLED.
CryptAcquireContext succeeded.HCRYPTPROV: 137803035
Total:
[ErrorCode: 0x00000000]
kr@linux-kr:~/projects> rpm -qa| grep csp| sort
lsb-cprocsp-base-3.6.1-4.noarch
lsb-cprocsp-cades-3.6.1-4.i486
lsb-cprocsp-capilite-3.6.1-4.i486
lsb-cprocsp-devel-3.6.1-4.noarch
lsb-cprocsp-kc1-3.6.1-4.i486
lsb-cprocsp-ocsp-util-3.6.1-4.i486
lsb-cprocsp-rdr-3.6.1-4.i486
lsb-cprocsp-tsp-util-3.6.1-4.i486
kr@linux-kr:~/projects> zypper se csp
i | lsb-cprocsp-base | Crypto-Pro CSP library. Build 6724. | пакет
i | lsb-cprocsp-cades | CryptoPro CAdES shared library. Build 6724. | пакет
i | lsb-cprocsp-capilite | CryptoAPI lite. Build 6724. | пакет
i | lsb-cprocsp-devel | CryptoPro CSP static libraries and headers. Build 6724. | пакет
i | lsb-cprocsp-kc1 | Crypto-Pro CSP library. Build 6724. | пакет
i | lsb-cprocsp-ocsp-util | CryptoPro PKI shared library. Build 6724. | пакет
i | lsb-cprocsp-rdr | CryptoPro CSP readers. Build 6724. | пакет
i | lsb-cprocsp-tsp-util | CryptoPro TSP client. Build 6724. | пакет
kr@linux-kr:/opt/cprocsp/include> ls -R
.:
asn1c asn1data capiextern.h capilite common.h cpcsp cppkcs11 Crypt.h curl fkc_version.h interfaces pki pkixcmp reader
./asn1c:
cpp rtbersrc rtsrc rtxersrc
./asn1c/cpp:
src
./asn1c/cpp/src:
asn1ClassBERClass.h asn1ClassPERClass.h asn1ClassXER.h asn1EmbeddedPDVPER.h asn1ExternalBER.h asn1ExternalStrmBER.h
asn1ClassBER.h asn1ClassPER.h asn1EmbeddedPDVBER.h asn1EmbeddedPDVStrmBER.h asn1External.h asn1ExternalXER.h
asn1Class.h asn1ClassXERClass.h asn1EmbeddedPDV.h asn1EmbeddedPDVXER.h asn1ExternalPER.h lmEndian.h
./asn1c/rtbersrc:
asn1BerCppTypes.h asn1ber.h ASN1BERInputStream.h ASN1BEROutputStream.h asn1berStream.h
./asn1c/rtsrc:
ASN1CBitStr.h asn1Class.asn ASN1CTime.h asn1External.asn OSCInputStream.h rtCopy.h rtOidStr.h rtStream.h
ASN1CGeneralizedTime.h asn1CppTypes.h ASN1CUTCTime.h asn1intl.h OSCSocket.h rtctype.h rtPrintToString.h rtSysTypes.h
asn1CharSet.h ASN1CSeqOfList.h asn1EmbeddedPDV.asn asn1type.h OSCStream.h rtMemory.h rtSocket.h wceAddon.h
./asn1c/rtxersrc:
ASN1CXerOpenType.h ASN1SAX_XEROpenType.h asn1XerCppTypes.h asn1XerCTypes.h asn1xer.h csaxParser.h OSXMLString.h rtSAXDefs.h saxParser.h
./asn1data:
ASN1C_ASN1PrintableString.h CryptographicMessageSyntaxTable.h Name-Service.h PKIXDVCSTable.h
CertificateExtensionsClass.h ETS-ElectronicSignatureFormats-97Syntax.h PKIX1Explicit88Class.h PKIXOCSPClass.h
CertificateExtensions.h Gost28147-89-EncryptionSyntax.h PKIX1Explicit88.h PKIXOCSP.h
CertificateExtensionsTable.h Gost-CryptoPro-PrivateKey.h PKIX1Explicit88Table.h PKIXOCSPTable.h
CPPKIXCMP.h Gost-CryptoPro-TLS.h PKIXCMPClass.h PKIXTSP.h
Cryptographic-Gost-Useful-DefinitionsClass.h GostR3410-2001-PKISyntax.h PKIXCMP.h PKIXTSPTable.h
Cryptographic-Gost-Useful-Definitions.h GostR3410-94-PKISyntax.h PKIXCMPTable.h SecureMimeMessageV3.h
CryptographicMessageSyntaxClass.h GostR3410-EncryptionSyntax.h PKIXCRMF.h
CryptographicMessageSyntax.h GostR3411-94-DigestSyntax.h PKIXDVCS.h
./capilite:
ASN1Blob.h ASN1Exceptions.h ASN1Traits.h ASN1Types.h ASN1Util.h ChainUtil.h CPCrypt.h Date.h EncodeAnd.h StoreUtil.h
./cpcsp:
BSTR.h constant.h cryptmem.h cspmm.h cspvtable.h CSP_WinError.h platformstream.h simple_hash.h WinCryptEx.h winrmcsp.h
callctx.h cpasn.h CSPHandles.h csp_rc.h CSP_WinBase.h dbtrace_initer.h SecureBuffer.h SSPMap.h wincspc.h
CheckHash.h CpSChl.h CSPKernel.h CSP_SChannel.h CSP_WinCrypt.h KeyPairOpers.h serial_def.h stdafx.h wincsp.h
cmpmem.h CpSSP.h csp_lic.h CSP_Sspi.h CSP_WinDef.h lfmm.h serial.h UnixEnroll.h wincspx.h
./cppkcs11:
CPPKCS11.h pkcs11f.h pkcs11.h pkcs11t.h
./curl:
curlbuild.h curl.h curlrules.h curlver.h easy.h mprintf.h multi.h stdcheaders.h typecheck-gcc.h types.h
./interfaces:
lfmm_int.h wincspc_int.h
./pki:
algidex.h Attribute.h cades.h CMS.h DateTime.h MSTimeStamp.h ocsp.h tspcli.h Types.h
algidex.inl Blob.h CMP.h cpstldll.h Extension.h ocspcli.h StringProxy.h tsp.h
./pkixcmp:
CA_CMP_Certificate.h CA_CMP_ErrorMsg.h CA_CMP_Requests.h CA_CMP_Types.h PKIXCMP_Base.h PKIXCMP_Server.h
CA_CMP_CRL.h CA_CMP_Msg.h CA_CMP_RevAnnContent.h CA_CMP_Util.h PKIXCMP_Client.h testsup.h
./reader:
dprint.h ISO-IEC_TR_24731-1.h rdr_fkc.h std_decl.h support_fkc.h support.h tchar.h ubi_mutex.h
|
|
|
|
Статус: Сотрудник
Группы: Администраторы, Участники Зарегистрирован: 24.11.2009(UTC) Сообщений: 965 Откуда: Crypto-Pro
Сказал(а) «Спасибо»: 3 раз Поблагодарили: 174 раз в 152 постах
|
/opt/cprocsp/include/pki/Blob.h это тот хедер который вам нужен. |
|
|
|
|
Статус: Участник
Группы: Участники
Зарегистрирован: 08.10.2010(UTC) Сообщений: 25
Сказал(а) «Спасибо»: 1 раз
|
cross написал:/opt/cprocsp/include/pki/Blob.h это тот хедер который вам нужен. я понимаю и поправил ваши хедеры у себя я к тому что из "коробки" сами хедеры смотрят на несуществующие папки
|
|
|
|
Быстрый переход
Вы не можете создавать новые темы в этом форуме.
Вы не можете отвечать в этом форуме.
Вы не можете удалять Ваши сообщения в этом форуме.
Вы не можете редактировать Ваши сообщения в этом форуме.
Вы не можете создавать опросы в этом форуме.
Вы не можете голосовать в этом форуме.
Important Information:
The Форум КриптоПро uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close