# 在Windows平台下搭建Darknet所遇到的问题

1. VS2012 打开 VS2015创建的工程，会报错误：项目文件包含 ToolsVersion="14.0" 设置，但此工具集未知或缺失。您可以通过为此工具集安装相应的 .NET Framework 来解决此问题。将项目视为具有 ToolsVersion="4.0" 设置。

2. nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures are deprecated, and may be removed in a future release (Use -Wno-deprecated-gpu-targets to suppress warning).

1. -gencode=arch=compute_50,code=\"sm_50,compute_50\"
The warnings went away. Problem solved. Now Visual Studio works just fine.
You definitely steered me in the right direction! Thanks for your help!
PS: I'm just stubborn ... I didn't need to fix this I just don't like to give up. :)
I would have been totally fine using the command line and not waste any time with this Visual Studio shenanigans ... I'm with you in that I prefer classic makefiles myself. Thanks!

3. 在使用Visual Studio 编译代码时，有一个警告很常见warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。这样的警告很烦人，那又怎样才能彻底解决该警告呢？

4. 自己的修改：在maxpool_layer_kernels.cu文件中加入

const double INFINITY = 1e10;

5. YOLO源码解析http://blog.csdn.net/u014540717/article/list/2