【发布时间】:2021-06-03 14:20:05
【问题描述】:
我使用 Visual Studio 代码,并尝试在我的项目中使用 opencv。
npm install opencv4nodejs
Error:
ERR! Error: failed to execute cmake --version, cmake is required to build opencv, error is: Error: Command failed: cmake --version
'cmake'��(��) ���� �Ǵ� �ܺ� ����, ������ �� �ִ� ���α�, �Ǵ�
��ġ ������ �ƴմϴ�.
npm ERR! opencv-build@0.1.9 install: `node ./install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the opencv-build@0.1.9 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
我以为是cmake的错误,但是我已经安装了cmake(version:3.20.3) 我该如何解决这个问题?我使用 Windows。
【问题讨论】:
标签: opencv visual-studio-code cmake opencv4nodejs