Hello.
We have a legacy windows application and we want to integrate OpenCV in it.
So I downloaded opencv: version: 3.1.0
.
Also downloaded cmake: 3.11.4
(Which is the latest version that supports visual studio 2005 generator)
And generated .sln
file with:
cmake.exe -G "Visual Studio 8 2005" ..
And opened .sln
file in visual studio 2005 and hit build button. But i got lots of errors:
opencv 3.1.0 build
1>------ Build started: Project: zlib, Configuration: Debug Win32 ------
2>------ Build started: Project: libjasper, Configuration: Debug Win32 ------
1>Compiling...
3>------ Skipped Build: Project: opencv_highgui_object, Configuration: Debug Win32 ------
3>Project not selected to build for this solution configuration
4>------ Build started: Project: libjpeg, Configuration: Debug Win32 ------
5>------ Skipped Build: Project: opencv_imgproc_object, Configuration: Debug Win32 ------
5>Project not selected to build for this solution configuration
6>------ Skipped Build: Project: opencv_flann_object, Configuration: Debug Win32 ------
6>Project not selected to build for this solution configuration
This file has been truncated. show original
Any idea?
I disabled SSE:
cmake.exe -G "Visual Studio 8 2005" -DENABLE_SSE=OFF -DENABLE_SSE2=OFF -DENABLE_SSE3=OFF ..
But got another types of errors:
cmake build: disabled SSE
1>------ Build started: Project: zlib, Configuration: Debug Win32 ------
2>------ Build started: Project: libjasper, Configuration: Debug Win32 ------
3>------ Skipped Build: Project: opencv_highgui_object, Configuration: Debug Win32 ------
3>Project not selected to build for this solution configuration
1>Compiling...
2>Compiling...
4>------ Build started: Project: libjpeg, Configuration: Debug Win32 ------
5>------ Skipped Build: Project: opencv_imgproc_object, Configuration: Debug Win32 ------
5>Project not selected to build for this solution configuration
6>------ Skipped Build: Project: opencv_flann_object, Configuration: Debug Win32 ------
This file has been truncated. show original
berak
November 8, 2021, 5:15pm
3
good luck building a 5 years old codebase with a 16 years old compiler …
maybe at least the 3.1 release has working binaries for you
(so you can skip some of the trouble, building from src) …
Thanks for reply.
I checked the 3.1 release binary. it has only vc9 and vc12 in x86 form.
Do you have any idea how can i fix the errors?
berak
November 9, 2021, 8:29am
5
no real idea, sorry.
however, clean your build folder, when applying major cmake changes (like disabling SSE)