For my thesis I want to use Dlib's face_landmark_detection
, but I keep running into these errors (for both Visual studio 2013 as well as 2015
):
"cannot open include file: 'zlib.h': No such file or directory"
and
"'F77_INT': undeclared identifier".
It repeats itself so I have 36 errors based on these two problems.
My supervisor has given me some steps to follow to set up the project:
- add
dlib-master
and dlib-master\examples to VC++ directories -> include directories - add dlib-master\dlib\external\libjpeg and dlib-master\dlib\entropy_decoder to C/C++ -> General -> Additional include directories
- add all folders and items from dlib-master\dlib\external (cblas, libjpeg, libpng and zlib) to the project source folder
- add the dlib source file (from dlib-master\dlib\all) and add face_landmark_detection (from dlib-master\examples) to the project source folder.
and according to him this has worked on every other computer so far, but on my laptop it just won't. We checked to project, but zlib.h
is in the zlib
folder in the project. Does anyone here have an idea on what might be going wrong?
If I didn't give enough info, please ask. I don't know what else might be needed to solve this.