-----------------------------------------------------------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貢獻1803條經驗 獲得超6個贊
<script type="text/javascript">
Leaf leaf = new Leaf("Leaf D");
root.Add(leaf);
root.Remove(leaf);
root.Display(1);
Console.Read();
}
添加回答
舉報
0/150
提交
取消