Open milton-logothetis opened 3 years ago
@cenit Hi, Is there any issue with VCPKG currently?
@AlexeyAB
Hi
After run .\vcpkg install darknet[full]:x64-windows
successfully , it take around 5 hours
I face the same problem when run.\build.ps1
:
yolo_console_dll.obj : error LNK2019: unresolved external symbol send_json_custom referenced in function "public: bool
__cdecl.....
Which vcpkg release are you suggest for build darknet.
@AlexeyAB I am getting the same error while running ./build.ps1. Please help anyone, how to fix that error. Here is that list of error I am getting:
yolo_console_dll.obj : error LNK2019: unresolved external symbol send_json_custom referenced in funct
ion "public: bool cdecl Detector::send_json_http(class std::vector<struct bbox_t,class std::allocat
or
+ CategoryInfo : NotSpecified: (:) [Copy-Item], DirectoryNotFoundException
+ FullyQualifiedErrorId : System.IO.DirectoryNotFoundException,Microsoft.PowerShell.Commands.Cop
yItemCommand
There is a quick workaround for this issue here: https://github.com/AlexeyAB/darknet/issues/6679#issuecomment-694640700
The functions are not properly exported from the darknet.dll.
The functions are not properly exported from the darknet.dll.
not true.
Please everybody confirm being running the latest darknet sources. To be honest, I cannot reproduce the error in any build configuration I am trying. Please give as many details as possible about your setup (Win version, VS version, darknet git commit, vcpkg git commit, ...)
My pervious fail experience is build under with Window Insider Program Dev Channel (the OS build is 20215 )
After try and error, Finally I successfully build (all the same cmd with guide )and run darknet with GPU with another window 10 computer .
The env are: Window 10 Pro version 2004 OS build 19041.508 cmake-3.18.2 Visual studio 2019 community Version 16.7.3 installed with C++ Redistributable CUDA 10.1 update2 with cudnn v7.6.5.32 darknet eb0272f27acda1982fe4d30acd838fca427785a9 vcpkg 32eccc18191fbb57b159784a1724d2d00613ae82
Total elapsed time: 4.846 h for .\vcpkg install darknet[full]:x64-windows
I am trying to build darknet on Windows using the new instructions for vcpkg, however when I am building the executable I get the following error:
The linking error repeats itself for a number of functions suggesting that the build process cannot locate some symbols. I have tried re-setting my environment variables, re-building vcpkg but it wont be solved. I have searched online but can't find any specific info, only when building through the Visual Studio IDE which seems to be a simple issue to fix. << Please help my time is running out >>