I have a large code base that I wrote to use OpenCV 1.1. Originally I wrote this for a 32 bit Windows XP box. Now I would like to compile the code for 64 bit Windows 7. Here are some questions:
- Are there pre-comipiled 64 bit binaries for OpenCV 1.1 that I can link against? If so where?
- How possible would it be to recompile OpenCV 1.1 from source using mingw-w64 or some other compiler that could target 64bit?
- How difficult would recompiling be compared to updating my code to run with OpenCV2.x?
My code is hefty, maybe ten thousand lines or so. (For those interested the code is here: http://github.com/samuellab/mindcontrol )
Why am I bothering? Why not run this as a 32 bit binary on 64 bit Windows? Well with the migration to newer hardware I must now link my code against 64 bit binaries. As I understand it, I cannot generate 32 bit code that is statically linked to third party 64 bit libraries. So my conclusion is to recompile everything for 64 bit including OpenCV.
I am on Windows 7 64 bit. I have been using 32bit mingw from mingw.org for compiling for 32 bit targets and the mingw-w64 cross compiler for compiling to 64 bit targets.
Any help would be appreciated.
Thank you.