From b50af4ea744236755f0459dc27680abb052c1f24 Mon Sep 17 00:00:00 2001 From: yuqiang <932967248@qq.com> Date: Wed, 16 May 2018 20:08:48 +0800 Subject: [PATCH] Added support for building on Windows (MSVC). Open "darknet.sln" in Visual Studio, then build it. Pthreads: https://sourceware.org/pub/pthreads-win32/dll-latest/ --- .gitignore | 8 + darknet.sln | 24 ++ darknet/darknet.vcxproj | 387 ++++++++++++++++++++++++++++++ darknet/darknet.vcxproj.filters | 413 ++++++++++++++++++++++++++++++++ 4 files changed, 832 insertions(+) create mode 100644 darknet.sln create mode 100644 darknet/darknet.vcxproj create mode 100644 darknet/darknet.vcxproj.filters diff --git a/.gitignore b/.gitignore index 9cab30c1..f8062972 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,14 @@ cfg/ #darknet .fuse* *.user* +*.opendb +*.VC.db +.qmake.stash +.vs/ +[Dd]ebug/ +[Rr]elease/ +[Xx]64/ +[Xx]86/ # OS Generated # .DS_Store* diff --git a/darknet.sln b/darknet.sln new file mode 100644 index 00000000..40c00c22 --- /dev/null +++ b/darknet.sln @@ -0,0 +1,24 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +VisualStudioVersion = 14.0.25420.1 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "darknet", "darknet\darknet.vcxproj", "{5BB8AB83-2693-3849-9607-2A3A9D920F31}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5BB8AB83-2693-3849-9607-2A3A9D920F31}.Debug|x64.ActiveCfg = Debug|x64 + {5BB8AB83-2693-3849-9607-2A3A9D920F31}.Debug|x64.Build.0 = Debug|x64 + {5BB8AB83-2693-3849-9607-2A3A9D920F31}.Release|x64.ActiveCfg = Release|x64 + {5BB8AB83-2693-3849-9607-2A3A9D920F31}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + Qt5Version = Qt-5.10.1-msvc2015-x64 + EndGlobalSection +EndGlobal diff --git a/darknet/darknet.vcxproj b/darknet/darknet.vcxproj new file mode 100644 index 00000000..16919e54 --- /dev/null +++ b/darknet/darknet.vcxproj @@ -0,0 +1,387 @@ + + + + + Release + x64 + + + Debug + x64 + + + + {5BB8AB83-2693-3849-9607-2A3A9D920F31} + darknet + Qt4VSv1.0 + 10.0.14393.0 + + + + v140 + release\ + false + NotSet + Application + release\ + darknet + + + v140 + debug\ + false + NotSet + Application + debug\ + darknetd + + + + + true + + + + $(MSBuildProjectDirectory)\QtMsBuild + + + + + + + + + + + + + + + + + release\ + $(Platform)\$(Configuration)\ + darknet + true + false + debug\ + $(Platform)\$(Configuration)\ + darknetd + true + + + + .\GeneratedFiles\$(ConfigurationName);.\GeneratedFiles;.;..\include;..\src;..\windows;..\..\darknet_ThirdParty\Pthreads\include;..\..\darknet_ThirdParty\CUDA\include;..\..\darknet_ThirdParty\OpenCV\include;$(QTDIR)\mkspecs\win32-msvc;%(AdditionalIncludeDirectories) + -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 %(AdditionalOptions) + release\ + false + None + 4577;4467;%(DisableSpecificWarnings) + Sync + $(IntDir) + MaxSpeed + _CONSOLE;UNICODE;_UNICODE;WIN32;WIN64;GPU;CUDNN;OPENCV;OPENMP;HAVE_STRUCT_TIMESPEC;NDEBUG;%(PreprocessorDefinitions) + false + $(IntDir)vc$(PlatformToolsetVersion).pdb + MultiThreadedDLL + true + true + Level3 + + + ..\..\darknet_ThirdParty\Pthreads\lib\pthreadVC2.lib;..\..\darknet_ThirdParty\CUDA\lib\x64\cuda.lib;..\..\darknet_ThirdParty\CUDA\lib\x64\cudart.lib;..\..\darknet_ThirdParty\CUDA\lib\x64\cublas.lib;..\..\darknet_ThirdParty\CUDA\lib\x64\curand.lib;..\..\darknet_ThirdParty\CUDA\lib\x64\cudnn.lib;..\..\darknet_ThirdParty\OpenCV\lib\opencv_core2413.lib;..\..\darknet_ThirdParty\OpenCV\lib\opencv_highgui2413.lib;..\..\darknet_ThirdParty\OpenCV\lib\opencv_imgproc2413.lib;Ws2_32.lib;%(AdditionalDependencies) + $(QTDIR)\lib;..\..\darknet_ThirdParty\Pthreads\bin;..\..\darknet_ThirdParty\Pthreads\lib;..\..\darknet_ThirdParty\CUDA\bin;..\..\darknet_ThirdParty\CUDA\nvvm\bin;..\..\darknet_ThirdParty\CUDA\lib\x64;..\..\darknet_ThirdParty\OpenCV\bin;..\..\darknet_ThirdParty\OpenCV\lib;%(AdditionalLibraryDirectories) + "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" %(AdditionalOptions) + true + false + true + false + $(OutDir)\darknet.exe + true + Console + true + 0.1 + + + Unsigned + None + 0 + + + _CONSOLE;UNICODE;_UNICODE;WIN32;WIN64;GPU;CUDNN;OPENCV;OPENMP;HAVE_STRUCT_TIMESPEC;%(PreprocessorDefinitions) + + + + + .\GeneratedFiles\$(ConfigurationName);.\GeneratedFiles;.;..\include;..\src;..\windows;..\..\darknet_ThirdParty\Pthreads\include;..\..\darknet_ThirdParty\CUDA\include;..\..\darknet_ThirdParty\OpenCV\include;$(QTDIR)\mkspecs\win32-msvc;%(AdditionalIncludeDirectories) + -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 %(AdditionalOptions) + debug\ + false + ProgramDatabase + 4577;4467;%(DisableSpecificWarnings) + Sync + $(IntDir) + Disabled + _CONSOLE;UNICODE;_UNICODE;WIN32;WIN64;GPU;CUDNN;OPENCV;OPENMP;HAVE_STRUCT_TIMESPEC;%(PreprocessorDefinitions) + false + MultiThreadedDebugDLL + true + true + Level3 + $(IntDir)vc$(PlatformToolsetVersion).pdb + + + ..\..\darknet_ThirdParty\Pthreads\lib\pthreadVC2.lib;..\..\darknet_ThirdParty\CUDA\lib\x64\cuda.lib;..\..\darknet_ThirdParty\CUDA\lib\x64\cudart.lib;..\..\darknet_ThirdParty\CUDA\lib\x64\cublas.lib;..\..\darknet_ThirdParty\CUDA\lib\x64\curand.lib;..\..\darknet_ThirdParty\CUDA\lib\x64\cudnn.lib;..\..\darknet_ThirdParty\OpenCV\lib\opencv_core2413d.lib;..\..\darknet_ThirdParty\OpenCV\lib\opencv_highgui2413d.lib;..\..\darknet_ThirdParty\OpenCV\lib\opencv_imgproc2413d.lib;Ws2_32.lib;%(AdditionalDependencies) + $(QTDIR)\lib;..\..\darknet_ThirdParty\Pthreads\bin;..\..\darknet_ThirdParty\Pthreads\lib;..\..\darknet_ThirdParty\CUDA\bin;..\..\darknet_ThirdParty\CUDA\nvvm\bin;..\..\darknet_ThirdParty\CUDA\lib\x64;..\..\darknet_ThirdParty\OpenCV\bin;..\..\darknet_ThirdParty\OpenCV\lib;%(AdditionalLibraryDirectories) + "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" %(AdditionalOptions) + true + true + true + $(OutDir)\darknetd.exe + true + Console + true + 0.1 + + + Unsigned + None + 0 + + + _CONSOLE;UNICODE;_UNICODE;WIN32;WIN64;GPU;CUDNN;OPENCV;OPENMP;HAVE_STRUCT_TIMESPEC;_DEBUG;%(PreprocessorDefinitions) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ..\src\activation_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413 -lopencv_highgui2413 -lopencv_imgproc2413 -lWs2_32 -Xcompiler /MD -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\activation_kernels_cuda.obj ..\src\activation_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\activation_kernels_cuda.obj;%(Outputs) + ..\src\activation_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413d -lopencv_highgui2413d -lopencv_imgproc2413d -lWs2_32 -D_DEBUG -Xcompiler /MDd -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\activation_kernels_cuda.obj ..\src\activation_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\activation_kernels_cuda.obj;%(Outputs) + + + ..\src\avgpool_layer_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413 -lopencv_highgui2413 -lopencv_imgproc2413 -lWs2_32 -Xcompiler /MD -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\avgpool_layer_kernels_cuda.obj ..\src\avgpool_layer_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\avgpool_layer_kernels_cuda.obj;%(Outputs) + ..\src\avgpool_layer_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413d -lopencv_highgui2413d -lopencv_imgproc2413d -lWs2_32 -D_DEBUG -Xcompiler /MDd -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\avgpool_layer_kernels_cuda.obj ..\src\avgpool_layer_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\avgpool_layer_kernels_cuda.obj;%(Outputs) + + + ..\src\blas_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413 -lopencv_highgui2413 -lopencv_imgproc2413 -lWs2_32 -Xcompiler /MD -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\blas_kernels_cuda.obj ..\src\blas_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\blas_kernels_cuda.obj;%(Outputs) + ..\src\blas_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413d -lopencv_highgui2413d -lopencv_imgproc2413d -lWs2_32 -D_DEBUG -Xcompiler /MDd -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\blas_kernels_cuda.obj ..\src\blas_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\blas_kernels_cuda.obj;%(Outputs) + + + ..\src\col2im_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413 -lopencv_highgui2413 -lopencv_imgproc2413 -lWs2_32 -Xcompiler /MD -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\col2im_kernels_cuda.obj ..\src\col2im_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\col2im_kernels_cuda.obj;%(Outputs) + ..\src\col2im_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413d -lopencv_highgui2413d -lopencv_imgproc2413d -lWs2_32 -D_DEBUG -Xcompiler /MDd -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\col2im_kernels_cuda.obj ..\src\col2im_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\col2im_kernels_cuda.obj;%(Outputs) + + + ..\src\convolutional_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413 -lopencv_highgui2413 -lopencv_imgproc2413 -lWs2_32 -Xcompiler /MD -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\convolutional_kernels_cuda.obj ..\src\convolutional_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\convolutional_kernels_cuda.obj;%(Outputs) + ..\src\convolutional_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413d -lopencv_highgui2413d -lopencv_imgproc2413d -lWs2_32 -D_DEBUG -Xcompiler /MDd -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\convolutional_kernels_cuda.obj ..\src\convolutional_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\convolutional_kernels_cuda.obj;%(Outputs) + + + ..\src\crop_layer_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413 -lopencv_highgui2413 -lopencv_imgproc2413 -lWs2_32 -Xcompiler /MD -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\crop_layer_kernels_cuda.obj ..\src\crop_layer_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\crop_layer_kernels_cuda.obj;%(Outputs) + ..\src\crop_layer_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413d -lopencv_highgui2413d -lopencv_imgproc2413d -lWs2_32 -D_DEBUG -Xcompiler /MDd -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\crop_layer_kernels_cuda.obj ..\src\crop_layer_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\crop_layer_kernels_cuda.obj;%(Outputs) + + + ..\src\deconvolutional_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413 -lopencv_highgui2413 -lopencv_imgproc2413 -lWs2_32 -Xcompiler /MD -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\deconvolutional_kernels_cuda.obj ..\src\deconvolutional_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\deconvolutional_kernels_cuda.obj;%(Outputs) + ..\src\deconvolutional_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413d -lopencv_highgui2413d -lopencv_imgproc2413d -lWs2_32 -D_DEBUG -Xcompiler /MDd -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\deconvolutional_kernels_cuda.obj ..\src\deconvolutional_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\deconvolutional_kernels_cuda.obj;%(Outputs) + + + ..\src\dropout_layer_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413 -lopencv_highgui2413 -lopencv_imgproc2413 -lWs2_32 -Xcompiler /MD -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\dropout_layer_kernels_cuda.obj ..\src\dropout_layer_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\dropout_layer_kernels_cuda.obj;%(Outputs) + ..\src\dropout_layer_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413d -lopencv_highgui2413d -lopencv_imgproc2413d -lWs2_32 -D_DEBUG -Xcompiler /MDd -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\dropout_layer_kernels_cuda.obj ..\src\dropout_layer_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\dropout_layer_kernels_cuda.obj;%(Outputs) + + + ..\src\im2col_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413 -lopencv_highgui2413 -lopencv_imgproc2413 -lWs2_32 -Xcompiler /MD -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\im2col_kernels_cuda.obj ..\src\im2col_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\im2col_kernels_cuda.obj;%(Outputs) + ..\src\im2col_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413d -lopencv_highgui2413d -lopencv_imgproc2413d -lWs2_32 -D_DEBUG -Xcompiler /MDd -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\im2col_kernels_cuda.obj ..\src\im2col_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\im2col_kernels_cuda.obj;%(Outputs) + + + ..\src\maxpool_layer_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413 -lopencv_highgui2413 -lopencv_imgproc2413 -lWs2_32 -Xcompiler /MD -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\maxpool_layer_kernels_cuda.obj ..\src\maxpool_layer_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\release\maxpool_layer_kernels_cuda.obj;%(Outputs) + ..\src\maxpool_layer_kernels.cu;%(AdditionalInputs) + nvcc -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -gencode arch=compute_50,code=[sm_50,compute_50] -gencode arch=compute_52,code=[sm_52,compute_52] -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DGPU -DCUDNN -DOPENCV -DOPENMP -DHAVE_STRUCT_TIMESPEC -I"./../include" -I"./../src" -I"./../windows" -I"../../darknet_ThirdParty/Pthreads/include" -I"../../darknet_ThirdParty/CUDA/include" -I"../../darknet_ThirdParty/OpenCV/include" -L../../darknet_ThirdParty/Pthreads/bin -L../../darknet_ThirdParty/Pthreads/lib -lpthreadVC2 -L../../darknet_ThirdParty/CUDA/bin -L../../darknet_ThirdParty/CUDA/nvvm/bin -L../../darknet_ThirdParty/CUDA/lib/x64 -lcuda -lcudart -lcublas -lcurand -lcudnn -L../../darknet_ThirdParty/OpenCV/bin -L../../darknet_ThirdParty/OpenCV/lib -lopencv_core2413d -lopencv_highgui2413d -lopencv_imgproc2413d -lWs2_32 -D_DEBUG -Xcompiler /MDd -c -o E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\maxpool_layer_kernels_cuda.obj ..\src\maxpool_layer_kernels.cu + nvcc + E:\temp\darknet\build\darknet-0.1.0-msvc-x64\darknet\debug\maxpool_layer_kernels_cuda.obj;%(Outputs) + + + + + + + + + + + + + \ No newline at end of file diff --git a/darknet/darknet.vcxproj.filters b/darknet/darknet.vcxproj.filters new file mode 100644 index 00000000..8f3d9290 --- /dev/null +++ b/darknet/darknet.vcxproj.filters @@ -0,0 +1,413 @@ + + + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {E0D8C965-CC5F-43d7-AD63-FAEF0BBC0F85}-cuda_compiler + false + + + {E0D8C965-CC5F-43d7-AD63-FAEF0BBC0F85}-cuda_compiler + false + + + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + Source Files + + + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + Header Files + + + + + cuda_compiler + + + cuda_compiler + + + cuda_compiler + + + cuda_compiler + + + cuda_compiler + + + cuda_compiler + + + cuda_compiler + + + cuda_compiler + + + cuda_compiler + + + cuda_compiler + + + \ No newline at end of file