Open Zhaojun-Liu opened 1 year ago
Looks like the string
header is missing. Have a try with including it in the beginning of facedetectcnn.cpp
:
#include "facedetectcnn.h"
#include <cmath>
#include <float.h> //for FLT_EPSION
#include <algorithm>//for stable_sort, sort
+ #include <string>
typedef struct NormalizedBBox_
{
float xmin;
float ymin;
float xmax;
float ymax;
float lm[10];
} NormalizedBBox;
Looks like the
string
header is missing. Have a try with including it in the beginning offacedetectcnn.cpp
:#include "facedetectcnn.h" #include <cmath> #include <float.h> //for FLT_EPSION #include <algorithm>//for stable_sort, sort + #include <string> typedef struct NormalizedBBox_ { float xmin; float ymin; float xmax; float ymax; float lm[10]; } NormalizedBBox;
I have tried to include the string
header in the facedetectcnn.cpp
or facedetectcnn.h
, both are worked 😃
Description: Recently, we updated the commit of bitcoin for MSVC RWC testing, it failed to build due to the error C2039 and error C3861 like below, could you please help take a look? Thanks.
Expected behavior: Build successfully.
Actual behavior: Build failed with error C2039 and error C3861
To reprodece:
More info: The commit of Libfacedetection we use: 4092665 VS version: VS2019 (v16.11.20)
Detailed log: build.log