1. Open the x64 option: View->Other windows-->Property Manager
2. Generate --> Configuration Manager, change to X64 as follows
2. Configure OpenCV
Right click on x64 in the first step, the properties are as follows
The configurations are as follows:
Library directory
3. Debug connector
Environment variable: E:\deviceMg\OpenCV\opencv\build\x64\vc15\bin