Access denied when debugging ALL_BUILD in CMake

asked 2019-09-18 23:02:39 -0600

Vizier87 gravatar image

updated 2019-09-18 23:03:32 -0600

Hi all,

I've been following a tutorial using CMake to operate the latest OpenCV 4.1.

My issue is that I got this error message when debugging the CMake targets as required (ALL_BUILD and INSTALL) under debug and release:

Unable to start program C:\OpenCV***

Access is denied.

After some reading on similar issues, I have not found any linked to OpenCV though there are similar cases.

I ran VS2019 as an administrator. The OpenCV version is the latest 4.1.1.

Any thoughts on how I should troubleshoot this?



edit retag flag offensive close merge delete


What do you want to debug?

LBerger gravatar imageLBerger ( 2019-09-19 02:07:39 -0600 )edit