AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.71k stars 7.96k forks source link

Having problems building on Windows 10 #2471

Closed ellisju closed 3 years ago

ellisju commented 5 years ago

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(float * *,unsigned __int64,unsigned int)" (??$cudaHostAlloc@M@@YA?AW4cudaError@@PEAPEAM_KI@Z) [C:\ Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] parser.obj : error LNK2001: unresolved external symbol cudaHostAlloc [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol cudaHostAlloc [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] network.obj : error LNK2019: unresolved external symbol train_network_datum_gpu referenced in function train_network_datum [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] network.obj : error LNK2019: unresolved external symbol network_predict_gpu referenced in function network_predict [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] network.obj : error LNK2019: unresolved external symbol get_network_output_gpu referenced in function get_network_output [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] nightmare.obj : error LNK2019: unresolved external symbol forward_network_gpu referenced in function optimize_picture [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] nightmare.obj : error LNK2019: unresolved external symbol backward_network_gpu referenced in function optimize_picture [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] normalization_layer.obj : error LNK2019: unresolved external symbol const_ongpu referenced in function forward_normalization_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] normalization_layer.obj : error LNK2019: unresolved external symbol pow_ongpu referenced in function forward_normalization_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] region_layer.obj : error LNK2019: unresolved external symbol softmax_gpu referenced in function forward_region_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] region_layer.obj : error LNK2019: unresolved external symbol flatten_ongpu referenced in function forward_region_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] reorg_layer.obj : error LNK2019: unresolved external symbol reorg_ongpu referenced in function forward_reorg_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] reorg_old_layer.obj : error LNK2001: unresolved external symbol reorg_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] shortcut_layer.obj : error LNK2019: unresolved external symbol shortcut_gpu referenced in function backward_shortcut_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] shortcut_layer.obj : error LNK2019: unresolved external symbol input_shortcut_gpu referenced in function forward_shortcut_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] softmax_layer.obj : error LNK2019: unresolved external symbol mask_gpu_new_api referenced in function forward_softmax_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] softmax_layer.obj : error LNK2019: unresolved external symbol softmax_x_ent_gpu referenced in function forward_softmax_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] softmax_layer.obj : error LNK2019: unresolved external symbol softmax_gpu_new_api referenced in function forward_softmax_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] softmax_layer.obj : error LNK2019: unresolved external symbol softmax_tree_gpu referenced in function forward_softmax_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] upsample_layer.obj : error LNK2019: unresolved external symbol upsample_gpu referenced in function forward_upsample_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] C:\Users\Justin\projects\darknet\build_win_debug\Debug\darknet.exe : fatal error LNK1120: 71 unresolved externals [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] yolo_v2_class.obj : error LNK2019: unresolved external symbol cudaGetErrorString referenced in function "void __cdecl check_cuda(enum cudaError)" (?check_cuda@@YAXW4cudaError@@@Z) [C:\Users\Justin\projects\darknet\build_win_debug\darkli b.vcxproj] cuda.obj : error LNK2001: unresolved external symbol cudaGetErrorString [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] yolo_v2_class.obj : error LNK2019: unresolved external symbol cudaGetDeviceCount referenced in function get_device_count [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] yolo_v2_class.obj : error LNK2019: unresolved external symbol cudaGetDeviceProperties referenced in function get_device_name [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] cuda.obj : error LNK2001: unresolved external symbol cudaGetDeviceProperties [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] yolo_v2_class.obj : error LNK2019: unresolved external symbol cudaSetDevice referenced in function "public: __cdecl Detector::Detector(class std::basic_string,class std::allocator >,class std::ba sic_string,class std::allocator >,int)" (??0Detector@@QEAA@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z) [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] cuda.obj : error LNK2001: unresolved external symbol cudaSetDevice [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] yolo_v2_class.obj : error LNK2019: unresolved external symbol cudaGetDevice referenced in function "public: __cdecl Detector::Detector(class std::basic_string,class std::allocator >,class std::ba sic_string,class std::allocator >,int)" (??0Detector@@QEAA@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z) [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] cuda.obj : error LNK2001: unresolved external symbol cudaGetDevice [C:\Users\Justin\projects\darknet\build_win_debug\darklib.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\darklib.vcxproj] shortcut_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] activation_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] shortcut_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] activation_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] rnn_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] nightmare.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] normalization_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] activation_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] detection_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.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\darklib.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\darklib.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\darklib.vcxproj] route_layer.obj : error LNK2001: unresolved external symbol simple_copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol simple_copy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.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\darklib.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\darklib.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\darklib.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol add_bias_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.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\darklib.vcxproj] detector.obj : error LNK2001: unresolved external symbol train_networks [C:\Users\Justin\projects\darknet\build_win_debug\darklib.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\darklib.vcxproj] detector.obj : error LNK2001: unresolved external symbol sync_nets [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] connected_layer.obj : error LNK2019: unresolved external symbol cudaPeekAtLastError referenced in function push_connected_layer [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] cuda.obj : error LNK2001: unresolved external symbol cudaPeekAtLastError [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol cudaPeekAtLastError [C:\Users\Justin\projects\darknet\build_win_debug\darklib.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\darklib.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] rnn_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] route_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] shortcut_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] softmax_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] normalization_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] cost_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] detection_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.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\darklib.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol scal_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] normalization_layer.obj : error LNK2001: unresolved external symbol scal_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] network.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] rnn.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] rnn_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] upsample_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol cudaDeviceSynchronize referenced in function binary_align_weights [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] gemm.obj : error LNK2001: unresolved external symbol cudaDeviceSynchronize [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol cudaMalloc referenced in function binary_align_weights [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] cuda.obj : error LNK2001: unresolved external symbol cudaMalloc [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] parser.obj : error LNK2001: unresolved external symbol cudaMalloc [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol cudaMemGetInfo referenced in function resize_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol cudaMemcpy referenced in function binary_align_weights [C:\Users\Justin\projects\darknet\build_win_debug\darklib.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\darklib.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol forward_convolutional_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.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\darklib.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol backward_convolutional_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.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\darklib.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol update_convolutional_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.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\darklib.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\darklib.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\darklib.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\darklib.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\darklib.vcxproj] network.obj : error LNK2001: unresolved external symbol push_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] parser.obj : error LNK2001: unresolved external symbol push_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_debug\darklib.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\darklib.vcxproj] parser.obj : error LNK2001: unresolved external symbol pull_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_debug\darklib.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\darklib.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaGetLastError referenced in function check_error [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] network.obj : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] parser.obj : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaStreamCreate referenced in function get_cuda_stream [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaStreamCreateWithFlags referenced in function get_cuda_stream [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaStreamSynchronize referenced in function cuda_pull_array [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaFree referenced in function cuda_free [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] maxpool_layer.obj : error LNK2001: unresolved external symbol cudaFree [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaMemcpyAsync referenced in function cuda_pull_array [C:\Users\Justin\projects\darknet\build_win_debug\darklib.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\darklib.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\darklib.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\darklib.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\darklib.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol mul_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] normalization_layer.obj : error LNK2001: unresolved external symbol mul_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.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\darklib.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\darklib.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\darklib.vcxproj] layer.obj : error LNK2019: unresolved external symbol cudaFreeHost referenced in function free_layer [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] network.obj : error LNK2001: unresolved external symbol cudaFreeHost [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol cudaFreeHost [C:\Users\Justin\projects\darknet\build_win_debug\darklib.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\darklib.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\darklib.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\darklib.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\darklib.vcxproj] network.obj : error LNK2019: unresolved external symbol cudaHostAlloc referenced in function "enum cudaError __cdecl cudaHostAlloc(float * *,unsigned __int64,unsigned int)" (??$cudaHostAlloc@M@@YA?AW4cudaError@@PEAPEAM_KI@Z) [C:\ Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] parser.obj : error LNK2001: unresolved external symbol cudaHostAlloc [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol cudaHostAlloc [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] network.obj : error LNK2019: unresolved external symbol train_network_datum_gpu referenced in function train_network_datum [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] network.obj : error LNK2019: unresolved external symbol network_predict_gpu referenced in function network_predict [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] network.obj : error LNK2019: unresolved external symbol get_network_output_gpu referenced in function get_network_output [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] nightmare.obj : error LNK2019: unresolved external symbol forward_network_gpu referenced in function optimize_picture [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] nightmare.obj : error LNK2019: unresolved external symbol backward_network_gpu referenced in function optimize_picture [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] normalization_layer.obj : error LNK2019: unresolved external symbol const_ongpu referenced in function forward_normalization_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] normalization_layer.obj : error LNK2019: unresolved external symbol pow_ongpu referenced in function forward_normalization_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] region_layer.obj : error LNK2019: unresolved external symbol softmax_gpu referenced in function forward_region_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] region_layer.obj : error LNK2019: unresolved external symbol flatten_ongpu referenced in function forward_region_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] reorg_layer.obj : error LNK2019: unresolved external symbol reorg_ongpu referenced in function forward_reorg_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] reorg_old_layer.obj : error LNK2001: unresolved external symbol reorg_ongpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] shortcut_layer.obj : error LNK2019: unresolved external symbol shortcut_gpu referenced in function backward_shortcut_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] shortcut_layer.obj : error LNK2019: unresolved external symbol input_shortcut_gpu referenced in function forward_shortcut_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] softmax_layer.obj : error LNK2019: unresolved external symbol mask_gpu_new_api referenced in function forward_softmax_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] softmax_layer.obj : error LNK2019: unresolved external symbol softmax_x_ent_gpu referenced in function forward_softmax_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] softmax_layer.obj : error LNK2019: unresolved external symbol softmax_gpu_new_api referenced in function forward_softmax_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] softmax_layer.obj : error LNK2019: unresolved external symbol softmax_tree_gpu referenced in function forward_softmax_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] upsample_layer.obj : error LNK2019: unresolved external symbol upsample_gpu referenced in function forward_upsample_layer_gpu [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] C:\Users\Justin\projects\darknet\build_win_debug\Debug\darklib.dll : fatal error LNK1120: 71 unresolved externals [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] d----- 2/24/2019 6:07 PM build_win_release -- 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_release Microsoft (R) Build Engine version 15.7.179.6572 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. darknet.obj : error LNK2019: unresolved external symbol cudaSetDeviceFlags referenced in function main [C:\Users\Justin\projects\darknet\build_win_release\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_release\darknet.vcxproj] shortcut_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] activation_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] lstm_layer.obj : error LNK2019: unresolved external symbol gradient_array_ongpu referenced in function make_lstm_layer [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] shortcut_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] activation_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] rnn_layer.obj : error LNK2019: unresolved external symbol copy_ongpu referenced in function make_rnn_layer [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] nightmare.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] normalization_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] activation_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] detection_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\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_release\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_release\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_release\darknet.vcxproj] route_layer.obj : error LNK2001: unresolved external symbol simple_copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol simple_copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\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_release\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_release\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_release\darknet.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol add_bias_gpu [C:\Users\Justin\projects\darknet\build_win_release\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_release\darknet.vcxproj] detector.obj : error LNK2001: unresolved external symbol train_networks [C:\Users\Justin\projects\darknet\build_win_release\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_release\darknet.vcxproj] detector.obj : error LNK2001: unresolved external symbol sync_nets [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] connected_layer.obj : error LNK2019: unresolved external symbol cudaPeekAtLastError referenced in function push_connected_layer [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] cuda.obj : error LNK2001: unresolved external symbol cudaPeekAtLastError [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol cudaPeekAtLastError [C:\Users\Justin\projects\darknet\build_win_release\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_release\darknet.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] rnn_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] route_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] shortcut_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] softmax_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] normalization_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] cost_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] detection_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\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_release\darknet.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol scal_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] normalization_layer.obj : error LNK2001: unresolved external symbol scal_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] network.obj : error LNK2019: unresolved external symbol fill_ongpu referenced in function network_predict_ptr [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] rnn.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] rnn_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] upsample_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol cudaDeviceSynchronize referenced in function binary_align_weights [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] gemm.obj : error LNK2001: unresolved external symbol cudaDeviceSynchronize [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol cudaMalloc referenced in function binary_align_weights [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] cuda.obj : error LNK2001: unresolved external symbol cudaMalloc [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] parser.obj : error LNK2001: unresolved external symbol cudaMalloc [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol cudaMemGetInfo referenced in function resize_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol cudaMemcpy referenced in function binary_align_weights [C:\Users\Justin\projects\darknet\build_win_release\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_release\darknet.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol forward_convolutional_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\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_release\darknet.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol backward_convolutional_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\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_release\darknet.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol update_convolutional_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\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_release\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_release\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_release\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_release\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_release\darknet.vcxproj] network.obj : error LNK2001: unresolved external symbol push_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] parser.obj : error LNK2001: unresolved external symbol push_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_release\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_release\darknet.vcxproj] parser.obj : error LNK2001: unresolved external symbol pull_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_release\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_release\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaGetLastError referenced in function check_error [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] network.obj : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] parser.obj : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaGetErrorString referenced in function check_error [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaGetDeviceProperties referenced in function get_gpu_compute_capability [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaSetDevice referenced in function cuda_set_device [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaGetDevice referenced in function blas_handle [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaStreamCreate referenced in function get_cuda_stream [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaStreamCreateWithFlags referenced in function get_cuda_stream [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaStreamSynchronize referenced in function cuda_pull_array [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaFree referenced in function cuda_free [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] maxpool_layer.obj : error LNK2001: unresolved external symbol cudaFree [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaMemcpyAsync referenced in function cuda_pull_array [C:\Users\Justin\projects\darknet\build_win_release\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_release\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_release\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_release\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_release\darknet.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol mul_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] normalization_layer.obj : error LNK2001: unresolved external symbol mul_ongpu [C:\Users\Justin\projects\darknet\build_win_release\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_release\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_release\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_release\darknet.vcxproj] layer.obj : error LNK2019: unresolved external symbol cudaFreeHost referenced in function free_layer [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] network.obj : error LNK2001: unresolved external symbol cudaFreeHost [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol cudaFreeHost [C:\Users\Justin\projects\darknet\build_win_release\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_release\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_release\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_release\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_release\darknet.vcxproj] network.obj : error LNK2019: unresolved external symbol cudaHostAlloc referenced in function resize_network [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] parser.obj : error LNK2001: unresolved external symbol cudaHostAlloc [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol cudaHostAlloc [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] network.obj : error LNK2019: unresolved external symbol train_network_datum_gpu referenced in function train_network_datum [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] network.obj : error LNK2019: unresolved external symbol network_predict_gpu referenced in function network_predict [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] network.obj : error LNK2019: unresolved external symbol get_network_output_gpu referenced in function get_network_output [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] nightmare.obj : error LNK2019: unresolved external symbol forward_network_gpu referenced in function optimize_picture [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] nightmare.obj : error LNK2019: unresolved external symbol backward_network_gpu referenced in function optimize_picture [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] normalization_layer.obj : error LNK2019: unresolved external symbol const_ongpu referenced in function forward_normalization_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] normalization_layer.obj : error LNK2019: unresolved external symbol pow_ongpu referenced in function forward_normalization_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] region_layer.obj : error LNK2019: unresolved external symbol softmax_gpu referenced in function forward_region_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] region_layer.obj : error LNK2019: unresolved external symbol flatten_ongpu referenced in function forward_region_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] reorg_layer.obj : error LNK2019: unresolved external symbol reorg_ongpu referenced in function forward_reorg_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] reorg_old_layer.obj : error LNK2001: unresolved external symbol reorg_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] shortcut_layer.obj : error LNK2019: unresolved external symbol shortcut_gpu referenced in function backward_shortcut_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] shortcut_layer.obj : error LNK2019: unresolved external symbol input_shortcut_gpu referenced in function forward_shortcut_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] softmax_layer.obj : error LNK2019: unresolved external symbol mask_gpu_new_api referenced in function forward_softmax_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] softmax_layer.obj : error LNK2019: unresolved external symbol softmax_x_ent_gpu referenced in function forward_softmax_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] softmax_layer.obj : error LNK2019: unresolved external symbol softmax_gpu_new_api referenced in function forward_softmax_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] softmax_layer.obj : error LNK2019: unresolved external symbol softmax_tree_gpu referenced in function forward_softmax_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] upsample_layer.obj : error LNK2019: unresolved external symbol upsample_gpu referenced in function forward_upsample_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] C:\Users\Justin\projects\darknet\build_win_release\Release\darknet.exe : fatal error LNK1120: 71 unresolved externals [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] Creating library C:/Users/Justin/projects/darknet/build_win_release/Release/darklib.lib and object C:/Users/Justin/projects/darknet/build_win_release/Release/darklib.exp yolo_v2_class.obj : error LNK2019: unresolved external symbol cudaGetErrorString referenced in function "public: __cdecl Detector::Detector(class std::basic_string,class std::allocator >,class st d::basic_string,class std::allocator >,int)" (??0Detector@@QEAA@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z) [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcx proj] cuda.obj : error LNK2001: unresolved external symbol cudaGetErrorString [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] yolo_v2_class.obj : error LNK2019: unresolved external symbol cudaGetDeviceCount referenced in function get_device_count [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] yolo_v2_class.obj : error LNK2019: unresolved external symbol cudaGetDeviceProperties referenced in function get_device_name [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] cuda.obj : error LNK2001: unresolved external symbol cudaGetDeviceProperties [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] yolo_v2_class.obj : error LNK2019: unresolved external symbol cudaSetDevice referenced in function "public: __cdecl Detector::Detector(class std::basic_string,class std::allocator >,class std::ba sic_string,class std::allocator >,int)" (??0Detector@@QEAA@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z) [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] cuda.obj : error LNK2001: unresolved external symbol cudaSetDevice [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] yolo_v2_class.obj : error LNK2019: unresolved external symbol cudaGetDevice referenced in function "public: __cdecl Detector::Detector(class std::basic_string,class std::allocator >,class std::ba sic_string,class std::allocator >,int)" (??0Detector@@QEAA@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z) [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] cuda.obj : error LNK2001: unresolved external symbol cudaGetDevice [C:\Users\Justin\projects\darknet\build_win_release\darklib.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_release\darklib.vcxproj] shortcut_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] activation_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol activate_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] lstm_layer.obj : error LNK2019: unresolved external symbol gradient_array_ongpu referenced in function make_lstm_layer [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] shortcut_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] activation_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol gradient_array_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] rnn_layer.obj : error LNK2019: unresolved external symbol copy_ongpu referenced in function make_rnn_layer [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] nightmare.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] normalization_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] activation_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] detection_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.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_release\darklib.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_release\darklib.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_release\darklib.vcxproj] route_layer.obj : error LNK2001: unresolved external symbol simple_copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol simple_copy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.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_release\darklib.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_release\darklib.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_release\darklib.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol add_bias_gpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.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_release\darklib.vcxproj] detector.obj : error LNK2001: unresolved external symbol train_networks [C:\Users\Justin\projects\darknet\build_win_release\darklib.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_release\darklib.vcxproj] detector.obj : error LNK2001: unresolved external symbol sync_nets [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] connected_layer.obj : error LNK2019: unresolved external symbol cudaPeekAtLastError referenced in function push_connected_layer [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] cuda.obj : error LNK2001: unresolved external symbol cudaPeekAtLastError [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol cudaPeekAtLastError [C:\Users\Justin\projects\darknet\build_win_release\darklib.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_release\darklib.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] rnn_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] route_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] shortcut_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] softmax_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] normalization_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] cost_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] detection_layer.obj : error LNK2001: unresolved external symbol axpy_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.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_release\darklib.vcxproj] local_layer.obj : error LNK2001: unresolved external symbol scal_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] normalization_layer.obj : error LNK2001: unresolved external symbol scal_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] network.obj : error LNK2019: unresolved external symbol fill_ongpu referenced in function network_predict_ptr [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] rnn.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] rnn_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] upsample_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] connected_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] gru_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol fill_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol cudaDeviceSynchronize referenced in function binary_align_weights [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] gemm.obj : error LNK2001: unresolved external symbol cudaDeviceSynchronize [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol cudaMalloc referenced in function binary_align_weights [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] cuda.obj : error LNK2001: unresolved external symbol cudaMalloc [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] parser.obj : error LNK2001: unresolved external symbol cudaMalloc [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol cudaMemGetInfo referenced in function resize_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] convolutional_layer.obj : error LNK2019: unresolved external symbol cudaMemcpy referenced in function binary_align_weights [C:\Users\Justin\projects\darknet\build_win_release\darklib.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_release\darklib.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol forward_convolutional_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.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_release\darklib.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol backward_convolutional_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.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_release\darklib.vcxproj] crnn_layer.obj : error LNK2001: unresolved external symbol update_convolutional_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.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_release\darklib.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_release\darklib.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_release\darklib.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_release\darklib.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_release\darklib.vcxproj] network.obj : error LNK2001: unresolved external symbol push_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] parser.obj : error LNK2001: unresolved external symbol push_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_release\darklib.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_release\darklib.vcxproj] parser.obj : error LNK2001: unresolved external symbol pull_convolutional_layer [C:\Users\Justin\projects\darknet\build_win_release\darklib.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_release\darklib.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaGetLastError referenced in function check_error [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] network.obj : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] parser.obj : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol cudaGetLastError [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaStreamCreate referenced in function get_cuda_stream [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaStreamCreateWithFlags referenced in function get_cuda_stream [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaStreamSynchronize referenced in function cuda_pull_array [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaFree referenced in function cuda_free [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] maxpool_layer.obj : error LNK2001: unresolved external symbol cudaFree [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] cuda.obj : error LNK2019: unresolved external symbol cudaMemcpyAsync referenced in function cuda_pull_array [C:\Users\Justin\projects\darknet\build_win_release\darklib.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_release\darklib.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_release\darklib.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_release\darklib.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_release\darklib.vcxproj] lstm_layer.obj : error LNK2001: unresolved external symbol mul_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] normalization_layer.obj : error LNK2001: unresolved external symbol mul_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.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_release\darklib.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_release\darklib.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_release\darklib.vcxproj] layer.obj : error LNK2019: unresolved external symbol cudaFreeHost referenced in function free_layer [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] network.obj : error LNK2001: unresolved external symbol cudaFreeHost [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol cudaFreeHost [C:\Users\Justin\projects\darknet\build_win_release\darklib.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_release\darklib.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_release\darklib.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_release\darklib.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_release\darklib.vcxproj] network.obj : error LNK2019: unresolved external symbol cudaHostAlloc referenced in function resize_network [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] parser.obj : error LNK2001: unresolved external symbol cudaHostAlloc [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] yolo_layer.obj : error LNK2001: unresolved external symbol cudaHostAlloc [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] network.obj : error LNK2019: unresolved external symbol train_network_datum_gpu referenced in function train_network_datum [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] network.obj : error LNK2019: unresolved external symbol network_predict_gpu referenced in function network_predict [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] network.obj : error LNK2019: unresolved external symbol get_network_output_gpu referenced in function get_network_output [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] nightmare.obj : error LNK2019: unresolved external symbol forward_network_gpu referenced in function optimize_picture [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] nightmare.obj : error LNK2019: unresolved external symbol backward_network_gpu referenced in function optimize_picture [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] normalization_layer.obj : error LNK2019: unresolved external symbol const_ongpu referenced in function forward_normalization_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] normalization_layer.obj : error LNK2019: unresolved external symbol pow_ongpu referenced in function forward_normalization_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] region_layer.obj : error LNK2019: unresolved external symbol softmax_gpu referenced in function forward_region_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] region_layer.obj : error LNK2019: unresolved external symbol flatten_ongpu referenced in function forward_region_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] reorg_layer.obj : error LNK2019: unresolved external symbol reorg_ongpu referenced in function forward_reorg_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] reorg_old_layer.obj : error LNK2001: unresolved external symbol reorg_ongpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] shortcut_layer.obj : error LNK2019: unresolved external symbol shortcut_gpu referenced in function backward_shortcut_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] shortcut_layer.obj : error LNK2019: unresolved external symbol input_shortcut_gpu referenced in function forward_shortcut_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] softmax_layer.obj : error LNK2019: unresolved external symbol mask_gpu_new_api referenced in function forward_softmax_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] softmax_layer.obj : error LNK2019: unresolved external symbol softmax_x_ent_gpu referenced in function forward_softmax_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] softmax_layer.obj : error LNK2019: unresolved external symbol softmax_gpu_new_api referenced in function forward_softmax_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] softmax_layer.obj : error LNK2019: unresolved external symbol softmax_tree_gpu referenced in function forward_softmax_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] upsample_layer.obj : error LNK2019: unresolved external symbol upsample_gpu referenced in function forward_upsample_layer_gpu [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] C:\Users\Justin\projects\darknet\build_win_release\Release\darklib.dll : fatal error LNK1120: 71 unresolved externals [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] d----- 2/24/2019 6:08 PM build_win_release_cuda_int_libs CMake Error at C:/Program Files/CMake/share/cmake-3.14/Modules/CMakeDetermineSystem.cmake:99 (message): Could not find toolchain file: /scripts/buildsystems/vcpkg.cmake Call Stack (most recent call first): CMakeLists.txt:11 (project) -- Configuring incomplete, errors occurred! Microsoft (R) Build Engine version 15.7.179.6572 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. MSBUILD : error MSB1009: Project file does not exist. Switch: ALL_BUILD.vcxproj
cenit commented 5 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

  1. confirm that you are on the very latest commit rev (there was a bug before the last PR merged)
  2. tell me the output of this command: Write-Host $env:VCPKG_ROOT
  3. if .2 is not empty, tell me the output of this command: 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)
  4. in case .3 is not empty, please show also the output of this command 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

ellisju commented 5 years ago

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:

  1. I Was running on the latest commit rev, but I re-pulled today and tried it again, with the same results. Here is where git says I am:

$ cat .git/refs/heads/master 50956447f88279f81571a2827d003cd0d70ac243

  1. Here is the output of Write-Host $env:VCPKG_ROOT:

C:\lib\vcpkg

  1. Here is the output of dir $env:VCPKG_ROOT:
dir $env:VCPKG_ROOT Directory: C:\lib\vcpkg Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 2/24/2019 3:58 PM buildtrees d----- 2/24/2019 3:34 PM docs d----- 2/24/2019 3:58 PM downloads d----- 2/24/2019 3:48 PM installed d----- 2/24/2019 3:58 PM packages d----- 2/24/2019 3:34 PM ports d----- 2/24/2019 5:06 PM scripts d----- 2/24/2019 3:35 PM toolsrc d----- 2/24/2019 5:03 PM triplets -a---- 2/24/2019 3:34 PM 8 .gitattributes -a---- 2/24/2019 3:34 PM 5575 .gitignore -a---- 2/24/2019 3:34 PM 0 .vcpkg-root -a---- 2/24/2019 3:34 PM 100 bootstrap-vcpkg.bat -a---- 2/24/2019 3:34 PM 106 bootstrap-vcpkg.sh -a---- 2/24/2019 3:34 PM 128706 CHANGELOG.md -a---- 2/24/2019 3:34 PM 2432 CONTRIBUTING.md -a---- 2/24/2019 3:34 PM 1107 LICENSE.txt -a---- 2/24/2019 3:34 PM 3176 README.md -a---- 2/24/2019 3:35 PM 945152 vcpkg.exe
  1. And here is the output of cd $env:VCPKG_ROOT ; .\vcpkg list:
cd $env:VCPKG_ROOT ; .\vcpkg list cuda:x64-windows 9.0 A parallel computing platform and programming model eigen3:x64-windows 3.3.7 C++ template library for linear algebra: matrice... libjpeg-turbo:x64-windows 1.5.3-2 libjpeg-turbo is a JPEG image codec that uses SI... liblzma:x64-windows 5.2.4 Compression library with an API similar to that ... libpng:x64-windows 1.6.36 libpng is a library implementing an interface fo... opencv:x64-windows 3.4.3-5 computer vision library opencv[cuda]:x64-windows CUDA support for opencv opencv[eigen]:x64-windows Eigen support for opencv opencv[flann]:x64-windows opencv_flann module opencv[jpeg]:x64-windows JPEG support for opencv opencv[opengl]:x64-windows opengl support for opencv opencv[png]:x64-windows PNG support for opencv opencv[tiff]:x64-windows TIFF support for opencv opengl:x64-windows 0.0-5 Open Graphics Library (OpenGL)[3][4][5] is a cro... opengl:x86-windows 0.0-5 Open Graphics Library (OpenGL)[3][4][5] is a cro... pthreads:x64-windows 2.9.1-3 pthreads for windows tiff:x64-windows 4.0.10-2 A library that supports the manipulation of TIFF... zlib:x64-windows 1.2.11-3 A compression library
cenit commented 5 years ago

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

ellisju commented 5 years ago

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.

Output from the build.ps1 pass. PS C:\Users\Justin\projects\darknet> dir Directory: C:\Users\Justin\projects\darknet Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 3/1/2019 3:33 PM .circleci d----- 3/2/2019 7:14 AM .vs d----- 2/24/2019 5:56 PM 3rdparty d----- 2/24/2019 5:56 PM build d----- 2/24/2019 5:56 PM cfg d----- 2/24/2019 5:56 PM cmake d----- 2/24/2019 5:56 PM data d----- 2/24/2019 5:56 PM include d----- 3/1/2019 3:33 PM scripts d----- 3/1/2019 3:33 PM src -a---- 2/24/2019 5:56 PM 226 .gitignore -a---- 3/1/2019 3:33 PM 20325 .travis.yml -a---- 3/1/2019 3:33 PM 4292 appveyor.yml -a---- 2/24/2019 5:56 PM 1908 build.ps1 -a---- 2/24/2019 5:56 PM 709 build.sh -a---- 3/1/2019 3:33 PM 12438 CMakeLists.txt -a---- 2/24/2019 5:56 PM 1759 CMakeSettings.json -a---- 2/24/2019 5:56 PM 16255 darknet.py -a---- 2/24/2019 5:56 PM 4010 darknet_video.py -a---- 2/24/2019 5:56 PM 108 image_yolov2.sh -a---- 2/24/2019 5:56 PM 110 image_yolov3.sh -a---- 2/24/2019 5:56 PM 345 json_mjpeg_streams.sh -a---- 2/24/2019 5:56 PM 515 LICENSE -a---- 2/24/2019 5:56 PM 4717 Makefile -a---- 2/24/2019 5:56 PM 159 net_cam_v3.sh -a---- 2/24/2019 6:41 PM 112802 original_build_fail.txt -a---- 2/24/2019 5:56 PM 47848 README.md -a---- 2/24/2019 5:56 PM 108 video_v2.sh -a---- 2/24/2019 5:56 PM 108 video_yolov3.sh PS C:\Users\Justin\projects\darknet> .\build.ps1 Directory: C:\Users\Justin\projects\darknet Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 3/2/2019 7:15 AM build_win_debug -- The C compiler identification is MSVC 19.14.26429.4 -- The CXX compiler identification is MSVC 19.14.26429.4 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for a CUDA compiler -- Looking for a CUDA compiler - NOTFOUND -- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0 (found suitable exact version "10.0") -- Found OpenCV: C:/lib/vcpkg/installed/x64-windows (found version "3.4.3") -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Found PTHREADS: optimized;C:/lib/vcpkg/installed/x64-windows/lib/pthreadsVC2.lib;debug;C:/lib/vcpkg/installed/x64-windows/debug/lib/pthreadsVC2d.lib -- Found OpenMP_C: -openmp (found version "2.0") -- Found OpenMP_CXX: -openmp (found version "2.0") -- Found OpenMP: TRUE (found version "2.0") -- Configuring done -- Generating done -- 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. Checking Build System CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_debug/CMakeFiles/generate.stamp is u p-to-date. Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_debug/CMakeFiles/generate.stamp is u p-to-date. CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_debug/CMakeFiles/generate.stamp is u p-to-date. yolo_v2_class.cpp darknet.c activation_layer.c activations.c art.c activation_layer.c activations.c art.c avgpool_layer.c batchnorm_layer.c avgpool_layer.c blas.c box.c batchnorm_layer.c captcha.c blas.c cifar.c box.c captcha.c classifier.c cifar.c C:\Users\Justin\projects\darknet\src\classifier.c(201): warning C4474: 'sprintf' : too many arguments passed for format string [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] C:\Users\Justin\projects\darknet\src\classifier.c(201): note: placeholders and their parameters expect 2 variadic arg uments, but 3 were provided classifier.c coco.c C:\Users\Justin\projects\darknet\src\classifier.c(201): warning C4474: 'sprintf' : too many arguments passed for format string [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] C:\Users\Justin\projects\darknet\src\classifier.c(201): note: placeholders and their parameters expect 2 variadic arg uments, but 3 were provided col2im.c compare.c coco.c connected_layer.c col2im.c compare.c convolutional_layer.c connected_layer.c cost_layer.c convolutional_layer.c cpu_gemm.c cost_layer.c crnn_layer.c crop_layer.c cpu_gemm.c crnn_layer.c Generating Code... crop_layer.c Compiling... cuda.c data.c Generating Code... deconvolutional_layer.c Compiling... cuda.c data.c demo.c deconvolutional_layer.c demo.c detection_layer.c detector.c detection_layer.c C:\Users\Justin\projects\darknet\src\detector.c(322): warning C4474: 'sprintf' : too many arguments passed for format s tring [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] C:\Users\Justin\projects\darknet\src\detector.c(322): note: placeholders and their parameters expect 2 variadic argum ents, but 3 were provided dice.c detector.c C:\Users\Justin\projects\darknet\src\detector.c(322): warning C4474: 'sprintf' : too many arguments passed for format s tring [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] C:\Users\Justin\projects\darknet\src\detector.c(322): note: placeholders and their parameters expect 2 variadic argum ents, but 3 were provided dropout_layer.c dice.c gemm.c dropout_layer.c C:\Users\Justin\projects\darknet\src\gemm.c(903): warning C4309: 'argument': truncation of constant value [C:\Users\Jus tin\projects\darknet\build_win_debug\darknet.vcxproj] C:\Users\Justin\projects\darknet\src\gemm.c(1165): warning C4309: 'argument': truncation of constant value [C:\Users\Ju stin\projects\darknet\build_win_debug\darknet.vcxproj] C:\Users\Justin\projects\darknet\src\gemm.c(1206): warning C4309: 'argument': truncation of constant value [C:\Users\Ju stin\projects\darknet\build_win_debug\darknet.vcxproj] go.c gemm.c gru_layer.c C:\Users\Justin\projects\darknet\src\gemm.c(903): warning C4309: 'argument': truncation of constant value [C:\Users\Jus tin\projects\darknet\build_win_debug\darklib.vcxproj] C:\Users\Justin\projects\darknet\src\gemm.c(1165): warning C4309: 'argument': truncation of constant value [C:\Users\Ju stin\projects\darknet\build_win_debug\darklib.vcxproj] C:\Users\Justin\projects\darknet\src\gemm.c(1206): warning C4309: 'argument': truncation of constant value [C:\Users\Ju stin\projects\darknet\build_win_debug\darklib.vcxproj] go.c im2col.c gru_layer.c image.c im2col.c image.c layer.c list.c local_layer.c layer.c list.c lstm_layer.c local_layer.c matrix.c lstm_layer.c maxpool_layer.c matrix.c network.c maxpool_layer.c Generating Code... network.c Compiling... nightmare.c Generating Code... normalization_layer.c Compiling... nightmare.c option_list.c normalization_layer.c parser.c option_list.c parser.c region_layer.c reorg_layer.c region_layer.c reorg_old_layer.c reorg_layer.c rnn.c reorg_old_layer.c rnn.c rnn_layer.c rnn_vid.c rnn_layer.c route_layer.c rnn_vid.c shortcut_layer.c route_layer.c softmax_layer.c shortcut_layer.c softmax_layer.c super.c super.c swag.c tag.c swag.c tag.c tree.c tree.c upsample_layer.c upsample_layer.c utils.c voxel.c utils.c voxel.c Generating Code... Compiling... writing.c Generating Code... Compiling... writing.c yolo.c yolo_layer.c yolo.c yolo_layer.c http_stream.cpp http_stream.cpp gettimeofday.c getopt.c Generating Code... gettimeofday.c getopt.c Generating Code... darknet.vcxproj -> C:\Users\Justin\projects\darknet\build_win_debug\Debug\darknet.exe Creating library C:/Users/Justin/projects/darknet/build_win_debug/Debug/darklib.lib and object C:/Users/Justin/pro jects/darknet/build_win_debug/Debug/darklib.exp darklib.vcxproj -> C:\Users\Justin\projects\darknet\build_win_debug\Debug\darklib.dll Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_debug/CMakeFiles/generate.stamp is u p-to-date. yolo_console_dll.cpp CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_debug/CMakeFiles/generate.stamp is u p-to-date. yolo_console_dll.cpp uselib_track.vcxproj -> C:\Users\Justin\projects\darknet\build_win_debug\Debug\uselib_track.exe uselib.vcxproj -> C:\Users\Justin\projects\darknet\build_win_debug\Debug\uselib.exe Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_debug/CMakeFiles/generate.stamp is u p-to-date. d----- 3/2/2019 7:16 AM build_win_release -- The C compiler identification is MSVC 19.14.26429.4 -- The CXX compiler identification is MSVC 19.14.26429.4 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for a CUDA compiler -- Looking for a CUDA compiler - NOTFOUND -- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0 (found suitable exact version "10.0") -- Found OpenCV: C:/lib/vcpkg/installed/x64-windows (found version "3.4.3") -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Found PTHREADS: C:/lib/vcpkg/installed/x64-windows/lib/pthreadsVC2.lib -- Found OpenMP_C: -openmp (found version "2.0") -- Found OpenMP_CXX: -openmp (found version "2.0") -- Found OpenMP: TRUE (found version "2.0") -- Configuring done -- Generating done -- Build files have been written to: C:/Users/Justin/projects/darknet/build_win_release Microsoft (R) Build Engine version 15.7.179.6572 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_release/CMakeFiles/generate.stamp is up-to-date. Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_release/CMakeFiles/generate.stamp is up-to-date. darknet.c CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_release/CMakeFiles/generate.stamp is up-to-date. yolo_v2_class.cpp activation_layer.c activations.c art.c activation_layer.c avgpool_layer.c activations.c art.c batchnorm_layer.c avgpool_layer.c blas.c box.c captcha.c batchnorm_layer.c cifar.c blas.c box.c captcha.c classifier.c cifar.c C:\Users\Justin\projects\darknet\src\classifier.c(201): warning C4474: 'sprintf' : too many arguments passed for format string [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] C:\Users\Justin\projects\darknet\src\classifier.c(201): note: placeholders and their parameters expect 2 variadic arg uments, but 3 were provided coco.c classifier.c col2im.c compare.c C:\Users\Justin\projects\darknet\src\classifier.c(201): warning C4474: 'sprintf' : too many arguments passed for format string [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] C:\Users\Justin\projects\darknet\src\classifier.c(201): note: placeholders and their parameters expect 2 variadic arg uments, but 3 were provided coco.c connected_layer.c col2im.c compare.c convolutional_layer.c connected_layer.c cost_layer.c convolutional_layer.c cpu_gemm.c crnn_layer.c cost_layer.c crop_layer.c cpu_gemm.c crnn_layer.c Generating Code... crop_layer.c Compiling... cuda.c data.c Generating Code... deconvolutional_layer.c Compiling... cuda.c demo.c data.c deconvolutional_layer.c detection_layer.c demo.c detector.c C:\Users\Justin\projects\darknet\src\detector.c(322): warning C4474: 'sprintf' : too many arguments passed for format s tring [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] C:\Users\Justin\projects\darknet\src\detector.c(322): note: placeholders and their parameters expect 2 variadic argum ents, but 3 were provided detection_layer.c dice.c detector.c dropout_layer.c C:\Users\Justin\projects\darknet\src\detector.c(322): warning C4474: 'sprintf' : too many arguments passed for format s tring [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] C:\Users\Justin\projects\darknet\src\detector.c(322): note: placeholders and their parameters expect 2 variadic argum ents, but 3 were provided dice.c gemm.c C:\Users\Justin\projects\darknet\src\gemm.c(903): warning C4309: 'argument': truncation of constant value [C:\Users\Jus tin\projects\darknet\build_win_release\darknet.vcxproj] C:\Users\Justin\projects\darknet\src\gemm.c(1165): warning C4309: 'argument': truncation of constant value [C:\Users\Ju stin\projects\darknet\build_win_release\darknet.vcxproj] C:\Users\Justin\projects\darknet\src\gemm.c(1206): warning C4309: 'argument': truncation of constant value [C:\Users\Ju stin\projects\darknet\build_win_release\darknet.vcxproj] go.c dropout_layer.c gru_layer.c gemm.c C:\Users\Justin\projects\darknet\src\gemm.c(903): warning C4309: 'argument': truncation of constant value [C:\Users\Jus tin\projects\darknet\build_win_release\darklib.vcxproj] C:\Users\Justin\projects\darknet\src\gemm.c(1165): warning C4309: 'argument': truncation of constant value [C:\Users\Ju stin\projects\darknet\build_win_release\darklib.vcxproj] C:\Users\Justin\projects\darknet\src\gemm.c(1206): warning C4309: 'argument': truncation of constant value [C:\Users\Ju stin\projects\darknet\build_win_release\darklib.vcxproj] go.c im2col.c image.c gru_layer.c layer.c list.c local_layer.c im2col.c image.c lstm_layer.c layer.c list.c local_layer.c matrix.c maxpool_layer.c lstm_layer.c network.c matrix.c maxpool_layer.c Generating Code... network.c Generating Code... Compiling... nightmare.c normalization_layer.c Compiling... nightmare.c option_list.c parser.c normalization_layer.c option_list.c region_layer.c parser.c reorg_layer.c reorg_old_layer.c region_layer.c rnn.c reorg_layer.c rnn_layer.c reorg_old_layer.c rnn_vid.c rnn.c route_layer.c rnn_layer.c rnn_vid.c shortcut_layer.c softmax_layer.c route_layer.c super.c shortcut_layer.c softmax_layer.c swag.c super.c tag.c swag.c tree.c upsample_layer.c tag.c tree.c utils.c voxel.c upsample_layer.c Generating Code... utils.c voxel.c Compiling... writing.c Generating Code... yolo.c Compiling... writing.c yolo_layer.c yolo.c http_stream.cpp yolo_layer.c http_stream.cpp gettimeofday.c getopt.c Generating Code... gettimeofday.c getopt.c Generating Code... darknet.vcxproj -> C:\Users\Justin\projects\darknet\build_win_release\Release\darknet.exe Creating library C:/Users/Justin/projects/darknet/build_win_release/Release/darklib.lib and object C:/Users/Justin /projects/darknet/build_win_release/Release/darklib.exp darklib.vcxproj -> C:\Users\Justin\projects\darknet\build_win_release\Release\darklib.dll Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_release/CMakeFiles/generate.stamp is up-to-date. yolo_console_dll.cpp CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_release/CMakeFiles/generate.stamp is up-to-date. yolo_console_dll.cpp uselib_track.vcxproj -> C:\Users\Justin\projects\darknet\build_win_release\Release\uselib_track.exe uselib.vcxproj -> C:\Users\Justin\projects\darknet\build_win_release\Release\uselib.exe Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_release/CMakeFiles/generate.stamp is up-to-date. d----- 3/2/2019 7:18 AM build_win_release_cuda_int_libs CMake Error at C:/Program Files/CMake/share/cmake-3.14/Modules/CMakeDetermineSystem.cmake:99 (message): Could not find toolchain file: /scripts/buildsystems/vcpkg.cmake Call Stack (most recent call first): CMakeLists.txt:11 (project) -- Configuring incomplete, errors occurred! Microsoft (R) Build Engine version 15.7.179.6572 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. MSBUILD : error MSB1009: Project file does not exist. Switch: ALL_BUILD.vcxproj PS C:\Users\Justin\projects\darknet>

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.

Here is output from build_debug_win/CMakeCache.txt: $ cat build_win_debug/CMakeCache.txt # This is the CMakeCache file. # For build in directory: c:/Users/Justin/projects/darknet/build_win_debug # It was generated by CMake: C:/Program Files/CMake/bin/cmake.exe # You can edit this file to change values found and used by cmake. # If you do not want to change any of the values, simply exit the editor. # If you do want to change a value, simply edit, save, and exit the editor. # The syntax for the file is as follows: # KEY:TYPE=VALUE # KEY is the name of a variable in the cache. # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. # VALUE is the current value for the KEY. ######################## # EXTERNAL cache entries ######################## //No help, variable specified on the command line. CMAKE_BUILD_TYPE:UNINITIALIZED=Debug //Semicolon separated list of supported configuration types, only // supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything // else will be ignored. CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release;MinSizeRel;RelWithDebInfo //CUDA compiler CMAKE_CUDA_COMPILER:FILEPATH=NOTFOUND //Flags used by the CXX compiler during all build types. CMAKE_CXX_FLAGS:STRING=/DWIN32 /D_WINDOWS /W3 /GR /EHsc //Flags used by the CXX compiler during DEBUG builds. CMAKE_CXX_FLAGS_DEBUG:STRING=/MDd /Zi /Ob0 /Od /RTC1 //Flags used by the CXX compiler during MINSIZEREL builds. CMAKE_CXX_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG //Flags used by the CXX compiler during RELEASE builds. CMAKE_CXX_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /DNDEBUG //Flags used by the CXX compiler during RELWITHDEBINFO builds. CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG //Libraries linked by default with all C++ applications. CMAKE_CXX_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //Flags used by the C compiler during all build types. CMAKE_C_FLAGS:STRING=/DWIN32 /D_WINDOWS /W3 //Flags used by the C compiler during DEBUG builds. CMAKE_C_FLAGS_DEBUG:STRING=/MDd /Zi /Ob0 /Od /RTC1 //Flags used by the C compiler during MINSIZEREL builds. CMAKE_C_FLAGS_MINSIZEREL:STRING=/MD /O1 /Ob1 /DNDEBUG //Flags used by the C compiler during RELEASE builds. CMAKE_C_FLAGS_RELEASE:STRING=/MD /O2 /Ob2 /DNDEBUG //Flags used by the C compiler during RELWITHDEBINFO builds. CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=/MD /Zi /O2 /Ob1 /DNDEBUG //Libraries linked by default with all C applications. CMAKE_C_STANDARD_LIBRARIES:STRING=kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib //Flags used by the linker during all build types. CMAKE_EXE_LINKER_FLAGS:STRING=/machine:x64 //Flags used by the linker during DEBUG builds. CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL //Flags used by the linker during MINSIZEREL builds. CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO //Flags used by the linker during RELEASE builds. CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO //Flags used by the linker during RELWITHDEBINFO builds. CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL //Install path prefix, prepended onto install directories. CMAKE_INSTALL_PREFIX:PATH=C:/Program Files (x86)/darknet //Path to a program. CMAKE_LINKER:FILEPATH=C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/link.exe //Flags used by the linker during the creation of modules during // all build types. CMAKE_MODULE_LINKER_FLAGS:STRING=/machine:x64 //Flags used by the linker during the creation of modules during // DEBUG builds. CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL //Flags used by the linker during the creation of modules during // MINSIZEREL builds. CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO //Flags used by the linker during the creation of modules during // RELEASE builds. CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO //Flags used by the linker during the creation of modules during // RELWITHDEBINFO builds. CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL //Path to a program. CMAKE_MT:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.17134.0/x64/mt.exe //Value Computed by CMake CMAKE_PROJECT_DESCRIPTION:STATIC= //Value Computed by CMake CMAKE_PROJECT_HOMEPAGE_URL:STATIC= //Value Computed by CMake CMAKE_PROJECT_NAME:STATIC=darknet //RC compiler CMAKE_RC_COMPILER:FILEPATH=C:/Program Files (x86)/Windows Kits/10/bin/10.0.17134.0/x64/rc.exe //Flags for Windows Resource Compiler during all build types. CMAKE_RC_FLAGS:STRING=/DWIN32 //Flags for Windows Resource Compiler during DEBUG builds. CMAKE_RC_FLAGS_DEBUG:STRING=/D_DEBUG //Flags for Windows Resource Compiler during MINSIZEREL builds. CMAKE_RC_FLAGS_MINSIZEREL:STRING= //Flags for Windows Resource Compiler during RELEASE builds. CMAKE_RC_FLAGS_RELEASE:STRING= //Flags for Windows Resource Compiler during RELWITHDEBINFO builds. CMAKE_RC_FLAGS_RELWITHDEBINFO:STRING= //Flags used by the linker during the creation of shared libraries // during all build types. CMAKE_SHARED_LINKER_FLAGS:STRING=/machine:x64 //Flags used by the linker during the creation of shared libraries // during DEBUG builds. CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=/debug /INCREMENTAL //Flags used by the linker during the creation of shared libraries // during MINSIZEREL builds. CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=/INCREMENTAL:NO //Flags used by the linker during the creation of shared libraries // during RELEASE builds. CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=/INCREMENTAL:NO //Flags used by the linker during the creation of shared libraries // during RELWITHDEBINFO builds. CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=/debug /INCREMENTAL //If set, runtime paths are not added when installing shared libraries, // but are added when building. CMAKE_SKIP_INSTALL_RPATH:BOOL=NO //If set, runtime paths are not added when using shared libraries. CMAKE_SKIP_RPATH:BOOL=NO //Flags used by the linker during the creation of static libraries // during all build types. CMAKE_STATIC_LINKER_FLAGS:STRING=/machine:x64 //Flags used by the linker during the creation of static libraries // during DEBUG builds. CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= //Flags used by the linker during the creation of static libraries // during MINSIZEREL builds. CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= //Flags used by the linker during the creation of static libraries // during RELEASE builds. CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= //Flags used by the linker during the creation of static libraries // during RELWITHDEBINFO builds. CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= //The CMake toolchain file CMAKE_TOOLCHAIN_FILE:FILEPATH=C:/lib/vcpkg/scripts/buildsystems/vcpkg.cmake //If this value is on, makefiles will be generated without the // .SILENT directive, and all commands will be echoed to the console // during the make. This is useful for debugging only. With Visual // Studio IDE projects all commands are done without /nologo. CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE //Compile device code in 64 bit mode CUDA_64_BIT_DEVICE_CODE:BOOL=ON //Attach the build rule to the CUDA source file. Enable only when // the CUDA source file is added to at most one target. CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE:BOOL=ON //Generate and parse .cubin files in Device mode. CUDA_BUILD_CUBIN:BOOL=OFF //Build in Emulation mode CUDA_BUILD_EMULATION:BOOL=OFF //"cudart" library CUDA_CUDART_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/cudart.lib //"cuda" library (older versions only). CUDA_CUDA_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/cuda.lib //Directory to put all the output files. If blank it will default // to the CMAKE_CURRENT_BINARY_DIR CUDA_GENERATED_OUTPUT_DIR:PATH= //Generated file extension CUDA_HOST_COMPILATION_CPP:BOOL=ON //Host side compiler used by NVCC CUDA_HOST_COMPILER:FILEPATH=$(VCInstallDir)Tools/MSVC/$(VCToolsVersion)/bin/Host$(Platform)/$(PlatformTarget) //Path to a program. CUDA_NVCC_EXECUTABLE:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/bin/nvcc.exe //Semi-colon delimit multiple arguments. during all build types. CUDA_NVCC_FLAGS:STRING= //Semi-colon delimit multiple arguments. during DEBUG builds. CUDA_NVCC_FLAGS_DEBUG:STRING= //Semi-colon delimit multiple arguments. during MINSIZEREL builds. CUDA_NVCC_FLAGS_MINSIZEREL:STRING= //Semi-colon delimit multiple arguments. during RELEASE builds. CUDA_NVCC_FLAGS_RELEASE:STRING= //Semi-colon delimit multiple arguments. during RELWITHDEBINFO // builds. CUDA_NVCC_FLAGS_RELWITHDEBINFO:STRING= //Propagate C/CXX_FLAGS and friends to the host compiler via -Xcompile CUDA_PROPAGATE_HOST_FLAGS:BOOL=ON //Path to a file. CUDA_SDK_ROOT_DIR:PATH=CUDA_SDK_ROOT_DIR-NOTFOUND //Compile CUDA objects with separable compilation enabled. Requires // CUDA 5.0+ CUDA_SEPARABLE_COMPILATION:BOOL=OFF //Path to a file. CUDA_TOOLKIT_INCLUDE:PATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/include //Toolkit location. CUDA_TOOLKIT_ROOT_DIR:PATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0 //Use the static version of the CUDA runtime library if available CUDA_USE_STATIC_CUDA_RUNTIME:BOOL=ON //Print out the commands run while compiling the CUDA source file. // With the Makefile generator this defaults to VERBOSE variable // specified on the command line, but can be forced on with this // option. CUDA_VERBOSE_BUILD:BOOL=OFF //Version of CUDA as computed from nvcc. CUDA_VERSION:STRING=10.0 //"cublas" library CUDA_cublas_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/cublas.lib //"cudadevrt" library CUDA_cudadevrt_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/cudadevrt.lib //static CUDA runtime library CUDA_cudart_static_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/cudart_static.lib //"cufft" library CUDA_cufft_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/cufft.lib //"cupti" library CUDA_cupti_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/extras/CUPTI/libx64/cupti.lib //"curand" library CUDA_curand_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/curand.lib //"cusolver" library CUDA_cusolver_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/cusolver.lib //"cusparse" library CUDA_cusparse_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/cusparse.lib //"nppc" library CUDA_nppc_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/nppc.lib //"nppi" library CUDA_nppi_LIBRARY:FILEPATH=CUDA_nppi_LIBRARY-NOTFOUND //"nppial" library CUDA_nppial_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/nppial.lib //"nppicc" library CUDA_nppicc_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/nppicc.lib //"nppicom" library CUDA_nppicom_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/nppicom.lib //"nppidei" library CUDA_nppidei_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/nppidei.lib //"nppif" library CUDA_nppif_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/nppif.lib //"nppig" library CUDA_nppig_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/nppig.lib //"nppim" library CUDA_nppim_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/nppim.lib //"nppist" library CUDA_nppist_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/nppist.lib //"nppisu" library CUDA_nppisu_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/nppisu.lib //"nppitc" library CUDA_nppitc_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/nppitc.lib //"npps" library CUDA_npps_LIBRARY:FILEPATH=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/npps.lib //"nvcuvenc" library CUDA_nvcuvenc_LIBRARY:FILEPATH=CUDA_nvcuvenc_LIBRARY-NOTFOUND //"nvcuvid" library CUDA_nvcuvid_LIBRARY:FILEPATH=CUDA_nvcuvid_LIBRARY-NOTFOUND //Enable CUDA build ENABLE_CUDA:BOOL=FALSE //The directory containing a CMake configuration file for OpenCV. OpenCV_DIR:PATH=C:/lib/vcpkg/installed/x64-windows/share/opencv //CXX compiler flags for OpenMP parallelization OpenMP_CXX_FLAGS:STRING=-openmp //CXX compiler libraries for OpenMP parallelization OpenMP_CXX_LIB_NAMES:STRING= //C compiler flags for OpenMP parallelization OpenMP_C_FLAGS:STRING=-openmp //C compiler libraries for OpenMP parallelization OpenMP_C_LIB_NAMES:STRING= //Path to a file. PTHREADS_INCLUDE_DIR:PATH=C:/lib/vcpkg/installed/x64-windows/include //Path to a library. PTHREADS_LIBRARY_DEBUG:FILEPATH=C:/lib/vcpkg/installed/x64-windows/debug/lib/pthreadsVC2d.lib //Path to a library. PTHREADS_LIBRARY_RELEASE:FILEPATH=C:/lib/vcpkg/installed/x64-windows/lib/pthreadsVC2.lib //Skip building uselib_track SKIP_USELIB_TRACK:BOOL=FALSE //Use libs distributed with this repo USE_INTEGRATED_LIBS:BOOL=FALSE //Automatically copy dependencies into the output directory for // executables. VCPKG_APPLOCAL_DEPS:BOOL=ON //Vcpkg target triplet (ex. x86-windows) VCPKG_TARGET_TRIPLET:STRING=x64-windows //Dependencies for the target darklib_LIB_DEPENDS:STATIC=general;opencv_calib3d;general;opencv_core;general;opencv_cudaarithm;general;opencv_cudabgsegm;general;opencv_cudacodec;general;opencv_cudafeatures2d;general;opencv_cudafilters;general;opencv_cudaimgproc;general;opencv_cudalegacy;general;opencv_cudaobjdetect;general;opencv_cudaoptflow;general;opencv_cudastereo;general;opencv_cudawarping;general;opencv_cudev;general;opencv_features2d;general;opencv_flann;general;opencv_highgui;general;opencv_imgcodecs;general;opencv_imgproc;general;opencv_ml;general;opencv_objdetect;general;opencv_photo;general;opencv_shape;general;opencv_stitching;general;opencv_superres;general;opencv_video;general;opencv_videoio;general;opencv_videostab;optimized;C:/lib/vcpkg/installed/x64-windows/lib/pthreadsVC2.lib;debug;C:/lib/vcpkg/installed/x64-windows/debug/lib/pthreadsVC2d.lib;general;wsock32;general;ws2_32; //Value Computed by CMake darknet_BINARY_DIR:STATIC=C:/Users/Justin/projects/darknet/build_win_debug //Value Computed by CMake darknet_SOURCE_DIR:STATIC=C:/Users/Justin/projects/darknet ######################## # INTERNAL cache entries ######################## //This is the directory where this CMakeCache.txt was created CMAKE_CACHEFILE_DIR:INTERNAL=c:/Users/Justin/projects/darknet/build_win_debug //Major version of cmake used to create the current loaded cache CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 //Minor version of cmake used to create the current loaded cache CMAKE_CACHE_MINOR_VERSION:INTERNAL=14 //Patch version of cmake used to create the current loaded cache CMAKE_CACHE_PATCH_VERSION:INTERNAL=0 //Path to CMake executable. CMAKE_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cmake.exe //Path to cpack program executable. CMAKE_CPACK_COMMAND:INTERNAL=C:/Program Files/CMake/bin/cpack.exe //Path to ctest program executable. CMAKE_CTEST_COMMAND:INTERNAL=C:/Program Files/CMake/bin/ctest.exe //ADVANCED property for variable: CMAKE_CUDA_COMPILER CMAKE_CUDA_COMPILER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_CXX_STANDARD_LIBRARIES CMAKE_CXX_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_C_STANDARD_LIBRARIES CMAKE_C_STANDARD_LIBRARIES-ADVANCED:INTERNAL=1 //Executable file format CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Name of external makefile project generator. CMAKE_EXTRA_GENERATOR:INTERNAL= //Name of generator. CMAKE_GENERATOR:INTERNAL=Visual Studio 15 2017 //Generator instance identifier. CMAKE_GENERATOR_INSTANCE:INTERNAL=C:/Program Files (x86)/Microsoft Visual Studio/2017/Community //Name of generator platform. CMAKE_GENERATOR_PLATFORM:INTERNAL=x64 //Name of generator toolset. CMAKE_GENERATOR_TOOLSET:INTERNAL=host=x64 //Have include pthread.h CMAKE_HAVE_PTHREAD_H:INTERNAL= //Source directory with the top level CMakeLists.txt file for this // project CMAKE_HOME_DIRECTORY:INTERNAL=C:/Users/Justin/projects/darknet //ADVANCED property for variable: CMAKE_LINKER CMAKE_LINKER-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_MT CMAKE_MT-ADVANCED:INTERNAL=1 //number of local generators CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 //Platform information initialized CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_COMPILER CMAKE_RC_COMPILER-ADVANCED:INTERNAL=1 CMAKE_RC_COMPILER_WORKS:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS CMAKE_RC_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_DEBUG CMAKE_RC_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_MINSIZEREL CMAKE_RC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELEASE CMAKE_RC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_RC_FLAGS_RELWITHDEBINFO CMAKE_RC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //Path to CMake installation. CMAKE_ROOT:INTERNAL=C:/Program Files/CMake/share/cmake-3.14 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_SKIP_RPATH CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_TOOLCHAIN_FILE CMAKE_TOOLCHAIN_FILE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_64_BIT_DEVICE_CODE CUDA_64_BIT_DEVICE_CODE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_BUILD_CUBIN CUDA_BUILD_CUBIN-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_BUILD_EMULATION CUDA_BUILD_EMULATION-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_CUDART_LIBRARY CUDA_CUDART_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_CUDA_LIBRARY CUDA_CUDA_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_GENERATED_OUTPUT_DIR CUDA_GENERATED_OUTPUT_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_HOST_COMPILATION_CPP CUDA_HOST_COMPILATION_CPP-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_NVCC_EXECUTABLE CUDA_NVCC_EXECUTABLE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_NVCC_FLAGS CUDA_NVCC_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_NVCC_FLAGS_DEBUG CUDA_NVCC_FLAGS_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_NVCC_FLAGS_MINSIZEREL CUDA_NVCC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_NVCC_FLAGS_RELEASE CUDA_NVCC_FLAGS_RELEASE-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_NVCC_FLAGS_RELWITHDEBINFO CUDA_NVCC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_PROPAGATE_HOST_FLAGS CUDA_PROPAGATE_HOST_FLAGS-ADVANCED:INTERNAL=1 //This is the value of the last time CUDA_SDK_ROOT_DIR was set // successfully. CUDA_SDK_ROOT_DIR_INTERNAL:INTERNAL=CUDA_SDK_ROOT_DIR-NOTFOUND //ADVANCED property for variable: CUDA_SEPARABLE_COMPILATION CUDA_SEPARABLE_COMPILATION-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_TOOLKIT_INCLUDE CUDA_TOOLKIT_INCLUDE-ADVANCED:INTERNAL=1 //This is the value of the last time CUDA_TOOLKIT_ROOT_DIR was // set successfully. CUDA_TOOLKIT_ROOT_DIR_INTERNAL:INTERNAL=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0 //This is the value of the last time CUDA_TOOLKIT_TARGET_DIR was // set successfully. CUDA_TOOLKIT_TARGET_DIR_INTERNAL:INTERNAL=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0 //ADVANCED property for variable: CUDA_VERBOSE_BUILD CUDA_VERBOSE_BUILD-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_VERSION CUDA_VERSION-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_cublas_LIBRARY CUDA_cublas_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_cudadevrt_LIBRARY CUDA_cudadevrt_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_cudart_static_LIBRARY CUDA_cudart_static_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_cufft_LIBRARY CUDA_cufft_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_cupti_LIBRARY CUDA_cupti_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_curand_LIBRARY CUDA_curand_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_cusolver_LIBRARY CUDA_cusolver_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_cusparse_LIBRARY CUDA_cusparse_LIBRARY-ADVANCED:INTERNAL=1 //Location of make2cmake.cmake CUDA_make2cmake:INTERNAL=C:/Program Files/CMake/share/cmake-3.14/Modules/FindCUDA/make2cmake.cmake //ADVANCED property for variable: CUDA_nppc_LIBRARY CUDA_nppc_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_nppi_LIBRARY CUDA_nppi_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_nppial_LIBRARY CUDA_nppial_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_nppicc_LIBRARY CUDA_nppicc_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_nppicom_LIBRARY CUDA_nppicom_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_nppidei_LIBRARY CUDA_nppidei_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_nppif_LIBRARY CUDA_nppif_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_nppig_LIBRARY CUDA_nppig_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_nppim_LIBRARY CUDA_nppim_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_nppist_LIBRARY CUDA_nppist_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_nppisu_LIBRARY CUDA_nppisu_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_nppitc_LIBRARY CUDA_nppitc_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_npps_LIBRARY CUDA_npps_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_nvcuvenc_LIBRARY CUDA_nvcuvenc_LIBRARY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CUDA_nvcuvid_LIBRARY CUDA_nvcuvid_LIBRARY-ADVANCED:INTERNAL=1 //Location of parse_cubin.cmake CUDA_parse_cubin:INTERNAL=C:/Program Files/CMake/share/cmake-3.14/Modules/FindCUDA/parse_cubin.cmake //Location of run_nvcc.cmake CUDA_run_nvcc:INTERNAL=C:/Program Files/CMake/share/cmake-3.14/Modules/FindCUDA/run_nvcc.cmake //Details about finding CUDA FIND_PACKAGE_MESSAGE_DETAILS_CUDA:INTERNAL=[C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0][C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/bin/nvcc.exe][C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/include][C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0/lib/x64/cudart_static.lib][v10.0(10.0)] //Details about finding OpenCV FIND_PACKAGE_MESSAGE_DETAILS_OpenCV:INTERNAL=[C:/lib/vcpkg/installed/x64-windows][v3.4.3()] //Details about finding OpenMP FIND_PACKAGE_MESSAGE_DETAILS_OpenMP:INTERNAL=[TRUE][TRUE][c ][v2.0()] //Details about finding OpenMP_C FIND_PACKAGE_MESSAGE_DETAILS_OpenMP_C:INTERNAL=[-openmp][v2.0()] //Details about finding OpenMP_CXX FIND_PACKAGE_MESSAGE_DETAILS_OpenMP_CXX:INTERNAL=[-openmp][v2.0()] //Details about finding PTHREADS FIND_PACKAGE_MESSAGE_DETAILS_PTHREADS:INTERNAL=[optimized;C:/lib/vcpkg/installed/x64-windows/lib/pthreadsVC2.lib;debug;C:/lib/vcpkg/installed/x64-windows/debug/lib/pthreadsVC2d.lib][C:/lib/vcpkg/installed/x64-windows/include][v()] //Details about finding Threads FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()] //Result of TRY_COMPILE OpenMP_COMPILE_RESULT_CXX_openmp:INTERNAL=TRUE //Result of TRY_COMPILE OpenMP_COMPILE_RESULT_C_openmp:INTERNAL=TRUE //ADVANCED property for variable: OpenMP_CXX_FLAGS OpenMP_CXX_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: OpenMP_CXX_LIB_NAMES OpenMP_CXX_LIB_NAMES-ADVANCED:INTERNAL=1 //CXX compiler's OpenMP specification date OpenMP_CXX_SPEC_DATE:INTERNAL=200203 //ADVANCED property for variable: OpenMP_C_FLAGS OpenMP_C_FLAGS-ADVANCED:INTERNAL=1 //ADVANCED property for variable: OpenMP_C_LIB_NAMES OpenMP_C_LIB_NAMES-ADVANCED:INTERNAL=1 //C compiler's OpenMP specification date OpenMP_C_SPEC_DATE:INTERNAL=200203 //Result of TRY_COMPILE OpenMP_SPECTEST_CXX_:INTERNAL=TRUE //Result of TRY_COMPILE OpenMP_SPECTEST_C_:INTERNAL=TRUE //ADVANCED property for variable: PTHREADS_INCLUDE_DIR PTHREADS_INCLUDE_DIR-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PTHREADS_LIBRARY_DEBUG PTHREADS_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 //ADVANCED property for variable: PTHREADS_LIBRARY_RELEASE PTHREADS_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 //Vcpkg root directory _VCPKG_ROOT_DIR:INTERNAL=C:/lib/vcpkg
cenit commented 5 years ago

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

ellisju commented 5 years ago

@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\

cenit commented 5 years ago

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.

ellisju commented 5 years ago

@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 .\build.ps1 Directory: C:\Users\Justin\projects\darknet Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 3/3/2019 9:54 AM build_win_debug -- The C compiler identification is MSVC 19.14.26429.4 -- The CXX compiler identification is MSVC 19.14.26429.4 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for a CUDA compiler -- Looking for a CUDA compiler - NOTFOUND -- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0 (found suitable exact version "10.0") -- Found OpenCV: C:/lib/vcpkg/installed/x64-windows (found version "3.4.3") -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Found PTHREADS: optimized;C:/lib/vcpkg/installed/x64-windows/lib/pthreadsVC2.lib;debug;C:/lib/vcpkg/installed/x64-windows/debug/lib/pthreadsVC2d.lib -- Found OpenMP_C: -openmp (found version "2.0") -- Found OpenMP_CXX: -openmp (found version "2.0") -- Found OpenMP: TRUE (found version "2.0") -- Configuring done -- Generating done -- 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. Checking Build System CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_debug/CMakeFiles/generate.stamp is u p-to-date. Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_debug/CMakeFiles/generate.stamp is u p-to-date. CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_debug/CMakeFiles/generate.stamp is u p-to-date. yolo_v2_class.cpp darknet.c activation_layer.c activations.c art.c activation_layer.c activations.c art.c avgpool_layer.c batchnorm_layer.c avgpool_layer.c blas.c box.c batchnorm_layer.c captcha.c blas.c cifar.c box.c captcha.c classifier.c cifar.c C:\Users\Justin\projects\darknet\src\classifier.c(201): warning C4474: 'sprintf' : too many arguments passed for format string [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] C:\Users\Justin\projects\darknet\src\classifier.c(201): note: placeholders and their parameters expect 2 variadic arg uments, but 3 were provided classifier.c coco.c C:\Users\Justin\projects\darknet\src\classifier.c(201): warning C4474: 'sprintf' : too many arguments passed for format string [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] C:\Users\Justin\projects\darknet\src\classifier.c(201): note: placeholders and their parameters expect 2 variadic arg uments, but 3 were provided col2im.c compare.c coco.c connected_layer.c col2im.c compare.c convolutional_layer.c connected_layer.c cost_layer.c convolutional_layer.c cpu_gemm.c crnn_layer.c cost_layer.c crop_layer.c cpu_gemm.c crnn_layer.c Generating Code... crop_layer.c Compiling... cuda.c data.c Generating Code... deconvolutional_layer.c Compiling... cuda.c data.c demo.c deconvolutional_layer.c demo.c detection_layer.c detector.c detection_layer.c C:\Users\Justin\projects\darknet\src\detector.c(322): warning C4474: 'sprintf' : too many arguments passed for format s tring [C:\Users\Justin\projects\darknet\build_win_debug\darknet.vcxproj] C:\Users\Justin\projects\darknet\src\detector.c(322): note: placeholders and their parameters expect 2 variadic argum ents, but 3 were provided dice.c detector.c C:\Users\Justin\projects\darknet\src\detector.c(322): warning C4474: 'sprintf' : too many arguments passed for format s tring [C:\Users\Justin\projects\darknet\build_win_debug\darklib.vcxproj] C:\Users\Justin\projects\darknet\src\detector.c(322): note: placeholders and their parameters expect 2 variadic argum ents, but 3 were provided dropout_layer.c dice.c gemm.c dropout_layer.c C:\Users\Justin\projects\darknet\src\gemm.c(903): warning C4309: 'argument': truncation of constant value [C:\Users\Jus tin\projects\darknet\build_win_debug\darknet.vcxproj] C:\Users\Justin\projects\darknet\src\gemm.c(1165): warning C4309: 'argument': truncation of constant value [C:\Users\Ju stin\projects\darknet\build_win_debug\darknet.vcxproj] C:\Users\Justin\projects\darknet\src\gemm.c(1206): warning C4309: 'argument': truncation of constant value [C:\Users\Ju stin\projects\darknet\build_win_debug\darknet.vcxproj] go.c gemm.c gru_layer.c C:\Users\Justin\projects\darknet\src\gemm.c(903): warning C4309: 'argument': truncation of constant value [C:\Users\Jus tin\projects\darknet\build_win_debug\darklib.vcxproj] C:\Users\Justin\projects\darknet\src\gemm.c(1165): warning C4309: 'argument': truncation of constant value [C:\Users\Ju stin\projects\darknet\build_win_debug\darklib.vcxproj] C:\Users\Justin\projects\darknet\src\gemm.c(1206): warning C4309: 'argument': truncation of constant value [C:\Users\Ju stin\projects\darknet\build_win_debug\darklib.vcxproj] go.c im2col.c image.c gru_layer.c im2col.c layer.c image.c list.c local_layer.c layer.c lstm_layer.c list.c local_layer.c matrix.c maxpool_layer.c lstm_layer.c network.c matrix.c maxpool_layer.c Generating Code... network.c Compiling... nightmare.c Generating Code... normalization_layer.c Compiling... nightmare.c option_list.c normalization_layer.c parser.c option_list.c region_layer.c parser.c reorg_layer.c region_layer.c reorg_old_layer.c reorg_layer.c rnn.c reorg_old_layer.c rnn_layer.c rnn.c rnn_vid.c rnn_layer.c route_layer.c rnn_vid.c shortcut_layer.c route_layer.c softmax_layer.c shortcut_layer.c super.c softmax_layer.c swag.c super.c tag.c swag.c tree.c tag.c upsample_layer.c tree.c utils.c upsample_layer.c voxel.c utils.c Generating Code... voxel.c Compiling... writing.c Generating Code... yolo.c Compiling... writing.c yolo_layer.c yolo.c http_stream.cpp yolo_layer.c http_stream.cpp gettimeofday.c getopt.c Generating Code... gettimeofday.c getopt.c Generating Code... darknet.vcxproj -> C:\Users\Justin\projects\darknet\build_win_debug\Debug\darknet.exe Creating library C:/Users/Justin/projects/darknet/build_win_debug/Debug/darklib.lib and object C:/Users/Justin/pro jects/darknet/build_win_debug/Debug/darklib.exp darklib.vcxproj -> C:\Users\Justin\projects\darknet\build_win_debug\Debug\darklib.dll Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_debug/CMakeFiles/generate.stamp is u p-to-date. yolo_console_dll.cpp CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_debug/CMakeFiles/generate.stamp is u p-to-date. yolo_console_dll.cpp uselib.vcxproj -> C:\Users\Justin\projects\darknet\build_win_debug\Debug\uselib.exe uselib_track.vcxproj -> C:\Users\Justin\projects\darknet\build_win_debug\Debug\uselib_track.exe Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_debug/CMakeFiles/generate.stamp is u p-to-date. d----- 3/3/2019 9:56 AM build_win_release -- The C compiler identification is MSVC 19.14.26429.4 -- The CXX compiler identification is MSVC 19.14.26429.4 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.14.26428/bin/Hostx64/x64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for a CUDA compiler -- Looking for a CUDA compiler - NOTFOUND -- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.0 (found suitable exact version "10.0") -- Found OpenCV: C:/lib/vcpkg/installed/x64-windows (found version "3.4.3") -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Found PTHREADS: C:/lib/vcpkg/installed/x64-windows/lib/pthreadsVC2.lib -- Found OpenMP_C: -openmp (found version "2.0") -- Found OpenMP_CXX: -openmp (found version "2.0") -- Found OpenMP: TRUE (found version "2.0") -- Configuring done -- Generating done -- Build files have been written to: C:/Users/Justin/projects/darknet/build_win_release Microsoft (R) Build Engine version 15.7.179.6572 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_release/CMakeFiles/generate.stamp is up-to-date. Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_release/CMakeFiles/generate.stamp is up-to-date. CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_release/CMakeFiles/generate.stamp is up-to-date. darknet.c yolo_v2_class.cpp activation_layer.c activations.c activation_layer.c art.c activations.c art.c avgpool_layer.c batchnorm_layer.c avgpool_layer.c blas.c box.c batchnorm_layer.c captcha.c blas.c cifar.c box.c captcha.c classifier.c cifar.c C:\Users\Justin\projects\darknet\src\classifier.c(201): warning C4474: 'sprintf' : too many arguments passed for format string [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] C:\Users\Justin\projects\darknet\src\classifier.c(201): note: placeholders and their parameters expect 2 variadic arg uments, but 3 were provided classifier.c coco.c C:\Users\Justin\projects\darknet\src\classifier.c(201): warning C4474: 'sprintf' : too many arguments passed for format string [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] C:\Users\Justin\projects\darknet\src\classifier.c(201): note: placeholders and their parameters expect 2 variadic arg uments, but 3 were provided col2im.c compare.c coco.c connected_layer.c col2im.c compare.c convolutional_layer.c connected_layer.c cost_layer.c convolutional_layer.c cpu_gemm.c crnn_layer.c cost_layer.c crop_layer.c cpu_gemm.c crnn_layer.c Generating Code... crop_layer.c Generating Code... Compiling... cuda.c data.c deconvolutional_layer.c Compiling... cuda.c data.c demo.c deconvolutional_layer.c demo.c detection_layer.c detector.c detection_layer.c C:\Users\Justin\projects\darknet\src\detector.c(322): warning C4474: 'sprintf' : too many arguments passed for format s tring [C:\Users\Justin\projects\darknet\build_win_release\darknet.vcxproj] C:\Users\Justin\projects\darknet\src\detector.c(322): note: placeholders and their parameters expect 2 variadic argum ents, but 3 were provided dice.c detector.c dropout_layer.c C:\Users\Justin\projects\darknet\src\detector.c(322): warning C4474: 'sprintf' : too many arguments passed for format s tring [C:\Users\Justin\projects\darknet\build_win_release\darklib.vcxproj] C:\Users\Justin\projects\darknet\src\detector.c(322): note: placeholders and their parameters expect 2 variadic argum ents, but 3 were provided dice.c gemm.c C:\Users\Justin\projects\darknet\src\gemm.c(903): warning C4309: 'argument': truncation of constant value [C:\Users\Jus tin\projects\darknet\build_win_release\darknet.vcxproj] C:\Users\Justin\projects\darknet\src\gemm.c(1165): warning C4309: 'argument': truncation of constant value [C:\Users\Ju stin\projects\darknet\build_win_release\darknet.vcxproj] C:\Users\Justin\projects\darknet\src\gemm.c(1206): warning C4309: 'argument': truncation of constant value [C:\Users\Ju stin\projects\darknet\build_win_release\darknet.vcxproj] go.c dropout_layer.c gru_layer.c gemm.c C:\Users\Justin\projects\darknet\src\gemm.c(903): warning C4309: 'argument': truncation of constant value [C:\Users\Jus tin\projects\darknet\build_win_release\darklib.vcxproj] C:\Users\Justin\projects\darknet\src\gemm.c(1165): warning C4309: 'argument': truncation of constant value [C:\Users\Ju stin\projects\darknet\build_win_release\darklib.vcxproj] C:\Users\Justin\projects\darknet\src\gemm.c(1206): warning C4309: 'argument': truncation of constant value [C:\Users\Ju stin\projects\darknet\build_win_release\darklib.vcxproj] go.c im2col.c image.c gru_layer.c layer.c im2col.c list.c image.c local_layer.c lstm_layer.c layer.c list.c local_layer.c matrix.c maxpool_layer.c lstm_layer.c network.c matrix.c maxpool_layer.c Generating Code... network.c Generating Code... Compiling... nightmare.c normalization_layer.c Compiling... nightmare.c option_list.c normalization_layer.c parser.c option_list.c region_layer.c parser.c reorg_layer.c region_layer.c reorg_old_layer.c reorg_layer.c rnn.c reorg_old_layer.c rnn_layer.c rnn.c rnn_vid.c rnn_layer.c route_layer.c rnn_vid.c shortcut_layer.c route_layer.c softmax_layer.c shortcut_layer.c super.c softmax_layer.c swag.c super.c tag.c swag.c tree.c tag.c upsample_layer.c tree.c utils.c upsample_layer.c voxel.c utils.c Generating Code... voxel.c Compiling... writing.c Generating Code... yolo.c Compiling... writing.c yolo_layer.c yolo.c http_stream.cpp yolo_layer.c http_stream.cpp gettimeofday.c getopt.c Generating Code... gettimeofday.c getopt.c Generating Code... darknet.vcxproj -> C:\Users\Justin\projects\darknet\build_win_release\Release\darknet.exe Creating library C:/Users/Justin/projects/darknet/build_win_release/Release/darklib.lib and object C:/Users/Justin /projects/darknet/build_win_release/Release/darklib.exp darklib.vcxproj -> C:\Users\Justin\projects\darknet\build_win_release\Release\darklib.dll Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_release/CMakeFiles/generate.stamp is up-to-date. yolo_console_dll.cpp CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_release/CMakeFiles/generate.stamp is up-to-date. yolo_console_dll.cpp uselib.vcxproj -> C:\Users\Justin\projects\darknet\build_win_release\Release\uselib.exe uselib_track.vcxproj -> C:\Users\Justin\projects\darknet\build_win_release\Release\uselib_track.exe Building Custom Rule C:/Users/Justin/projects/darknet/CMakeLists.txt CMake does not need to re-run because C:/Users/Justin/projects/darknet/build_win_release/CMakeFiles/generate.stamp is up-to-date. d----- 3/3/2019 9:58 AM build_win_release_cuda_int_libs CMake Error at C:/Program Files/CMake/share/cmake-3.14/Modules/CMakeDetermineSystem.cmake:99 (message): Could not find toolchain file: /scripts/buildsystems/vcpkg.cmake Call Stack (most recent call first): CMakeLists.txt:11 (project) -- Configuring incomplete, errors occurred! Microsoft (R) Build Engine version 15.7.179.6572 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. MSBUILD : error MSB1009: Project file does not exist. Switch: ALL_BUILD.vcxproj

cuda_vs2

mrboni commented 5 years ago

Hi guys

I have the same problem. Thanks for looking at this

mrboni commented 5 years ago

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\

cenit commented 5 years ago

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

mrboni commented 5 years ago

@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

cenit commented 5 years ago

yes, unfortunately the dll management (republishing) is still not complete. It will be soon ;)

cenit commented 5 years ago

Glad that it works, anyway. Let's hope to see the PR merged soon!

ellisju commented 5 years ago

@cenit It looks like it worked, thank you!

DCC-lzhy commented 3 years ago

@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 cuda_vs2

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".