I'm getting the the errors listed below. As far as I can tell, I'm building dcmtk with OPEN_SSL support (output below).
I'm using dcmtk 3.6.5 as that was the version used in the original 64 bit project. I grabbed open ssl1.1.1i from a dcmtk 3.6.6 installation that I had already downloaded.
I'm using visual studio 2017.
I have the following libraries included in the project (same settings as was in the 64 bit project): Iphlpapi.lib;comsuppw.lib;dcmdata.lib;ofstd.lib;dcmnet.lib;dcmtls.lib
I figure that I'm missing something stupid.
Anyone have any suggestions about what is going wrong?
Thanks
Code: Select all
Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.18363.
Info: DCMTK OPENSSL support will be enabled
Info: DCMTK will compile with built-in (compiled-in) dictionary
Info: DCMTK will try to load external dictionary from default path on startup
Info: DCMTK's builtin private dictionary support will be disabled
Info: Thread support will be enabled
Info: Wide char file I/O functions will be enabled
Info: Wide char main function for command line tools will be disabled
Info: Building DCMTK without character set conversion support
Looking for prototype of SSL_CTX_get0_param
Looking for prototype of SSL_CTX_get0_param - found
Looking for prototype of RAND_egd
Looking for prototype of RAND_egd - not found.
Info: Building DCMTK with large file support (LFS)
Info: C++11 features disabled
Info: C++14 features disabled
Info: C++17 features disabled
Info: STL vector support enabled
Info: STL algorithm support enabled
Info: STL limits support enabled
Info: STL list support enabled
Info: STL map support enabled
Info: STL memory support enabled
Info: STL stack support enabled
Info: STL string support enabled
Info: STL type_traits support enabled
Info: STL tuple support enabled
Info: STL system_error support enabled
Looking for CMake command CONFIGURE_PACKAGE_CONFIG_FILE
Looking for CMake command CONFIGURE_PACKAGE_CONFIG_FILE - found
Looking for CMake command WRITE_BASIC_PACKAGE_VERSION_FILE
Looking for CMake command WRITE_BASIC_PACKAGE_VERSION_FILE - found
Configuring done
Code: Select all
2> Creating library C:\Users\SCHEFJX2\Desktop\DCMTK Conversion\sources\Application\Release\OCTDicomDLL.lib and object C:\Users\SCHEFJX2\Desktop\DCMTK Conversion\sources\Application\Release\OCTDicomDLL.exp
2>DTDicomNetwork.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall DcmTLSTransportLayer::DcmTLSTransportLayer(enum T_ASC_NetworkRole,char const *,bool)" (__imp_??0DcmTLSTransportLayer@@QAE@W4T_ASC_NetworkRole@@PBD_N@Z) referenced in function "protected: class OFCondition __thiscall CDTDicomNetwork::CreateTransportLayer(wchar_t const *)" (?CreateTransportLayer@CDTDicomNetwork@@IAE?AVOFCondition@@PB_W@Z)
2>DTDicomNetwork.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall DcmTLSTransportLayer::~DcmTLSTransportLayer(void)" (__imp_??1DcmTLSTransportLayer@@UAE@XZ) referenced in function "public: virtual void * __thiscall DcmTLSTransportLayer::`scalar deleting destructor'(unsigned int)" (??_GDcmTLSTransportLayer@@UAEPAXI@Z)
2>DTDicomNetwork.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: enum DcmTransportLayerStatus __thiscall DcmTLSTransportLayer::addTrustedCertificateFile(char const *,enum DcmKeyFileFormat)" (__imp_?addTrustedCertificateFile@DcmTLSTransportLayer@@QAE?AW4DcmTransportLayerStatus@@PBDW4DcmKeyFileFormat@@@Z) referenced in function "protected: class OFCondition __thiscall CDTDicomNetwork::AddTrustedCertificates(wchar_t const *)" (?AddTrustedCertificates@CDTDicomNetwork@@IAE?AVOFCondition@@PB_W@Z)
2>DTDicomNetwork.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: enum DcmTransportLayerStatus __thiscall DcmTLSTransportLayer::setTLSProfile(enum DcmTLSSecurityProfile)" (__imp_?setTLSProfile@DcmTLSTransportLayer@@QAE?AW4DcmTransportLayerStatus@@W4DcmTLSSecurityProfile@@@Z) referenced in function "protected: class OFCondition __thiscall CDTDicomNetwork::CreateTransportLayer(wchar_t const *)" (?CreateTransportLayer@CDTDicomNetwork@@IAE?AVOFCondition@@PB_W@Z)
2>DTDicomNetwork.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: enum DcmTransportLayerStatus __thiscall DcmTLSTransportLayer::activateCipherSuites(void)" (__imp_?activateCipherSuites@DcmTLSTransportLayer@@QAE?AW4DcmTransportLayerStatus@@XZ) referenced in function "protected: class OFCondition __thiscall CDTDicomNetwork::CreateTransportLayer(wchar_t const *)" (?CreateTransportLayer@CDTDicomNetwork@@IAE?AVOFCondition@@PB_W@Z)
2>DTDicomNetwork.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: void __thiscall DcmTLSTransportLayer::setCertificateVerification(enum DcmCertificateVerification)" (__imp_?setCertificateVerification@DcmTLSTransportLayer@@QAEXW4DcmCertificateVerification@@@Z) referenced in function "protected: class OFCondition __thiscall CDTDicomNetwork::CreateTransportLayer(wchar_t const *)" (?CreateTransportLayer@CDTDicomNetwork@@IAE?AVOFCondition@@PB_W@Z)
2>DTDicomNetwork.obj : error LNK2001: unresolved external symbol "public: virtual class DcmTransportConnection * __thiscall DcmTLSTransportLayer::createConnection(unsigned __int64,bool)" (?createConnection@DcmTLSTransportLayer@@UAEPAVDcmTransportConnection@@_K_N@Z)