Cmake3.3.0+VS2015生成opencv2.4.11工程问题 10
-----------------------------------------------------------Configuringdone到这里为止,一切正常,...
-----------------------------------------------------------
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
这是什么意思,绝对是失败了吧,除了Generating done,上面的都是红色的字。
求解决CMP0038。 展开
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
这是什么意思,绝对是失败了吧,除了Generating done,上面的都是红色的字。
求解决CMP0038。 展开
1个回答
2015-08-05
展开全部
<script type="text/javascript">
Leaf leaf = new Leaf("Leaf D");
root.Add(leaf);
root.Remove(leaf);
root.Display(1);
Console.Read();
}
Leaf leaf = new Leaf("Leaf D");
root.Add(leaf);
root.Remove(leaf);
root.Display(1);
Console.Read();
}
追问
什么意思
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询