How to include library/source files when mexing a C++ function?

Hi, I am trying to mex the facial landmark detection C++ program from the Dlib library. When trying to do so, I run into a problem with the header files and other "include" statements. Since these are part of the original C++ code, what can I add to the C++ function before mexing that would tell the function to look at a particular library, rather than having to point to the header files by using their specific folder addresses?
Thanks

답변 (0개)

카테고리

도움말 센터File Exchange에서 Write C Functions Callable from MATLAB (MEX Files)에 대해 자세히 알아보기

태그

질문:

2018년 10월 3일

댓글:

2018년 10월 3일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by