building a OpenCV 32bit static library

asked 2012-10-07 04:07:54 -0500

kod3000 gravatar image

updated 2018-12-11 10:48:53 -0500


I'm trying to build the latest openCV library into a static library. Each time that I build the library using CMAKE I end up with a 64bit library. I'd like to know how to go about building it for 32bit. Any help that I can get with this would be great.

Thank you.

edit retag flag offensive close merge delete



did you check the choice of compiler which CMAKE prompts when you configure for the 1st time?make sure that compiler is 32 bit...

rotating_image gravatar imagerotating_image ( 2012-10-14 03:19:38 -0500 )edit

Hey, Yes! Thank you, I found that setting. 32bit Success!

kod3000 gravatar imagekod3000 ( 2012-10-19 07:54:20 -0500 )edit

So, could you please provide detailed answer for your own question? It may help to other beginners...

Kirill Kornyakov gravatar imageKirill Kornyakov ( 2012-10-19 10:49:03 -0500 )edit