下载了几个使用c#调用OpenSSL的代码,在我的机器上都出现:
LINK : fatal error LNK1104: 无法打开文件“ssleay32d.lib”这样的错误,这个怎么解决?谢谢~

解决方案 »

  1.   

    装了ActivePerl编译后生成了ssleay32d.lib这个文件,问题已经解决,谢谢。
    方法:
    # Extract the files. Read INSTALL.W32 file in the OpenSSL root directory.
    # Open "Visual Studio .NET Command Prompt" window.
    # Go into openssl-0.9.7b directory.
    # Type "perl Configure VC-WIN32" in the OpenSSL root directory. (Install ActivePerl for windows if you don't have it)
    # Type "ms\do_ms" in the OpenSSL root directory.
    # Now type "nmake -f ms\nt.mak" (This is for static version of OpenSSL l
      

  2.   

    装了ActivePerl编译后生成了ssleay32d.lib这个文件,问题已经解决,谢谢。
    ---------------------------------------
    恭喜,自己动手解决记忆会更深!