title: Compile Tesseract for Visual Studio 2013
body: <p>I'm trying to use the <code>tesseract</code> in visual studio 2013. I'm using "libtesseract302.lib" in the the linker -> Input (not "libtesseract302-static.lib") and everythings was OK, and it's compiled and run, but when I tried to use this code:</p>
  
  <pre><code>tesseract::ResultIterator* ri;
  tesseract::ChoiceIterator ci(*ri);
  </code></pre>
  
  <p>I got five link errors like this:</p>
  
  <pre><code>Error   3   error LNK2028: unresolved token (0A000567)
  "public: __thiscall tesseract::ChoiceIterator::ChoiceIterator
  (class tesseract::LTRResultIterator const &amp;)"
  (??0ChoiceIterator@tesseract@@$$FQAE@ABVLTRResultIterator@1@@Z)
  referenced in function "int __cdecl main(void)" (?main@@$$HYAHXZ)
  </code></pre>
  
  <p>I think it's because I didn't use the static library, so I tried that, but I got many linking errors. I think that is due to the static library having been built before using vs2008 that I got from here.</p>
  
  <p><a href="https://code.google.com/p/tesseract-ocr/downloads/detail?name=tesseract-3.02.02-win32-lib-include-dirs.zip&amp;can=2&amp;q=/" rel="nofollow" title="Tesseract">Tesseract</a></p>
  
  <p>So I'm trying now to compile the <code>tesseract</code> as static lib in vs2013.  Will solve the issue, or should I try something else?</p>