Closed ellisju closed 3 years ago
It seems that your VCPKG_ROOT variable is not defined, but you should just have received a yellow warning in that case... could you please
Write-Host $env:VCPKG_ROOT
dir $env:VCPKG_ROOT
. If it is empty, please set up an environment variable (in your account is perfect, it is not necessary to have it system-wide) whose name is VCPKG_ROOT and whose value is the path to the root folder of vcpkg (as per vcpkg documentation)cd $env:VCPKG_ROOT ; .\vcpkg list
. I will try to set up a .ps1 script that sets up everything asap, in the meantime it should not be so difficult anyway to do it by yourself. Please let me know any problem you may encounter
Hi, @cenit , sorry for the delay in responding, I wasn't able to work on this stuff the past few days. In answer to your queries:
$ cat .git/refs/heads/master 50956447f88279f81571a2827d003cd0d70ac243
C:\lib\vcpkg
Hi @ellisju, please delete the folders buildwin*, then relaunch build.ps1 and send the full log of the first try. Subsequent tests have a shorter log less useful. Bonus: tell me exact version of cuda, CMake, visual studio, attach the CMakeCache.txt file created in the build_win_debug folder
Hi @cenit, here is what you asked for:
The output I originally included is from the first build.ps1 run. This time around, I deleted all of the buildwin* folders, but it is still not going into original state. I am getting shorter output, with a lot of messages like:
CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_release/CMakeFiles/generate.stamp is up-to-date.
It seems there something else I need to clear in order to get it back in its original state? I included a directory listing with the script output so you can verify that I did indeed remove the proper folders.
That said, it still fails with the same cmake error.
The CUDA installation is version 10.0:
echo $env:CUDA_PATH C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0 echo $env:CUDA_BIN_PATH C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin
CMake is version 3.14.0-rc2:
cmake --version cmake version 3.14.0-rc2
CMake suite maintained and supported by Kitware (kitware.com/cmake).
Visual Studio is Community 2017, version 15.7.2.
Ok, I found the problem: CMake is not able to find CUDA on your system using the new enable_language(CUDA)
-- Looking for a CUDA compiler
-- Looking for a CUDA compiler - NOTFOUND
While at the same time OpenCV found it using the “old” FindCUDA.cmake
, resulting in a mess in the end. I already found similar situations while not being able to recreate one on my computer. Could you please tell me the output of gci env:
from powershell? Just trying to diagnose the problem, I still have to understand what to look for to be honest
@cenit Great news that you've been able to narrow it down! Here is the output:
gci env:
Name Value
DOTNET_ADD_64BIT 1 DOTNET_PREFERRED_BITNESS 64 __VSCMD_PREINIT_PATH ;;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin;C:\Program Files\NVIDIA... ALLUSERSPROFILE C:\ProgramData APPDATA C:\Users\Justin\AppData\Roaming CommandPromptType Native CommonProgramFiles C:\Program Files\Common Files CommonProgramFiles(x86) C:\Program Files (x86)\Common Files CommonProgramW6432 C:\Program Files\Common Files COMPUTERNAME DESKTOP-4AV7BLL ComSpec C:\WINDOWS\system32\cmd.exe CUDA_BIN_PATH C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin CUDA_PATH C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0 DevEnvDir C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\ DriverData C:\Windows\System32\Drivers\DriverData ExtensionSdkDir C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs Framework40Version v4.0 FrameworkDir C:\Windows\Microsoft.NET\Framework64\ FrameworkDir64 C:\Windows\Microsoft.NET\Framework64\ FrameworkVersion v4.0.30319 FrameworkVersion64 v4.0.30319 GIT_LFS_PATH C:\Program Files\Git LFS GOPATH C:\Users\Justin\projects\go GOROOT C:\Go\ GTK_BASEPATH C:\Program Files (x86)\GtkSharp\2.12\ HOMEDRIVE C: HOMEPATH \Users\Justin INCLUDE C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.264... LIB C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.264... LIBPATH C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.264... LOCALAPPDATA C:\Users\Justin\AppData\Local LOGONSERVER \DESKTOP-4AV7BLL NETFXSDKDir C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\ NUMBER_OF_PROCESSORS 8 NVCUDASAMPLES8_0_ROOT C:\ProgramData\NVIDIA Corporation\CUDA Samples\v8.0 NVTOOLSEXT_PATH C:\Program Files\NVIDIA Corporation\NvToolsExt\ OneDrive C:\Users\Justin\OneDrive OneDriveConsumer C:\Users\Justin\OneDrive OS Windows_NT Path C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.264... PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL PROCESSOR_ARCHITECTURE AMD64 PROCESSOR_IDENTIFIER Intel64 Family 6 Model 60 Stepping 3, GenuineIntel PROCESSOR_LEVEL 6 PROCESSOR_REVISION 3c03 ProgramData C:\ProgramData ProgramFiles C:\Program Files ProgramFiles(x86) C:\Program Files (x86) ProgramW6432 C:\Program Files PROMPT $P$G PSModulePath C:\Users\Justin\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShel... PUBLIC C:\Users\Public SystemDrive C: SystemRoot C:\WINDOWS TEMP C:\Users\Justin\AppData\Local\Temp TMP C:\Users\Justin\AppData\Local\Temp UCRTVersion 10.0.17134.0 UniversalCRTSdkDir C:\Program Files (x86)\Windows Kits\10\ USERDOMAIN DESKTOP-4AV7BLL USERDOMAIN_ROAMINGPROFILE DESKTOP-4AV7BLL USERNAME ellisju USERPROFILE C:\Users\Justin VBOX_INSTALL_PATH C:\Program Files\Oracle\VirtualBox VBOX_MSI_INSTALL_PATH C:\Program Files\Oracle\VirtualBox\ VCIDEInstallDir C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\ VCINSTALLDIR C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\ VCPKG_DEFAULT_TRIPLET x64-windows VCPKG_ROOT C:\lib\vcpkg VCToolsInstallDir C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428\ VCToolsRedistDir C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.14.26... VCToolsVersion 14.14.26428 VisualStudioVersion 15.0 VS150COMNTOOLS C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\ VSCMD_ARG_app_plat Desktop VSCMD_ARG_HOST_ARCH x64 VSCMD_ARG_TGT_ARCH x64 VSCMD_VER 15.7.2 VSINSTALLDIR C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\ windir C:\WINDOWS WindowsLibPath C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17134.0;C:\Program Files (x... WindowsSDK_ExecutablePath_x64 C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\ WindowsSDK_ExecutablePath_x86 C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\ WindowsSdkBinPath C:\Program Files (x86)\Windows Kits\10\bin\ WindowsSdkDir C:\Program Files (x86)\Windows Kits\10\ WindowsSDKLibVersion 10.0.17134.0\ WindowsSdkVerBinPath C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\ WindowsSDKVersion 10.0.17134.0\
did you install the package "Visual Studio Integration" during CUDA install? It seems that this package is required by the new enable_language(CUDA)
but was not necessary for the old find_package(CUDA)
. While technically not necessary to build CUDA on Windows, it becomes important when building using MSBuild (which is the toolchain that we exploit, required to produce a solution on windows, otherwise we could just deal with ninja
).
Let's keep in touch if possible. Please try to re-run CUDA installer and check if this option was enabled. If it was, I still have many things to try and if it's ok for you, I would like you to help me debug this problem.
@cenit:
I had installed the Visual Studio Integration, and running the CUDA installer again it said my current version was 10.0.0, but I re-installed it anyway. I removed the winbuild* folders and tried again, but still no joy. I have pasted the script output below.
I have no problem helping debug what's going on. If you want to get in contact via a chat or something to try things out in "real time," let me know.
Hi guys
I have the same problem. Thanks for looking at this
Here's the result of gci env: for me -
PS C:\Code\vcpkg> gci env:
Name Value
DOTNET_ADD_64BIT 1 DOTNET_PREFERRED_BITNESS 64 __VSCMD_PREINIT_PATH C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\libnvvp;;C:\windows\system32;C:\windows;... ALLUSERSPROFILE C:\ProgramData APPDATA C:\Users\email\AppData\Roaming CommandPromptType Native CommonProgramFiles C:\Program Files\Common Files CommonProgramFiles(x86) C:\Program Files (x86)\Common Files CommonProgramW6432 C:\Program Files\Common Files COMPLUS_MDA 0 COMPUTERNAME DESKTOP-D5S3GQG ComSpec C:\WINDOWS\system32\cmd.exe CUDA_PATH C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0 CUDA_PATH_V10_0 C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0 CUDNN C:\cudnn\cudnn-10.0-windows10-x64-v7.4.2.24\cuda DevEnvDir C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\ DriverData C:\Windows\System32\Drivers\DriverData ExtensionSdkDir C:\Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs Framework40Version v4.0 FrameworkDir C:\WINDOWS\Microsoft.NET\Framework64\ FrameworkDIR64 C:\WINDOWS\Microsoft.NET\Framework64 FrameworkVersion v4.0.30319 FrameworkVersion64 v4.0.30319 FSHARPINSTALLDIR C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\FSharp\ HOMEDRIVE C: HOMEPATH \Users\email INCLUDE C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include;C:\Program Files (x86)\Microsoft Visual Studio\2017\Com... LIB C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Com... LIBPATH C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\lib\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Com... LOCALAPPDATA C:\Users\email\AppData\Local LOGONSERVER \DESKTOP-D5S3GQG NETFXSDKDir C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\ NUMBER_OF_PROCESSORS 8 NVCUDASAMPLES_ROOT C:\ProgramData\NVIDIA Corporation\CUDA Samples\v10.0 NVCUDASAMPLES10_0_ROOT C:\ProgramData\NVIDIA Corporation\CUDA Samples\v10.0 NVTOOLSEXT_PATH C:\Program Files\NVIDIA Corporation\NvToolsExt\ OneDrive C:\Users\email\OneDrive OneDriveConsumer C:\Users\email\OneDrive OS Windows_NT Path C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Co... PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL PROCESSOR_ARCHITECTURE AMD64 PROCESSOR_IDENTIFIER Intel64 Family 6 Model 142 Stepping 10, GenuineIntel PROCESSOR_LEVEL 6 PROCESSOR_REVISION 8e0a ProgramData C:\ProgramData ProgramFiles C:\Program Files ProgramFiles(x86) C:\Program Files (x86) ProgramW6432 C:\Program Files PROMPT $P$G PSModulePath C:\Users\email\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules PUBLIC C:\Users\Public SystemDrive C: SystemRoot C:\WINDOWS TEMP C:\Users\email\AppData\Local\Temp TMP C:\Users\email\AppData\Local\Temp UCRTVersion 10.0.17763.0 UniversalCRTSdkDir C:\Program Files (x86)\Windows Kits\10\ USERDOMAIN DESKTOP-D5S3GQG USERDOMAIN_ROAMINGPROFILE DESKTOP-D5S3GQG USERNAME email USERPROFILE C:\Users\email VCIDEInstallDir C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\ VCINSTALLDIR C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\ VCPKG_DEFAULT_TRIPLET x64-windows VCPKG_ROOT C:\Code\vcpkg VCToolsInstallDir C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ VCToolsRedistDir C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.16.27012\ VCToolsVersion 14.16.27023 VisualStudioVersion 15.0 VS140COMNTOOLS C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\ VS150COMNTOOLS C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\ VSCMD_ARG_app_plat Desktop VSCMD_ARG_HOST_ARCH x64 VSCMD_ARG_TGT_ARCH x64 VSCMD_VER 15.9.7 VSINSTALLDIR C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\ windir C:\WINDOWS WindowsLibPath C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17763.0;C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0 WindowsSDK_ExecutablePath_x64 C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\ WindowsSDK_ExecutablePath_x86 C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\ WindowsSdkBinPath C:\Program Files (x86)\Windows Kits\10\bin\ WindowsSdkDir C:\Program Files (x86)\Windows Kits\10\ WindowsSDKLibVersion 10.0.17763.0\ WindowsSdkVerBinPath C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\ WindowsSDKVersion 10.0.17763.0\
could you please try building from PR #2514 ? It should contain some fixes. Also, as always, in case of problems please post full log from first run of build.ps1
@cenit Thank you! It now builds, and appears to be training happily.
I had to copy cudnn64_7.dll manually to the build folder btw
yes, unfortunately the dll management (republishing) is still not complete. It will be soon ;)
Glad that it works, anyway. Let's hope to see the PR merged soon!
@cenit It looks like it worked, thank you!
@cenit:
I had installed the Visual Studio Integration, and running the CUDA installer again it said my current version was 10.0.0, but I re-installed it anyway. I removed the winbuild* folders and tried again, but still no joy. I have pasted the script output below.
I have no problem helping debug what's going on. If you want to get in contact via a chat or something to try things out in "real time," let me know.
Output of build.ps1 after re-installing CUDA Visual Studio Integration
After that, I got the following information:
Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18362.
The CUDA compiler identification is unknown
Detecting CUDA compiler ABI info
CMake Error in E:/Yolo/darknet-master/CMakeFiles/CMakeTmp/CMakeLists.txt:
CUDA_ARCHITECTURES is empty for target "cmTC_34a1b".
CMake Error in E:/Yolo/darknet-master/CMakeFiles/CMakeTmp/CMakeLists.txt:
CUDA_ARCHITECTURES is empty for target "cmTC_34a1b".
CMake Error in E:/Yolo/darknet-master/CMakeFiles/CMakeTmp/CMakeLists.txt:
CUDA_ARCHITECTURES is empty for target "cmTC_34a1b".
CMake Error in E:/Yolo/darknet-master/CMakeFiles/CMakeTmp/CMakeLists.txt:
CUDA_ARCHITECTURES is empty for target "cmTC_34a1b".
CMake Error at D:/cmake-3.19.7-win64-x64/share/cmake-3.19/Modules/CMakeDetermineCompilerABI.cmake:48 (try_compile):
Failed to generate test project build system.
Call Stack (most recent call first):
D:/cmake-3.19.7-win64-x64/share/cmake-3.19/Modules/CMakeTestCUDACompiler.cmake:19 (CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:94 (enable_language)
Configuring incomplete, errors occurred!
See also "E:/Yolo/darknet-master/CMakeFiles/CMakeOutput.log".
See also "E:/Yolo/darknet-master/CMakeFiles/CMakeError.log".
I am trying to follow the README.md steps to build with CUDA support in my Windows environment (using the build.ps1 script,) and I get a ton of "unresolved external symbol" errors and then finally an error, "Could not find toolchain file: /scripts/buildsystems/vcpkg.cmake." I figure I must be missing an environment variable or a library installation somewhere, but I don't know where to begin looking. I would appreciate any help anyone might be able to offer!
The script command output is here:
PS C:\Users\Justin\projects\darknet> ./build.ps1 Directory: C:\Users\Justin\projects\darknet Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 2/24/2019 6:06 PM build_win_debug -- Found cuDNN: v7.5.0 (include: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/include, library: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/cudnn.lib) -- Found OpenMP_C: -openmp -- Found OpenMP_CXX: -openmp -- Found OpenMP: TRUE -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_TOOLCHAIN_FILE -- Build files have been written to: C:/Users/Justin/projects/darknet/build_win_debug Microsoft (R) Build Engine version 15.7.179.6572 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Creating library C:/Users/Justin/projects/darknet/build_win_debug/Debug/darklib.lib and object C:/Users/Justin/projects/darknet/build_win_debug/Debug/darklib.exp darknet.obj : error LNK2019: unresolved external symbol cudaSetDeviceFlags referenced in function main [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] lstm_layer.obj : error LNK2019: unresolved external symbol activate_array_ongpu referenced in function make_lstm_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] shortcut_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] activation_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] shortcut_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] activation_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] rnn_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] nightmare.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] normalization_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] activation_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] detection_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] avgpool_layer.obj : error LNK2019: unresolved external symbol forward_avgpool_layer_gpu referenced in function make_avgpool_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] avgpool_layer.obj : error LNK2019: unresolved external symbol backward_avgpool_layer_gpu referenced in function make_avgpool_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] batchnorm_layer.obj : error LNK2019: unresolved external symbol simple_copy_ongpu referenced in function forward_batchnorm_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] route_layer.obj : error LNK2001: unresolved external symbol simple_copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol simple_copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] batchnorm_layer.obj : error LNK2019: unresolved external symbol normalize_gpu referenced in function forward_batchnorm_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] batchnorm_layer.obj : error LNK2019: unresolved external symbol scale_bias_gpu referenced in function forward_batchnorm_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] batchnorm_layer.obj : error LNK2019: unresolved external symbol add_bias_gpu referenced in function forward_batchnorm_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol add_bias_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] classifier.obj : error LNK2019: unresolved external symbol train_networks referenced in function "void __cdecl train_classifier(char *,char *,char *,int *,int,int,int,int,int)" (?train_classifier@@YAXPEAD00PEAHHHHHH@Z) [C:\Users\Justin\ projects\darknet\build_win_debug\darknet.vcxproj] detector.obj : error LNK2001: unresolved external symbol train_networks [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] classifier.obj : error LNK2019: unresolved external symbol sync_nets referenced in function "void __cdecl train_classifier(char *,char *,char *,int *,int,int,int,int,int)" (?train_classifier@@YAXPEAD00PEAHHHHHH@Z) [C:\Users\Justin\proje cts\darknet\build_win_debug\darknet.vcxproj] detector.obj : error LNK2001: unresolved external symbol sync_nets [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] connected_layer.obj : error LNK2019: unresolved external symbol cudaPeekAtLastError referenced in function push_connected_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cuda.obj : error LNK2001: unresolved external symbol cudaPeekAtLastError [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol cudaPeekAtLastError [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] connected_layer.obj : error LNK2019: unresolved external symbol constrain_ongpu referenced in function backward_connected_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] rnn_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] route_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] shortcut_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] softmax_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] normalization_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cost_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] detection_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] connected_layer.obj : error LNK2019: unresolved external symbol scal_ongpu referenced in function update_connected_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol scal_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] normalization_layer.obj : error LNK2001: unresolved external symbol scal_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] network.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] rnn.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] rnn_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] upsample_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol cudaDeviceSynchronize referenced in function binary_align_weights [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] gemm.obj : error LNK2001: unresolved external symbol cudaDeviceSynchronize [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol cudaMalloc referenced in function binary_align_weights [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cuda.obj : error LNK2001: unresolved external symbol cudaMalloc [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] parser.obj : error LNK2001: unresolved external symbol cudaMalloc [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol cudaMemGetInfo referenced in function resize_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol cudaMemcpy referenced in function binary_align_weights [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol forward_convolutional_layer_gpu referenced in function make_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol forward_convolutional_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol backward_convolutional_layer_gpu referenced in function make_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol backward_convolutional_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol update_convolutional_layer_gpu referenced in function make_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol update_convolutional_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cost_layer.obj : error LNK2019: unresolved external symbol supp_ongpu referenced in function forward_cost_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cost_layer.obj : error LNK2019: unresolved external symbol mask_ongpu referenced in function forward_cost_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cost_layer.obj : error LNK2019: unresolved external symbol smooth_l1_gpu referenced in function forward_cost_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cost_layer.obj : error LNK2019: unresolved external symbol l2_gpu referenced in function forward_cost_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] crnn_layer.obj : error LNK2019: unresolved external symbol push_convolutional_layer referenced in function push_crnn_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] network.obj : error LNK2001: unresolved external symbol push_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] parser.obj : error LNK2001: unresolved external symbol push_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] crnn_layer.obj : error LNK2019: unresolved external symbol pull_convolutional_layer referenced in function pull_crnn_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] parser.obj : error LNK2001: unresolved external symbol pull_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] crop_layer.obj : error LNK2019: unresolved external symbol forward_crop_layer_gpu referenced in function make_crop_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaGetLastError referenced in function check_error [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] network.obj : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] parser.obj : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaGetErrorString referenced in function check_error [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaGetDeviceProperties referenced in function get_gpu_compute_capability [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaSetDevice referenced in function cuda_set_device [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaGetDevice referenced in function cuda_get_device [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaStreamCreate referenced in function get_cuda_stream [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaStreamCreateWithFlags referenced in function get_cuda_stream [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaStreamSynchronize referenced in function cuda_pull_array [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaFree referenced in function cuda_free [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] maxpool_layer.obj : error LNK2001: unresolved external symbol cudaFree [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaMemcpyAsync referenced in function cuda_pull_array [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] dropout_layer.obj : error LNK2019: unresolved external symbol forward_dropout_layer_gpu referenced in function make_dropout_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] dropout_layer.obj : error LNK2019: unresolved external symbol backward_dropout_layer_gpu referenced in function make_dropout_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] gemm.obj : error LNK2019: unresolved external symbol transpose_32x32_bits_reversed_diagonale referenced in function transpose_bin$omp$1 [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] gru_layer.obj : error LNK2019: unresolved external symbol mul_ongpu referenced in function forward_gru_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol mul_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] normalization_layer.obj : error LNK2001: unresolved external symbol mul_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] gru_layer.obj : error LNK2019: unresolved external symbol weighted_delta_gpu referenced in function backward_gru_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] gru_layer.obj : error LNK2019: unresolved external symbol weighted_sum_gpu referenced in function forward_gru_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] gru_layer.obj : error LNK2019: unresolved external symbol mult_add_into_gpu referenced in function backward_gru_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] layer.obj : error LNK2019: unresolved external symbol cudaFreeHost referenced in function free_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] network.obj : error LNK2001: unresolved external symbol cudaFreeHost [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol cudaFreeHost [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] local_layer.obj : error LNK2019: unresolved external symbol im2col_ongpu referenced in function forward_local_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] local_layer.obj : error LNK2019: unresolved external symbol col2im_ongpu referenced in function backward_local_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] maxpool_layer.obj : error LNK2019: unresolved external symbol forward_maxpool_layer_gpu referenced in function make_maxpool_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] maxpool_layer.obj : error LNK2019: unresolved external symbol backward_maxpool_layer_gpu referenced in function make_maxpool_layer [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] network.obj : error LNK2019: unresolved external symbol cudaHostAlloc referenced in function "enum cudaError __cdecl cudaHostAlloc