[solved] ofxDarknet examples - Build error "LNK1104: cannot open file 'opencv_video249d.lib'"


I’m trying to use the library ofxDarknet to run yolo object detection.

I’m using Visual Studio 2017 with of_v0.10.1 on Windows 10, with Cuda 10.1

The thing im trying to achieve before I start using it in my own application is getting any of the examples to run.
I have doube checked that I am running a valid and working version of ofxOpenCv, Cuda and have double checked some examples for both.
Still, trying to build any of the examples for ofxDarknet, I get the error
“LNK1104: cannot open file ‘opencv_video249d.lib’”

Any pointers what I am doing wrong / what I should do are greatly appreciated.


The problem was that ofx 10.1 comes with a different version of opencv, which doesn’t have the same .libs, but extracting the older ofxopencv 2.4.9 and running it alongside the new one with the references in the sketch changed works.
Cuda10 throws simmilar errors and has to be changed to cuda 8. On windows this requires manually copying the relevant files to your vs install