zweigraf / face-landmarking-ios

👦 Basic face landmarking on iPhone with Dlib via Swift & ObjC++
481 stars 125 forks source link

'vector' file not found #29

Closed aguusvazquez closed 7 years ago

aguusvazquez commented 7 years ago

Hi, first of all, thanks a lot for the library! It's great!! I'm having this issue everytime, and I don't know how to fix it:

ios/lib/dlib/image_processing/scan_image.h:6:10: 'vector' file not found

This happens when I include this line in the .m file:

include <dlib/image_processing.h>

Anyone knows why this is happening?

Thank you very much!!

Agustin

lawliet0823 commented 7 years ago

.m file is for Objective-C .mm file is for Objective-C、C/C++ You should try to change your filename extension.

aguusvazquez commented 7 years ago

@lawliet0823 Thanks man!! Now it's compiling well