Build opencv failed use v14.0 toolset
See original GitHub issue - uses: ilammy/msvc-dev-cmd@v1
with:
arch: ${{ matrix.arch }}
toolset: 14.0
https://github.com/xmake-mirror/build-artifacts/runs/3065402363?check_suite_focus=true
67>C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB6001: Invalid command line switch for “cmd.exe”. System.ArgumentException: Item has already been added. Key in dictionary: ‘WINDOWSSDKVERSION’ Key being added: ‘WindowsSDKVersion’ [C:\Users\runneradmin\AppData\Local.xmake\cache\packages\2107\o\opencv\4.5.2\source\opencv-4.5.2\build\ZERO_CHECK.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB6001: at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Failed at the opencv-build@0.0.14 install script on Win10 #406
Hi, I am having troubles to install opencv4node on my Win 10 machine (build 17134.254). It looks like the problem is while installing ......
Read more >Failed to build opencv-python - Stack Overflow
I'm using pycharm. I created a virtual environment to use and when I tried to install the opencv library, I got an error...
Read more >Opencv Build failed - C++
Hi,. I tried to build the (opencv _4.6.0 + contrib_4.6.0) with Cuda support (cuda compatibility 3.5) and Cuda SDK Toolkit 10.0. It failed...
Read more >Build Tools v143 not found - Visual Studio Feedback
“error MSB8052: MSVC Toolset Version '14.30.30705' is not compatible with 'v142' Platform Toolset.” I downloaded and installed “Visual Studio 2022 Community ...
Read more >Install OpenCV 4.5 on Raspberry Pi 4 - Q-engineering
The Python3 installation script is incorrectly modified. It will put all libraries in the wrong directory and Python will not find them. By ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, @waruqi . Did you try to runs-on “windows-2016”? I found that the MSBuild versions are not the same on different runners.
FYI, Search · Invalid command line switch for "cmd.exe" shows that there may be some bugs in MSBuild…