OpenCV for Windows7?

asked 2019-02-08 10:04:38 -0600

Hi All, I'd like to use VS2017 to use OpenCV on a Windows 7 machine. However, whenever I try to load a sln file, it says I need Windows 8.1. Can you confirm that the sample applications for OpenCV do not work for Windows 7?

edit retag flag offensive close merge delete


which sln file are you talking about?

LBerger gravatar imageLBerger ( 2019-02-08 10:56:20 -0600 )edit

i think you need Windows 8.1 to run VS2017 OpenCV runs on Windows 7 if properly compiled

sturkmen gravatar imagesturkmen ( 2019-02-08 11:23:49 -0600 )edit

@sturkmen i don't think so : upported Operating Systems

Visual Studio 2017 will install and run on the following operating systems:

Windows 10 version 1507 or higher: Home, Professional, Education, and Enterprise (LTSC and S are not supported)
Windows Server 2016: Standard and Datacenter
Windows 8.1 (with Update 2919355): Core, Professional, and Enterprise
Windows Server 2012 R2 (with Update 2919355): Essentials, Standard, Datacenter
Windows 7 SP1 (with latest Windows Updates): Home Premium, Professional, Enterprise, Ultimate
LBerger gravatar imageLBerger ( 2019-02-08 11:27:24 -0600 )edit

Hi. Thanks for your responses. I was looking at the FaceDetection solution. Here's what I get when I attempt to load the solution into VS2017 on Windows 7 Pro.

'FaceDection (Windows 8.1 required)' in the Solution Explorer.

DaveyDave123 gravatar imageDaveyDave123 ( 2019-02-11 03:02:18 -0600 )edit

BIS : which sln file are you talking about? Don't you use cmake to build sln solution?

LBerger gravatar imageLBerger ( 2019-02-11 03:05:46 -0600 )edit

The one at the sollowing location: C:\opencv\sources\samples\winrt\FaceDetection

I assume these would not need the cmake treatment as obviously they are windows/MSVC specific.

DaveyDave123 gravatar imageDaveyDave123 ( 2019-02-11 04:43:41 -0600 )edit

where did you download this sln file?

LBerger gravatar imageLBerger ( 2019-02-11 05:58:56 -0600 )edit

Try to use CMake to rebuil all sln project using your own configuration It will take 5 minutes and you 'll be able to check sln file.

LBerger gravatar imageLBerger ( 2019-02-11 13:29:27 -0600 )edit