title: cannot install pdftotext on windows because of poppler
body: <p>I am trying to install pdftotext on windows:</p>
  
  <pre><code>pip install pdftotext
  </code></pre>
  
  <p>It failed originally because of lack of MS visual studio (now installed) and now it fails with a poppler problem. I have downloaded poppler and it is installed in </p>
  
  <pre><code>C:\Program Files (x86)\poppler
  </code></pre>
  
  <p>my path includes this directory.</p>
  
  <p>The install fails with an error
  <a href="https://i.stack.imgur.com/hYPPL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hYPPL.png" alt="screen image of error"></a></p>
  
  <p>I cannot find the file poppler-cpp.lib in Program Files (x86)</p>
  
  <p>I know that installing poppler is problematic and there are many questions on the web relating to it and <a href="http://blog.alivate.com.au/poppler-windows/" rel="nofollow noreferrer">one seems to be my problem exactly</a> (mark on 19 July 2018), but no solution seems to have been offered. I have it installed on linux and it works like a dream. But, I need to have working on Windows too.</p>
  
  <p>Can someone please help me to sort this out?</p>
  
  <p>[EDIT 2018.09.17 I have found a reference to it <a href="https://lists.freedesktop.org/archives/poppler/2011-January/007024.html" rel="nofollow noreferrer">here</a>:</p>
  
  <blockquote>
    <p>... The problem was that this binaries files 
    were dynamic and, from the files with .lib extension (poppler.lib, 
    poppler-cpp.lib, poppler-qt4.lib), only poppler.lib was a static library.
    Due to this, and using the cMake files content in the download of the 
    source code of poppler I tried to generate static versions from all the 
    dependencies of poppler, which was an easy thing to do ...</p>
  </blockquote>
  
  <p>Does this help someone to come to my aid?</p>