dcmpstat package

Compilation and installation of DICOMscope

Moderator: Moderator Team

Post Reply
Message
Author
imen
Posts: 4
Joined: Thu, 2008-08-14, 11:49
Contact:

dcmpstat package

#1 Post by imen »

I’m working with these versions :
1) Windows XP service pack 2
2) Visual 6 without the service pack 6
3) OpenSSL and I try 0.9.6a
4) when I compiled the dcmpstat package
I have this error message :
--------------------Configuration: dcmpstat - Win32 Release OpenSSL--------------------
Compiling...
dviface.cxx
C:\dsgui351\dcmtk\dcmpstat\libsrc\dviface.cxx(4156) : error C2065: 'EVP_PKEY' : undeclared identifier
C:\dsgui351\dcmtk\dcmpstat\libsrc\dviface.cxx(4156) : error C2065: 'pkey' : undeclared identifier
C:\dsgui351\dcmtk\dcmpstat\libsrc\dviface.cxx(4156) : error C2106: '=' : left operand must be l-value
C:\dsgui351\dcmtk\dcmpstat\libsrc\dviface.cxx(4157) : error C2065: 'BIO' : undeclared identifier
C:\dsgui351\dcmtk\dcmpstat\libsrc\dviface.cxx(4157) : error C2065: 'in' : undeclared identifier
C:\dsgui351\dcmtk\dcmpstat\libsrc\dviface.cxx(4157) : error C2065: 'BIO_new' : undeclared identifier
C:\dsgui351\dcmtk\dcmpstat\libsrc\dviface.cxx(4157) : error C2065: 'BIO_s_file_internal' : undeclared identifier
C:\dsgui351\dcmtk\dcmpstat\libsrc\dviface.cxx(4157) : error C2106: '=' : left operand must be l-value
C:\dsgui351\dcmtk\dcmpstat\libsrc\dviface.cxx(4160) : error C2065: 'BIO_read_filename' : undeclared identifier
C:\dsgui351\dcmtk\dcmpstat\libsrc\dviface.cxx(4164) : error C2065: 'PEM_read_bio_PrivateKey' : undeclared identifier
C:\dsgui351\dcmtk\dcmpstat\libsrc\dviface.cxx(4168) : error C2065: 'd2i_PrivateKey_bio' : undeclared identifier
C:\dsgui351\dcmtk\dcmpstat\libsrc\dviface.cxx(4172) : error C2065: 'BIO_free' : undeclared identifier
C:\dsgui351\dcmtk\dcmpstat\libsrc\dviface.cxx(4174) : error C2065: 'EVP_PKEY_free' : undeclared identifier
dvpsab.cxx

C:\dsgui351\dcmtk\dcmpstat\libsrc\dvsighdl.cxx(134) : error C2065: 'X509_FILETYPE_PEM' : undeclared identifier
C:\dsgui351\dcmtk\dcmpstat\libsrc\dvsighdl.cxx(134) : error C2065: 'X509_FILETYPE_ASN1' : undeclared identifier
Error executing cl.exe.dcmpstat.lib - 15 error(s), 0 warning(s)

Can you help me ?
I have an error during the execution of cmake

Marco Eichelberg
OFFIS DICOM Team
OFFIS DICOM Team
Posts: 1435
Joined: Tue, 2004-11-02, 17:22
Location: Oldenburg, Germany
Contact:

#2 Post by Marco Eichelberg »

All of the undeclared identifiers are related to OpenSSL. The related header files are included as <openssl/...> at the start of dviface.cxx. Have you removed these includes? Have you changed something with regard to the WITH_OPENSSL macro defined by CMake? You need to check why the OpenSSL definitions are not found.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest