为了账号安全,请及时绑定邮箱和手机立即绑定

如图,请问这是什么意思,是失败了吧?除了Generating done,上面的都是红色的字。

如图,请问这是什么意思,是失败了吧?除了Generating done,上面的都是红色的字。

-----------------------------------------------------------
Configuring done

到这里为止,一切正常,我再点了一次Configure,红选项变白选项,这里没问题。
接下来就有问题了。
CMake Warning (dev) at apps/haartraining/CMakeLists.txt:37 (add_library): Policy CMP0038 is not set: Targets may not link directly to themselves. Run "cmake --help-policy CMP0038" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Target "opencv_haartraining_engine" links to itself.This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at apps/haartraining/CMakeLists.txt:37 (add_library): Policy CMP0038 is not set: Targets may not link directly to themselves. Run "cmake --help-policy CMP0038" for policy details. Use the cmake_policy command to set the policy and suppress this warning

.......................................

Target "opencv_haartraining_engine" links to itself.This warning is for project developers. Use -Wno-dev to suppress it.

Generating done

求解决CMP0038。















查看完整描述

1 回答

?
慕码人8056858

TA贡献1548条经验 获得超6个赞

<script type="text/javascript"> 
Leaf leaf = new Leaf("Leaf D");
root.Add(leaf);
root.Remove(leaf);
root.Display(1);
Console.Read();
}

查看完整回答
反对 回复 2023-01-10
  • 1 回答
  • 0 关注
  • 9 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信