我使用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(版本:3.20.3),我该如何解决这个问题?我使用的是Windows。
发布于 2021-06-03 22:25:35
如果在终端中执行cmake --version会发生什么?
https://stackoverflow.com/questions/67823210
复制相似问题