Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
Muhammad Islam
Muhammad Islam le 3 Oct 2018
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
  1 commentaire
Muhammad Islam
Muhammad Islam le 3 Oct 2018
Resolved. There was a syntax issue. Using test.h vs "test.h"

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Write C Functions Callable from MATLAB (MEX Files) dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by