Open ZambranoAd opened 5 years ago
any updates? anyone found a solution to this problem?
@ZambranoAd Did you do: https://github.com/AlexeyAB/darknet#requirements on Windows set system variable OpenCV_DIR = C:\opencv\build - where are the include and x64 folders https://user-images.githubusercontent.com/4096485/53249516-5130f480-36c9-11e9-8238-a6e82e48c6f2.png )
Hey, I don't know about OP but I did all of the requirements and I also set the user env variable. Still getting this error on the build. Also, my build from visual studio says 5 successful, 1 skipped. Could that be a reason?
Also, my build from visual studio says 5 successful, 1 skipped.
So all compiled successfully.
So what is the issue? Can you show screenshot of the error?
I'm not at work rn, I can show you tomorrow. But basically when I try to run it in the command prompt it says 'Error:pthreadCV2.dll not found. Reinstalling the program might fix the issue'
Try to copy files from 3rdparty/pthreads/bin/
to the folder where is darknet.exe
Okay I'll try that tomorrow thanks!
Hi, thanks for your useful repository. My first compilation of darknet using CMake in Windows 10 (MS Visual Studio 2015, CUDA 10.0, CDNN > 7.0) was properly configured, generated, and built the first time I ran it, but when I tried to run darknet.exe in the command prompt I found the error of pthreadVC2.dll not found . In order to solve this, I tried to rebuild the solution again, but I made the mistake of hitting the 'Open Project' button in CMake while having the previous VS solution open. Now, I find the fatal error LNK1181 cannot find opencv/.../Release/ .lib. It seems the solution is corrupted after opening the same project two times, and I want to know how to fix this linker error. Is it possible to rename the 'darknet' solution file so that Visual Studio reads it as a new solution file? I would appreciate any help you can provide me ! Thanks in advance