justadudewhohacks / justadudewhohacks/opencv4nodejs
Solved installing on Windows
- Dominant language
- C++
- Stars
- 5.1k
- Forks
- 826
- PR merge metrics
- No merged PRs in 30d
Description
I could not install opencv4nodejs on Windows 11 with node 16, npm 8, and Visual Studio 2019 build tools.
I downgraded to node 14 and npm 6.
I had Visual Studio 2017 build tools installed with 2019, but the installation looked from 15.0 in the 2019 folder.
I uninstalled 2019 tools, repaired 2017 from the VS Installer, and successfully installed openvs4nodejs from Developer Command Prompt for VS 2017.
I found this https://github.com/justadudewhohacks/opencv4nodejs/issues/717 alternative to uninstalling 2019.
```
info install failed to find auto-build.json: C:\Users\skele\Documents\apps\voice\socket\node_modules\opencv-build\opencv\auto-build.json
info install
info install running install script...
info install
info install opencv version: 3.4.6
info install with opencv contrib: yes
info install custom build flags:
info install
info install executing: git --version
info install git --version: git version 2.36.0.windows.1
info install
info install executing: cmake --version
info install cmake --version: cmake version 3.12.18081601-MSVC_2
info install
info install CMake suite maintained and supported by Kitware (kitware.com/cmake).
info install
info install using msbuild: {
info install path: 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\MSBuild\\15.0\\Bin\\MSBuild.exe',
info install version: 15
info install }
npm ERR! opencv-build@0.1.9 install: `node ./install.js`
```
Contributor guide
Assessment
This issue has not been assessed yet.