I had the same problem.
I don’t know if my approach was the best but I have changed OpenCV
directly instead of Unreal
I had to change "opencv2/core/types_c.h"
I changed the code below:
#else
typedef int64_t int64;
typedef uint64_t uint64;
# define CV_BIG_INT(n) n##LL
# define CV_BIG_UINT(n) n##ULL
#endif
By the the following code:
#else
typedef long long int64;
typedef unsigned long long uint64;
# define CV_BIG_INT(n) n##LL
# define CV_BIG_UINT(n) n##ULL
#endif
No Unreal and OpenCV works.