Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to run this commend ? #1

Open
sssss971412 opened this issue Jun 3, 2019 · 1 comment
Open

how to run this commend ? #1

sssss971412 opened this issue Jun 3, 2019 · 1 comment

Comments

@sssss971412
Copy link

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.

@kbitr
Copy link
Owner

kbitr commented Jun 3, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants