Linking errors when compiling storescu sample

Compilation and installation of DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
markw
Posts: 84
Joined: Mon, 2005-01-17, 01:08

Linking errors when compiling storescu sample

#1 Post by markw »

Hi,

I have dcmtk 3.5.3. I'm trying to compile with openssl. So I've #defined WITH_OPENSSL at the head of the source file. I get linking errors like:

Code: Select all

error LNK2019: unresolved external symbol"public: bool__this call DcmTLSTransportLayer::writeRandomSeed(char const *)... etc..
and so on. But I have dcmtls.lib in my included libraries. Why is the project failing to link?

Thanks

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

Read the INSTALL file on how to compile with OpenSSL enabled. Adding "#defined WITH_OPENSSL" to a single source file will not work.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest