Unfortunately I am not very experienced with C++ and the handling of Visual Studio. I have to implement a C++ application, in which I can integrate yolo or darknet as a library and use it flexibly. I'm using Windows and Visual Studio 2015.
I have looked at the following repo. What I have tried so far:
- I have installed CUDA (although I want to run the model on the CPU for testing purposes), Cudnn and Opencv
- I opened the vs solution from
build\darknet\darknet_no_gpu.sln
from the AlexeyAb repo with Visual Studio. Inside the repo there are a lot of header and C-files :
I also added my
opencv\build\include
path to the Additional Include Directories, theopencv\x64\vc14\lib
to the Additonal Library Directories and theopencv_world320.dll
file to the linkerInput
field.I also set x64 and Release
Now, I don't know how to proceed. Just creating a source.cpp
and do a #include "darknet.h"
seems not to work. I get a lot of errors like: darknet_no_gpu.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
. In the repo it is mentioned at several places that you have to build the solution but what exactly does this mean or what exactly do I get afterwards and do with it?
Does anyone know how I could solve my problem? I'm really glad for any advice!