Tencent / GameAISDK

基于图像的游戏AI自动化框架
Other
2.02k stars 432 forks source link

编译ImgProc项目的时候报错 #5

Open war9 opened 4 years ago

war9 commented 4 years ago

大佬,您好,我从"https://git.code.tencent.com/Tencent_Open_Source/GameAISDK/tree/master"上下载了代码,然后在编译ImgProc项目时报了很多错误, 我的环境版本是vs2019,但是我下载了10.0.17134.0的sdk和vs2017的工具集 大佬,有时间麻烦你看下,谢谢!! 1>------ 已启动全部重新生成: 项目: UIRecognize, 配置: Debug_cpu x64 ------ 1>activations.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>activation_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>art.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>avgpool_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>batchnorm_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\batchnorm_layer.c(139): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\batchnorm_layer.c(140): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\batchnorm_layer.c(141): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\batchnorm_layer.c(142): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\batchnorm_layer.c(154): warning C4028: 形参 1 与声明不同 1>blas.c 1>box.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\box.c(139): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\box.c(140): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\box.c(141): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\box.c(142): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\box.c(144): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\box.c(161): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\box.c(162): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\box.c(163): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\box.c(164): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\box.c(166): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\box.c(186): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\box.c(187): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\box.c(188): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\box.c(189): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\box.c(191): warning C4305: “初始化”: 从“double”到“float”截断 1>captcha.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>cifar.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\cifar.c(81): warning C4305: “初始化”: 从“double”到“float”截断 1>classifier.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\classifier.c(631): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\classifier.c(632): warning C4305: “初始化”: 从“double”到“float”截断 1>coco.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\coco.c(175): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\coco.c(264): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\coco.c(329): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\coco.c(374): warning C4305: “函数”: 从“double”到“float”截断 1>col2im.c 1>compare.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\compare.c(70): warning C4305: “=”: 从“double”到“float”截断 1>connected_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\connected_layer.c(144): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\connected_layer.c(145): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\connected_layer.c(146): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\connected_layer.c(147): warning C4305: “函数”: 从“double”到“float”截断 1>convolutional_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\convolutional_layer.c(538): warning C4028: 形参 1 与声明不同 1>cost_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\cost_layer.c(74): warning C4028: 形参 1 与声明不同 1>cpu_gemm.c 1>crnn_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>crop_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>cuda.c 1>正在生成代码... 1>正在编译... 1>darknet.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>data.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\data.c(1065): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\data.c(1095): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\data.c(1132): warning C4305: “函数”: 从“double”到“float”截断 1>deconvolutional_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\deconvolutional_layer.c(85): warning C4113: “void (__cdecl )(deconvolutional_layer,float,float,float)”和“void (__cdecl )(layer,int,float,float,float)”的参数列表不同 1>demo.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>detection_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>detector.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\detector.c(428): warning C4477: “fprintf”: 格式字符串“%f”需要类型“double”的参数,但可变参数 1 拥有了类型“time_t” 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\detector.c(358): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\detector.c(359): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\detector.c(454): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\detector.c(456): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\detector.c(447): warning C4101: “l”: 未引用的局部变量 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\detector.c(569): warning C4305: “初始化”: 从“double”到“const float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\detector.c(570): warning C4305: “初始化”: 从“double”到“const float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\detector.c(534): warning C4101: “j”: 未引用的局部变量 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\detector.c(1072): warning C4305: “初始化”: 从“double”到“float”截断 1>dice.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\dice.c(38): warning C4305: “=”: 从“double”到“float”截断 1>dropout_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>gemm.c 1>getopt.c 1>gettimeofday.c 1>go.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\go.c(537): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\go.c(800): warning C4305: “函数”: 从“double”到“float”截断 1>gru_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>im2col.c 1>image.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\image.c(1444): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\image.c(1649): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\image.c(1650): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\image.c(1651): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\image.c(1652): warning C4305: “函数”: 从“double”到“float”截断 1>layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>list.c 1>local_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>matrix.c 1>maxpool_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>正在生成代码... 1>正在编译... 1>network.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\network.c(418): warning C4013: “resize_upsample_layer”未定义;假设外部返回 int 1>nightmare.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\nightmare.c(201): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\nightmare.c(204): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\nightmare.c(205): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\nightmare.c(249): warning C4305: “函数”: 从“double”到“float”截断 1>normalization_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>option_list.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\option_list.c(46): warning C4013: “get_labels”未定义;假设外部返回 int 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\option_list.c(46): warning C4047: “=”:“char *”与“int”的间接级别不同 1>parser.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\parser.c(276): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\parser.c(319): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\parser.c(373): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\parser.c(488): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\parser.c(603): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\parser.c(604): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\parser.c(605): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\parser.c(614): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\parser.c(615): warning C4305: “函数”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\parser.c(616): warning C4305: “函数”: 从“double”到“float”截断 1>region_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\region_layer.c(289): warning C4305: “函数”: 从“double”到“float”截断 1>reorg_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>reorg_old_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>rnn.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\rnn.c(478): warning C4305: “函数”: 从“double”到“float”截断 1>rnn_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>rnn_vid.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>route_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>shortcut_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>softmax_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>super.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>swag.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>tag.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>tree.c 1>upsample_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>utils.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\utils.c(291): warning C4477: “printf”: 格式字符串“%ld”需要类型“long”的参数,但可变参数 1 拥有了类型“size_t” 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\utils.c(291): note: 请考虑在格式字符串中使用“%zd” 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\utils.c(661): warning C4013: “rand_s”未定义;假设外部返回 int 1>正在生成代码... 1>正在编译... 1>voxel.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>writing.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>yolo.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\yolo.c(150): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\yolo.c(236): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\yolo.c(304): warning C4305: “初始化”: 从“double”到“float”截断 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\yolo.c(347): warning C4305: “函数”: 从“double”到“float”截断 1>yolo_layer.c 1>d:\documents\downloads\gameaisdk\modules\darknetv3-win\src\activations.h(59): warning C4305: “return”: 从“double”到“float”截断 1>正在生成代码... 1>http_stream.cpp 1>CColorMatch.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tsingleton.h(50): error C2065: “_au”: 未声明的标识符 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tsingleton.h(40): note: 编译 类 模板 成员函数 "T TSingleton::getInstance(void)" 时 1> with 1> [ 1> T=CLog 1> ] 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\imgreg\imgprocess\ccolormatch.cpp(42): note: 参见对正在编译的函数 模板 实例化“T TSingleton::getInstance(void)”的引用 1> with 1> [ 1> T=CLog 1> ] 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\log.h(18): note: 参见对正在编译的 类 模板 实例化 "TSingleton" 的引用 1>CObjDet.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tsingleton.h(50): error C2065: “_au”: 未声明的标识符 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tsingleton.h(40): note: 编译 类 模板 成员函数 "T TSingleton::getInstance(void)" 时 1> with 1> [ 1> T=CLog 1> ] 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\imgreg\imgprocess\cobjdet.cpp(24): note: 参见对正在编译的函数 模板 实例化“T TSingleton::getInstance(void)”的引用 1> with 1> [ 1> T=CLog 1> ] 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\log.h(18): note: 参见对正在编译的 类 模板 实例化 "TSingleton" 的引用 1>CORBMatch.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tsingleton.h(50): error C2065: “_au”: 未声明的标识符 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tsingleton.h(40): note: 编译 类 模板 成员函数 "T TSingleton::getInstance(void)" 时 1> with 1> [ 1> T=CLog 1> ] 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\imgreg\imgprocess\corbmatch.cpp(41): note: 参见对正在编译的函数 模板 实例化“T TSingleton::getInstance(void)”的引用 1> with 1> [ 1> T=CLog 1> ] 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\log.h(18): note: 参见对正在编译的 类 模板 实例化 "TSingleton" 的引用 1>ImgComn.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tsingleton.h(50): error C2065: “_au”: 未声明的标识符 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tsingleton.h(40): note: 编译 类 模板 成员函数 "T TSingleton::getInstance(void)" 时 1> with 1> [ 1> T=CLog 1> ] 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\imgreg\imgprocess\imgcomn.cpp(14): note: 参见对正在编译的函数 模板 实例化“T TSingleton::getInstance(void)”的引用 1> with 1> [ 1> T=CLog 1> ] 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\log.h(18): note: 参见对正在编译的 类 模板 实例化 "TSingleton" 的引用 1>CLocationReg.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tsingleton.h(50): error C2065: “_au”: 未声明的标识符 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tsingleton.h(40): note: 编译 类 模板 成员函数 "T TSingleton::getInstance(void)" 时 1> with 1> [ 1> T=CLog 1> ] 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\imgreg\recognizer\clocationreg.cpp(41): note: 参见对正在编译的函数 模板 实例化“T TSingleton::getInstance(void)”的引用 1> with 1> [ 1> T=CLog 1> ] 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\log.h(18): note: 参见对正在编译的 类 模板 实例化 "TSingleton" 的引用 1>TqcWindowsOS.cpp 1>GameUtils.cpp 1>IniConfig.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tsingleton.h(40): error C3254: “CIniConfig”: 类包含显式重写“getInstance”,但并不从包含函数声明的接口派生 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tsingleton.h(40): error C2838: “getInstance”: 成员声明中的限定名称非法 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tqclog.h(47): error C2071: “CIniConfig::g_logLevel”: 非法的存储类 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.cpp(16): error C2535: “CIniConfig::CIniConfig(void)”: 已经定义或声明成员函数 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.h(21): note: 参见“CIniConfig::CIniConfig”的声明 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.cpp(19): error C2535: “CIniConfig::~CIniConfig(void)”: 已经定义或声明成员函数 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.h(22): note: 参见“CIniConfig::~CIniConfig”的声明 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.cpp(22): error C2535: “int CIniConfig::loadFile(const char )”: 已经定义或声明成员函数 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.h(30): note: 参见“CIniConfig::loadFile”的声明 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.cpp(46): error C2535: “void CIniConfig::closeFile(void)”: 已经定义或声明成员函数 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.h(34): note: 参见“CIniConfig::closeFile”的声明 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.cpp(55): error C2535: “int CIniConfig::getPrivateStr(const char ,const char ,const char ,char ,const int)”: 已经定义或声明成员函数 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.h(40): note: 参见“CIniConfig::getPrivateStr”的声明 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.cpp(64): error C2535: “int CIniConfig::getPrivateAllSection(char ,const int)”: 已经定义或声明成员函数 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.h(46): note: 参见“CIniConfig::getPrivateAllSection”的声明 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.cpp(73): error C2535: “int CIniConfig::getPrivateAllKey(const char ,char ,const int)”: 已经定义或声明成员函数 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.h(51): note: 参见“CIniConfig::getPrivateAllKey”的声明 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.cpp(82): error C2535: “int CIniConfig::getPrivateInt(const char ,const char ,const int)”: 已经定义或声明成员函数 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.h(54): note: 参见“CIniConfig::getPrivateInt”的声明 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.cpp(97): error C2535: “bool CIniConfig::getPrivateBool(const char ,const char ,const int)”: 已经定义或声明成员函数 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.h(58): note: 参见“CIniConfig::getPrivateBool”的声明 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.cpp(185): error C2535: “int CIniConfig::ProcessOperateOne(const char ,char ,const int,char ,int,char ,const int)”: 已经定义或声明成员函数 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.h(66): note: 参见“CIniConfig::ProcessOperateOne”的声明 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.cpp(232): error C2535: “int CIniConfig::ProcessOperateTwo(const char ,char ,const int,char ,int,char ,const int,bool,const char )”: 已经定义或声明成员函数 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.h(68): note: 参见“CIniConfig::ProcessOperateTwo”的声明 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.cpp(308): error C2535: “int CIniConfig::ProcessOperateThree(const char ,char ,const int,char ,int,char ,const int)”: 已经定义或声明成员函数 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.h(70): note: 参见“CIniConfig::ProcessOperateThree”的声明 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.cpp(372): error C2535: “int CIniConfig::ProcessOperateFour(const char ,const char ,const char ,char ,const int,char ,int,char ,const int)”: 已经定义或声明成员函数 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.h(72): note: 参见“CIniConfig::ProcessOperateFour”的声明 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.cpp(477): error C2535: “int CIniConfig::getPrivateProfileString(const char ,const char ,const char ,char ,const int)”: 已经定义或声明成员函数 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.h(63): note: 参见“CIniConfig::getPrivateProfileString”的声明 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\iniconfig.h(19): fatal error C1075: “{”: 未找到匹配令牌 1>JsonConfig.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tsingleton.h(50): error C2065: “_au”: 未声明的标识符 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tsingleton.h(40): note: 编译 类 模板 成员函数 "T TSingleton::getInstance(void)" 时 1> with 1> [ 1> T=CLog 1> ] 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\jsonconfig.cpp(29): note: 参见对正在编译的函数 模板 实例化“T TSingleton::getInstance(void)”的引用 1> with 1> [ 1> T=CLog 1> ] 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\log.h(18): note: 参见对正在编译的 类 模板 实例化 "TSingleton" 的引用 1>Log.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tsingleton.h(50): error C2065: “_au”: 未声明的标识符 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\tsingleton.h(40): note: 编译 类 模板 成员函数 "T TSingleton::getInstance(void)" 时 1> with 1> [ 1> T=CLog 1> ] 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\log.cpp(123): note: 参见对正在编译的函数 模板 实例化“T TSingleton::getInstance(void)”的引用 1> with 1> [ 1> T=CLog 1> ] 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\log.h(18): note: 参见对正在编译的 类 模板 实例化 "TSingleton" 的引用 1>TqcCommon.cpp 1>TqcLock.cpp 1>TqcString.cpp 1>common.pb.cc 1>c1xx : fatal error C1083: 无法打开源文件: “......\Protobuf\common.pb.cc”: No such file or directory 1>gameregProtoc.pb.cc 1>c1xx : fatal error C1083: 无法打开源文件: “......\Protobuf\gameregProtoc.pb.cc”: No such file or directory 1>Action.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\comm\utils\base64.h(31): warning C4101: “char_array_4”: 未引用的局部变量 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\action\action.h(10): fatal error C1083: 无法打开包括文件: “Protobuf/common.pb.h”: No such file or directory 1>SendAction.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\action\sendaction.h(10): fatal error C1083: 无法打开包括文件: “Protobuf/common.pb.h”: No such file or directory 1>DataManager.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\communicate\datamanager.cpp(10): fatal error C1083: 无法打开包括文件: “Protobuf/common.pb.h”: No such file or directory 1>PBMsgManager.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\communicate\pbmsgmanager.cpp(10): fatal error C1083: 无法打开包括文件: “Protobuf/common.pb.h”: No such file or directory 1>正在生成代码... 1>正在编译... 1>GameOverState.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\action\action.h(10): fatal error C1083: 无法打开包括文件: “Protobuf/common.pb.h”: No such file or directory 1>GameRunState.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\action\action.h(10): fatal error C1083: 无法打开包括文件: “Protobuf/common.pb.h”: No such file or directory 1>GameStartState.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\action\action.h(10): fatal error C1083: 无法打开包括文件: “Protobuf/common.pb.h”: No such file or directory 1>HallState.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\action\action.h(10): fatal error C1083: 无法打开包括文件: “Protobuf/common.pb.h”: No such file or directory 1>main.cpp 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\cvdef.h(58): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\cvdef.h(58): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\mmintrin.h(29): error C2059: 语法错误:“字符串” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\mmintrin.h(29): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\xmmintrin.h(188): error C2059: 语法错误:“字符串” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\xmmintrin.h(188): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\emmintrin.h(69): error C2059: 语法错误:“字符串” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\emmintrin.h(69): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\setjmp.h(21): error C2059: 语法错误:“字符串” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\setjmp.h(21): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\pmmintrin.h(58): error C2059: 语法错误:“字符串” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\pmmintrin.h(58): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\tmmintrin.h(35): error C2059: 语法错误:“字符串” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\tmmintrin.h(35): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\smmintrin.h(83): error C2059: 语法错误:“字符串” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\smmintrin.h(83): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\nmmintrin.h(36): error C2059: 语法错误:“字符串” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\nmmintrin.h(36): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\wmmintrin.h(35): error C2059: 语法错误:“字符串” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\wmmintrin.h(35): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\immintrin.h(31): error C2059: 语法错误:“字符串” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\immintrin.h(31): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\zmmintrin.h(69): error C2059: 语法错误:“字符串” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\zmmintrin.h(69): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\ammintrin.h(32): error C2059: 语法错误:“字符串” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\ammintrin.h(32): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\intrin.h(49): error C2059: 语法错误:“字符串” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\intrin.h(49): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\algorithm(16): error C2059: 语法错误:“字符串” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\algorithm(16): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\algorithm(23): error C2059: 语法错误:“namespace” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\algorithm(23): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\iterator(16): error C2059: 语法错误:“namespace” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\iterator(16): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\iterator(282): error C2059: 语法错误:“namespace” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\iterator(282): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\array(17): error C2059: 语法错误:“namespace” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\array(17): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\cvdef.h(497): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\cvdef.h(497): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\cctype(33): error C2059: 语法错误:“namespace” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\cctype(33): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\cvstd.hpp(64): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\cvstd.hpp(65): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\cvstd.hpp(81): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\cvstd.hpp(81): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\cvstd.hpp(1033): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\cvstd.hpp(1034): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\ptr.inl.hpp(49): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\ptr.inl.hpp(49): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\base.hpp(60): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\base.hpp(61): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\assert.h(14): error C2059: 语法错误:“字符串” 1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\assert.h(14): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\check.hpp(10): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\check.hpp(10): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\traits.hpp(49): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\traits.hpp(50): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\saturate.hpp(51): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\saturate.hpp(52): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\matx.hpp(60): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\matx.hpp(61): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\vector(20): error C2059: 语法错误:“namespace” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\vector(20): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types.hpp(60): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types.hpp(61): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\bufferpool.hpp(15): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\bufferpool.hpp(16): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\mat.hpp(60): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\mat.hpp(61): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\mat.inl.hpp(57): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\mat.inl.hpp(58): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\persistence.hpp(107): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\persistence.hpp(107): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core.hpp(98): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core.hpp(98): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\operations.hpp(56): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\operations.hpp(57): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\sstream(14): error C2059: 语法错误:“namespace” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\sstream(14): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\complex(40): error C2059: 语法错误:“namespace” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\complex(40): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\cvstd.inl.hpp(57): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\cvstd.inl.hpp(58): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\functional(23): error C2059: 语法错误:“namespace” 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\functional(23): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\utility.hpp(63): error C2059: 语法错误:“namespace” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\utility.hpp(64): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\assert.h(14): error C2059: 语法错误:“字符串” 1>c:\program files (x86)\windows kits\10\include\10.0.17134.0\ucrt\assert.h(14): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types_c.h(335): error C2653: “cv”: 不是类或命名空间名称 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types_c.h(335): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types_c.h(335): error C2143: 语法错误: 缺少“,”(在“&”的前面) 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types_c.h(423): error C2371: “CIniConfig::CvMat”: 重定义;不同的基类型 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\persistence.hpp(99): note: 参见“CIniConfig::CvMat”的声明 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types_c.h(462): error C2653: “cv”: 不是类或命名空间名称 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types_c.h(462): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types_c.h(462): error C2143: 语法错误: 缺少“,”(在“&”的前面) 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types_c.h(466): error C2371: “CIniConfig::CvMat”: 重定义;不同的基类型 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\persistence.hpp(99): note: 参见“CIniConfig::CvMat”的声明 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types_c.h(527): error C2027: 使用了未定义类型“CvMat” 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\persistence.hpp(99): note: 参见“CvMat”的声明 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types_c.h(527): error C2653: “cv”: 不是类或命名空间名称 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types_c.h(527): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types_c.h(527): error C2143: 语法错误: 缺少“,”(在“&”的前面) 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types_c.h(528): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types_c.h(626): error C2371: “CIniConfig::CvMatND”: 重定义;不同的基类型 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\persistence.hpp(100): note: 参见“CIniConfig::CvMatND”的声明 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types_c.h(652): error C2653: “cv”: 不是类或命名空间名称 1>d:\documents\downloads\gameaisdk\modules\opencv-3.4.2\include\opencv2\core\types_c.h(652): fatal error C1003: 错误计数超过 100;正在停止编译 1>GameOverCfg.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2059: 语法错误:“{” 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>GameStartCfg.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2059: 语法错误:“{” 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uicfg\gamestartcfg.cpp(37): error C2065: “oVecState”: 未声明的标识符 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uicfg\gamestartcfg.cpp(39): error C2065: “nVecStartID”: 未声明的标识符 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uicfg\gamestartcfg.cpp(49): error C2065: “oVecState”: 未声明的标识符 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uicfg\gamestartcfg.cpp(54): error C2065: “nVecStartID”: 未声明的标识符 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uicfg\gamestartcfg.cpp(56): error C2065: “nVecStartID”: 未声明的标识符 1>CommUICfg.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2059: 语法错误:“{” 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>HallCfg.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2059: 语法错误:“{” 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uicfg\hallcfg.cpp(47): error C2065: “nVecStartID”: 未声明的标识符 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uicfg\hallcfg.cpp(63): error C2065: “nVecStartID”: 未声明的标识符 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uicfg\hallcfg.cpp(63): error C2672: “std::find”: 未找到匹配的重载函数 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uicfg\hallcfg.cpp(63): error C2780: “_InIt std::find(_InIt,const _InIt,const _Ty &)”: 应输入 3 个参数,却提供了 2 个 1>c:\program files (x86)\microsoft visual studio\2019\enterprise\vc\tools\msvc\14.16.27023\include\xutility(3538): note: 参见“std::find”的声明 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uicfg\hallcfg.cpp(70): error C2181: 没有匹配 if 的非法 else 1>POPUICfg.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2059: 语法错误:“{” 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>UIFrameWork.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uiframework.cpp(13): fatal error C1083: 无法打开包括文件: “Protobuf/common.pb.h”: No such file or directory 1>CommonUIReg.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2059: 语法错误:“{” 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>GameOverReg.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2059: 语法错误:“{” 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>GameStartReg.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2059: 语法错误:“{” 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>HallReg.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2059: 语法错误:“{” 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>POPUIReg.cpp 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2059: 语法错误:“{” 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(202): error C2334: “{”的前面有意外标记;跳过明显的函数体 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uireg\popuireg.cpp(123): error C2039: “nFrameCount”: 不是“tagFrameContext”的成员 1>d:\documents\downloads\gameaisdk\src\imgproc\ui\src\uitypes.h(198): note: 参见“tagFrameContext”的声明 1>正在生成代码... 1>已完成生成项目“UIRecognize.vcxproj”的操作 - 失败。 ========== 全部重新生成: 成功 0 个,失败 1 个,跳过 0 个 ==========

war9 commented 4 years ago

还是说只能在vs2017中编译吗

sinshen commented 4 years ago

还是说只能在vs2017中编译吗

VS中选择 Release_cpu 编译。之前一直在VS2017上编译的,没用vs2019编译过。还是建议按照ReadMe文档的步骤来编译。

todanchen commented 4 years ago

Hi, sinshen. 我这边也是像这样报语法出错,使用VS2017编译的(win10)。 PS : core.autocrlf=true

war9 commented 4 years ago

是否是缺少了环境或者c++编译版本不对,全是编译器错误

sinshen commented 4 years ago

@war9 @todanchen 和我们之前遇到的问题类似,拉取代码是unix格式,vs编译就是报错。ReadMe底部更新了QQ交流群,有兴趣加入群交流。

war9 commented 4 years ago

@war9 @todanchen 和我们之前遇到的问题类似,拉取代码是unix格式,vs编译就是报错。ReadMe底部更新了QQ交流群,有兴趣加入群交流。

已添加 等待通过

Fcitx666 commented 4 years ago

@war9 @todanchen 和我们之前遇到的问题类似,拉取代码是unix格式,vs编译就是报错。ReadMe底部更新了QQ交流群,有兴趣加入群交流。

谢谢大佬终于编译成功了

war9 commented 4 years ago

@war9 @todanchen 和我们之前遇到的问题类似,拉取代码是unix格式,vs编译就是报错。ReadMe底部更新了QQ交流群,有兴趣加入群交流。

谢谢大佬终于编译成功了

咋编译的成功/哭笑/哭笑/哭笑

Fcitx666 commented 4 years ago

@war9 @todanchen 和我们之前遇到的问题类似,拉取代码是unix格式,vs编译就是报错。ReadMe底部更新了QQ交流群,有兴趣加入群交流。

谢谢大佬终于编译成功了

咋编译的成功/哭笑/哭笑/哭笑

你是怎么拉的代码的是用zip还是git clone 我用clone重新拉了再编就可以了

war9 commented 4 years ago

文件太大了git 不下来 我直接下载的zip

war9 commented 4 years ago

@war9 @todanchen 和我们之前遇到的问题类似,拉取代码是unix格式,vs编译就是报错。ReadMe底部更新了QQ交流群,有兴趣加入群交流。

谢谢大佬终于编译成功了

咋编译的成功/哭笑/哭笑/哭笑

你是怎么拉的代码的是用zip还是git clone 我用clone重新拉了再编就可以了

老哥发我一份你git下来的行吗

Fcitx666 commented 4 years ago

文件太大了git 不下来 我直接下载的zip

咋发给你

Fcitx666 commented 4 years ago

文件太大了git 不下来 我直接下载的zip

咋发给你

1362575229@qq.com邮箱吧 谢谢老哥了

已发注意查收

war9 commented 4 years ago

文件太大了git 不下来 我直接下载的zip 已发注意查收

好的谢谢老哥

wongdu commented 3 years ago

cd to the directory ,then just try the command lines as follow: find . -name .h |xargs unix2dos find . -name .cpp -o -name .cc -o -name .c |xargs unix2dos

wongdu commented 3 years ago

@war9 @sinshen @todanchen solve the compile errors with the command lines

KylaCpper commented 1 year ago

文件太大了git 不下来 我直接下载的zip

咋发给你

1362575229@qq.com 邮箱吧 谢谢老哥了

已发注意查收

我也遇到这个问题了 老哥也发我一份把 752889676@qq.com 谢谢了