how to run this commend ?
sssss971412 opened this issue · 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.
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.