markson14 / FaceRecognitionCpp

Large input size REAL-TIME Face Detector on Cpp. It can also support face verification using MobileFaceNet+Arcface with real-time inference. 480P Over 30FPS on CPU
47 stars 24 forks source link

error when make -j4 project #2

Closed luan1412167 closed 4 years ago

luan1412167 commented 4 years ago

Hi markson14! Thanks for your repo. I'm facing issue when run make project /mnt/data/Face-Recognition-Cpp/facetracking.hpp:28:7: error: a storage class can only be specified for objects and functions const extern class MTCNN; Can you suggest me way to fix it? thanks so much.

markson14 commented 4 years ago

@luan1412167 In my case, it just a warning instead of an error so I didn't fix this. Maybe it doesn't need const here. you can try: const extern class MTCNN to class MTCNN. This works for me.

luan1412167 commented 4 years ago

@markson14 thanks for your reply. it worked. Your repo is so useful.