Matlab-YOLOv2-LiveTracking icon indicating copy to clipboard operation
Matlab-YOLOv2-LiveTracking copied to clipboard

how to run this commend ?

Open sssss971412 opened this issue 6 years ago • 1 comments

when i run this commend : mex -I./darknet/include/ -I./darknet/src/ -L. -lyolo yolomex.c it will show the error below

Error using mex MEX cannot find library 'yolo', specified with the -l option. MEX searched for a file with one of the following names: libyolo.a yolo.lib libyolo.lib Verify the library name is correct. If the library is not on the existing path, specify the path with the -L option.

did I lack some file ? or I have to produce this three by my self?

thanks for help me.

sssss971412 avatar Jun 03 '19 03:06 sssss971412

Hey, apparently your Matlab is looking for the library files with a lib or an a extention, while they are there as c and h. The -L. parameter means 'look in the this path'. Try to tell explicitly -Llibyolo.h -Llibyolo.c or something similar.

kbitr avatar Jun 03 '19 06:06 kbitr