Ask Your Question

How to create 32-bit dll file for OpenCV version 4.0.1?

asked 2019-07-18 20:14:07 -0500


I have tried many methods to build a 32-bit version of OpenCV version 4.0.1, however to no avail. I have tried using CMake and the file I require is opencv_world401.dll

May I know if anyone has any steps for me to follow to build the 64 bit source code so that I can have a complete 32-bit package in return? It seems there will be missing files when I use CMake.

Thank you!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-07-19 04:06:30 -0500

Witek gravatar image

In CMake configuration you are asked to "specify a generator for this project" - choose "Visual Studio 15 2017" or "Visual Studio 16 2019" or whichever version you prefer and leave "optional platform for generator" blank or set to Win32. This should build a 32-bit version of OpenCV. image description

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-07-18 20:14:07 -0500

Seen: 45 times

Last updated: Jul 19