title: OpenCV: 32-bit libs & dlls for Visual Studio project
body: <p>I am upgrading a C++ Visual Studio project that uses OpenCV 2.4 to a more recent version of OpenCV (e.g. 4.1.2 or 4.4.0). I need 32-bit and 64-bit builds of my project, so I need 32-bit and 64-bit versions of the OpenCV libs and dlls.</p>
  <p>But recent pre-built downloadable versions of OpenCV for Windows contain libs and dlls for x64 only. I did find 32-bit and 64-bit precompiled binaries here (<a href="https://github.com/huihut/OpenCV-MinGW-Build" rel="nofollow noreferrer">https://github.com/huihut/OpenCV-MinGW-Build</a>) but they are built with MinGW and don't have the VS-compatible libs I need for linking.</p>
  <p>I can try to build my own 32-bit version of the OpenCV libs but at first glance this looks like it could take a lot of effort. OpenCV utilizes CMake and other tools I'm not familiar with.</p>
  <p>So my question is: can anyone point me to 32-bit build of a recent version of OpenCV that has libs built with Visual Studio? Or if not, can anyone confirm that they have built a 32-bit OpenCV with Visual Studio? If this is my only choice I'll go down this road, but I'd like to know in advance if this is difficult (for example, maybe OpenCV itself has dependencies that are not available as 32-bit?).</p>
  <p>Any help appreciated!</p>