title: Unresolved symbols with boost_asio/example/ssl/client.cpp
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/9805013/boostasio-ssl-linking-error">boost::asio ssl linking error</a>  </p>
  </blockquote>
  
  
  
  <p>I am having issues with undefined symbols. My boost installation is fine as I have used it for other projects. I understand that I need OpenSSL installed, So installed it in the following way.</p>
  
  <p>I then ran the following commands with VS2010 command prompt with the extracted OpenSSL source (most recent from openssl site) as the working directory.</p>
  
  <pre><code>perl Configure VC-WIN64A no-shared no-idea // I don't trust this.
  
  ms\do_win64a
  
  nmake -f ms\ntdll.mak
  nmake -f ms\ntdll.mak install
  
  nmake -f ms\nt.mak
  nmake -f ms\nt.mak install
  </code></pre>
  
  <p>The source file is just the boost example. <a href="http://www.boost.org/doc/libs/1_52_0/doc/html/boost_asio/example/ssl/client.cpp" rel="nofollow noreferrer">http://www.boost.org/doc/libs/1_52_0/doc/html/boost_asio/example/ssl/client.cpp</a></p>
  
  <p>My VS2010 project is setup as follows.</p>
  
  <p>C/C++ > General > Addition Include Directories</p>
  
  <pre><code>E:\libraries\boost_1_49_0   //as used in past projects 
  E:\usr\local\ssl\include    //just installed
  </code></pre>
  
  <p>Linker > General > Addition Library Directories</p>
  
  <pre><code>E:\libraries\boost_1_49_0\stage\lib
  E:\usr\local\ssl\lib
  </code></pre>
  
  <p>Linker > Input > Addition Directories</p>
  
  <pre><code>libeay32.lib
  </code></pre>
  
  <p>I thought that it might must have been boost tripping out. So I tried an SSL <a href="http://www.askyb.com/cpp/using-openssl-cryptography-blowfish-des-rc2-rc4/" rel="nofollow noreferrer">crypto</a> example and that had undefined symbols.</p>
  
  <p>Errors in a <a href="https://dl.dropbox.com/u/15586644/boostssltcpconnectionerrors.txt" rel="nofollow noreferrer">text file</a></p>
  
  <p>OS is Windows 7 64Bit</p>