admin管理员组

文章数量:1608632

解决使用MATLAB coder生成基于C++的 .exe时报错:The make command returned an error of 2 Error(s) encountered while building "Image" ??? Build error: C++ compiler produced errors. See the Build Log for further details.,查看错误提示,显示NMAKE : fatal error U1073: 不知道如何生成“Files\opencv\opencv4_3_0\opencv\build\x64\vc15\lib\opencv_world430.lib”

而我们在添加依赖项时,路径中包含空格,提示中却没有空格,路径不统一。

解决办法:将opencv安装在没有空格的路径下,然后在添加路径,如下图所示,问题成功解决。

本文标签: CompilerErrorBuildproduceddetails