Ask Your Question

pradecki's profile - activity

2014-09-12 00:44:29 -0600 asked a question Reviving old project, VS2008 OpenCV1.0, upgrade complier? OpenCV? both?

I inherited some C++ projects written around 2007 and am trying to understand the best development path for doing some minor changes (e.g. tune a couple parameters) to the code and getting it to re-compile and run with the least amount of work. The code was developed in VS2008 with OpenCV 1.0 I spent the past couple hours trying to get it to compile on my Win7 machine with VS2008 thinking it would be the least troublesome way to get it compiled. Then I downloaded OpenCV2.4.9 assuming it would be backwards compatible only to find that the VC9 libs are not included.

I am trying to figure out the least amount of work that makes the most sense, as I see it I have the following options:

1.) Compile OpenCV 2.4.9 inside VS2008 and pray that nothing besides the lib names changed and that the code will then link properly and function.

2.) Use a VS2010 or VS2013 (both of which I already have installed) and then use the precompiled libs that came with my OpenCV 2.4.9 download.

3.) Download OpenCV 1.0 or 2.0 (whatever one has the precompiled libs for VS2008) and link to that instead of 2.4.9 Corollary question: What is the latest version of OpenCV that includes a VS2008 (i.e. vc9) libs?

Any insight/guidance anyone can provide would be great. This is my first time ever using OpenCV. Eventually I would like to use newest OpenCV/VS combo for new project development but for now I would like the least amount of work to get an old project just compiling. Thanks!