working with openss llibs

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
yeganeh
Posts: 43
Joined: Mon, 2008-10-27, 07:38

working with openss llibs

#1 Post by yeganeh »

hi
i wanted to write a GUI interface which could simply by pushing a button Sing a document forexample.i use dcmdsig lib .i know i should use oppenssl libs.idownload oppenssl from this dcmtk site.i write a MD project.when i compile theprogram in debug mode it's ok but in release mode there are so many errorrs related to dcmdsign lib:
for example:
1>dcmdsig.lib(dcsignat.obj) : error LNK2001: unresolved external symbol _ERR_load_crypto_strings
1>dcmdsig.lib(dcsignat.obj) : error LNK2001: unresolved external symbol _OPENSSL_add_all_algorithms_noconf
1>dcmdsig.lib(sicert.obj) : error LNK2001: unresolved external symbol _X509_free
1>dcmdsig.lib(sicert.obj) : error LNK2001: unresolved external symbol _EVP_PKEY_free
1>dcmdsig.lib(siprivat.obj) : error LNK2001: unresolved external symbol _EVP_PKEY_free
1>dcmdsig.lib(sicert.obj) : error LNK2001: unresolved external symbol _X509_get_pubkey
1>dcmdsig.lib(sicert.obj) : error LNK2001: unresolved external symbol _EVP_PKEY_get1_RSA
1>dcmdsig.lib(siprivat.obj) : error LNK2001: unresolved external symbol _EVP_PKEY_get1_RSA
1>dcmdsig.lib(sicert.obj) : error LNK2001: unresolved external symbol _EVP_PKEY_get1_DSA
1>dcmdsig.lib(siprivat.obj) : error LNK2001: unresolved external symbol _EVP_PKEY_get1_DSA
1>dcmdsig.lib(sicert.obj) : error LNK2001: unresolved external symbol _BIO_free
1>dcmdsig.lib(siprivat.obj) : error LNK2001: unresolved external symbol _BIO_free

i do't know what's the matter?
what should i do?
________
medical marijuana doctor
Last edited by yeganeh on Thu, 2011-02-03, 10:35, edited 1 time in total.

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

#2 Post by Marco Eichelberg »

All unresolved symbols point to functions contained in the OpenSSL libraries. Most probably you are not linking against OpenSSL in release mode or the linker does not find the libraries. Check the differences in your project settings between debug and release.

Sorry for not being any more specific, but on my machine compiling and linking against OpenSSL just works.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest