4a94151f by 乔峰昇

submmit all code

1 parent ed52fddf
Showing 50 changed files with 5676 additions and 249 deletions
1 {
2 "files.associations": {
3 "*.py": "python",
4 "string": "cpp",
5 "iostream": "cpp",
6 "memory": "cpp"
7 }
8 }
...\ No newline at end of file ...\ No newline at end of file
...@@ -6,8 +6,13 @@ set(CMAKE_CXX_STANDARD 11) ...@@ -6,8 +6,13 @@ set(CMAKE_CXX_STANDARD 11)
6 find_package(OpenCV REQUIRED) 6 find_package(OpenCV REQUIRED)
7 set(MNN_DIR /home/situ/MNN/MNN1.0/MNN) 7 set(MNN_DIR /home/situ/MNN/MNN1.0/MNN)
8 include_directories(${MNN_DIR}/include) 8 include_directories(${MNN_DIR}/include)
9 include_directories(/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/include)
9 LINK_DIRECTORIES(${MNN_DIR}/build) 10 LINK_DIRECTORIES(${MNN_DIR}/build)
10 add_executable(main main.cpp faceLandmarks.cpp) 11 set(FACECOMPARISON_DIR /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/lib)
12 # add_library(facecomparison SHARED facerecognize.cpp retinaface.cpp facelandmarks.cpp facecomparison.cpp)
13 # add_executable(main main.cpp facerecognize.cpp retinaface.cpp facelandmarks.cpp facecomparison.cpp)
14 add_executable(main main.cpp)
11 # add_executable(main z.cpp) 15 # add_executable(main z.cpp)
12 target_link_libraries(main -lMNN ${OpenCV_LIBS}) 16 target_link_libraries(main ${FACECOMPARISON_DIR}/libfacecomparison.so -lMNN ${OpenCV_LIBS})
17 # target_link_libraries(facecomparison -lMNN ${OpenCV_LIBS})
13 18
......
1
2 MNN1.0.0+opencv
3
4 模型初始化
5
6 FaceComparison face_rec=FaceComparison(det_model_path,landm_model_path,rec_model_path)
7
8 det_model_path:人脸检测模型retinaface的模型路径
9 landm_model_path:106人脸关键点模型的模型路径
10 rec_model_path:人脸识别模型的模型路径
11
12 重要参数(include/facecomparison.h文件)
13
14 // 人脸检测阈值
15 float confidence_threshold = 0.5;
16 // 是否进行人脸外廓
17 bool is_bbox_process = true;
18 // 人脸比对相似度阈值
19 float face_recongnize_thr = 0.5;
20 // 线程个数
21 int num_thread = 2;
22
23 接口(返回结果 bool:true/false)
24 bool face_compare(string image_path1,string image_path2);参数为两张图像地址,其中iamge1_path为face_id图像输入
25 bool face_compare_image(Mat image1,Mat image2);参数为两张opencv读取的图像矩阵,其中iamge1为face_id图像输入
26
27 编译
28 将CMakeLists.txt 中 set(FACECOMPARISON_DIR /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/lib)
29 改为lib文件夹所在的绝对地址
30 mkdir build
31 cd build
32 cmake ..
33 make
34 ./main
35
1 # This is the CMakeCache file.
2 # For build in directory: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build
3 # It was generated by CMake: /usr/bin/cmake
4 # You can edit this file to change values found and used by cmake.
5 # If you do not want to change any of the values, simply exit the editor.
6 # If you do want to change a value, simply edit, save, and exit the editor.
7 # The syntax for the file is as follows:
8 # KEY:TYPE=VALUE
9 # KEY is the name of a variable in the cache.
10 # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
11 # VALUE is the current value for the KEY.
12
13 ########################
14 # EXTERNAL cache entries
15 ########################
16
17 //Path to a program.
18 CMAKE_AR:FILEPATH=/usr/bin/ar
19
20 //Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
21 // CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
22 CMAKE_BUILD_TYPE:STRING=
23
24 //Enable/Disable color output during build.
25 CMAKE_COLOR_MAKEFILE:BOOL=ON
26
27 //CXX compiler
28 CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
29
30 //A wrapper around 'ar' adding the appropriate '--plugin' option
31 // for the GCC compiler
32 CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-7
33
34 //A wrapper around 'ranlib' adding the appropriate '--plugin' option
35 // for the GCC compiler
36 CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-7
37
38 //Flags used by the compiler during all build types.
39 CMAKE_CXX_FLAGS:STRING=
40
41 //Flags used by the compiler during debug builds.
42 CMAKE_CXX_FLAGS_DEBUG:STRING=-g
43
44 //Flags used by the compiler during release builds for minimum
45 // size.
46 CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
47
48 //Flags used by the compiler during release builds.
49 CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
50
51 //Flags used by the compiler during release builds with debug info.
52 CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
53
54 //C compiler
55 CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc
56
57 //A wrapper around 'ar' adding the appropriate '--plugin' option
58 // for the GCC compiler
59 CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-7
60
61 //A wrapper around 'ranlib' adding the appropriate '--plugin' option
62 // for the GCC compiler
63 CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-7
64
65 //Flags used by the compiler during all build types.
66 CMAKE_C_FLAGS:STRING=
67
68 //Flags used by the compiler during debug builds.
69 CMAKE_C_FLAGS_DEBUG:STRING=-g
70
71 //Flags used by the compiler during release builds for minimum
72 // size.
73 CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
74
75 //Flags used by the compiler during release builds.
76 CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
77
78 //Flags used by the compiler during release builds with debug info.
79 CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
80
81 //Flags used by the linker.
82 CMAKE_EXE_LINKER_FLAGS:STRING=
83
84 //Flags used by the linker during debug builds.
85 CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
86
87 //Flags used by the linker during release minsize builds.
88 CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
89
90 //Flags used by the linker during release builds.
91 CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
92
93 //Flags used by the linker during Release with Debug Info builds.
94 CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
95
96 //Enable/Disable output of compile commands during generation.
97 CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
98
99 //Install path prefix, prepended onto install directories.
100 CMAKE_INSTALL_PREFIX:PATH=/usr/local
101
102 //Path to a program.
103 CMAKE_LINKER:FILEPATH=/usr/bin/ld
104
105 //Path to a program.
106 CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make
107
108 //Flags used by the linker during the creation of modules.
109 CMAKE_MODULE_LINKER_FLAGS:STRING=
110
111 //Flags used by the linker during debug builds.
112 CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
113
114 //Flags used by the linker during release minsize builds.
115 CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
116
117 //Flags used by the linker during release builds.
118 CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
119
120 //Flags used by the linker during Release with Debug Info builds.
121 CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
122
123 //Path to a program.
124 CMAKE_NM:FILEPATH=/usr/bin/nm
125
126 //Path to a program.
127 CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
128
129 //Path to a program.
130 CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
131
132 //Value Computed by CMake
133 CMAKE_PROJECT_NAME:STATIC=main
134
135 //Path to a program.
136 CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
137
138 //Flags used by the linker during the creation of dll's.
139 CMAKE_SHARED_LINKER_FLAGS:STRING=
140
141 //Flags used by the linker during debug builds.
142 CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
143
144 //Flags used by the linker during release minsize builds.
145 CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
146
147 //Flags used by the linker during release builds.
148 CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
149
150 //Flags used by the linker during Release with Debug Info builds.
151 CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
152
153 //If set, runtime paths are not added when installing shared libraries,
154 // but are added when building.
155 CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
156
157 //If set, runtime paths are not added when using shared libraries.
158 CMAKE_SKIP_RPATH:BOOL=NO
159
160 //Flags used by the linker during the creation of static libraries.
161 CMAKE_STATIC_LINKER_FLAGS:STRING=
162
163 //Flags used by the linker during debug builds.
164 CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
165
166 //Flags used by the linker during release minsize builds.
167 CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
168
169 //Flags used by the linker during release builds.
170 CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
171
172 //Flags used by the linker during Release with Debug Info builds.
173 CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
174
175 //Path to a program.
176 CMAKE_STRIP:FILEPATH=/usr/bin/strip
177
178 //If this value is on, makefiles will be generated without the
179 // .SILENT directive, and all commands will be echoed to the console
180 // during the make. This is useful for debugging only. With Visual
181 // Studio IDE projects all commands are done without /nologo.
182 CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
183
184 //Compile device code in 64 bit mode
185 CUDA_64_BIT_DEVICE_CODE:BOOL=ON
186
187 //Attach the build rule to the CUDA source file. Enable only when
188 // the CUDA source file is added to at most one target.
189 CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE:BOOL=ON
190
191 //Generate and parse .cubin files in Device mode.
192 CUDA_BUILD_CUBIN:BOOL=OFF
193
194 //Build in Emulation mode
195 CUDA_BUILD_EMULATION:BOOL=OFF
196
197 //"cudart" library
198 CUDA_CUDART_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libcudart.so
199
200 //"cuda" library (older versions only).
201 CUDA_CUDA_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libcuda.so
202
203 //Directory to put all the output files. If blank it will default
204 // to the CMAKE_CURRENT_BINARY_DIR
205 CUDA_GENERATED_OUTPUT_DIR:PATH=
206
207 //Generated file extension
208 CUDA_HOST_COMPILATION_CPP:BOOL=ON
209
210 //Host side compiler used by NVCC
211 CUDA_HOST_COMPILER:FILEPATH=/usr/bin/cc
212
213 //Path to a program.
214 CUDA_NVCC_EXECUTABLE:FILEPATH=/usr/local/cuda-10.1/bin/nvcc
215
216 //Semi-colon delimit multiple arguments.
217 CUDA_NVCC_FLAGS:STRING=
218
219 //Semi-colon delimit multiple arguments.
220 CUDA_NVCC_FLAGS_DEBUG:STRING=
221
222 //Semi-colon delimit multiple arguments.
223 CUDA_NVCC_FLAGS_MINSIZEREL:STRING=
224
225 //Semi-colon delimit multiple arguments.
226 CUDA_NVCC_FLAGS_RELEASE:STRING=
227
228 //Semi-colon delimit multiple arguments.
229 CUDA_NVCC_FLAGS_RELWITHDEBINFO:STRING=
230
231 //Propage C/CXX_FLAGS and friends to the host compiler via -Xcompile
232 CUDA_PROPAGATE_HOST_FLAGS:BOOL=ON
233
234 //Path to a file.
235 CUDA_SDK_ROOT_DIR:PATH=CUDA_SDK_ROOT_DIR-NOTFOUND
236
237 //Compile CUDA objects with separable compilation enabled. Requires
238 // CUDA 5.0+
239 CUDA_SEPARABLE_COMPILATION:BOOL=OFF
240
241 //Path to a file.
242 CUDA_TOOLKIT_INCLUDE:PATH=/usr/local/cuda-10.1/include
243
244 //Toolkit location.
245 CUDA_TOOLKIT_ROOT_DIR:PATH=/usr/local/cuda-10.1
246
247 //Use the static version of the CUDA runtime library if available
248 CUDA_USE_STATIC_CUDA_RUNTIME:BOOL=ON
249
250 //Print out the commands run while compiling the CUDA source file.
251 // With the Makefile generator this defaults to VERBOSE variable
252 // specified on the command line, but can be forced on with this
253 // option.
254 CUDA_VERBOSE_BUILD:BOOL=OFF
255
256 //Version of CUDA as computed from nvcc.
257 CUDA_VERSION:STRING=10.1
258
259 //"cublas" library
260 CUDA_cublas_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libcublas.so
261
262 //"cublas_device" library
263 CUDA_cublas_device_LIBRARY:FILEPATH=CUDA_cublas_device_LIBRARY-NOTFOUND
264
265 //"cudadevrt" library
266 CUDA_cudadevrt_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libcudadevrt.a
267
268 //static CUDA runtime library
269 CUDA_cudart_static_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libcudart_static.a
270
271 //"cufft" library
272 CUDA_cufft_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libcufft.so
273
274 //"cupti" library
275 CUDA_cupti_LIBRARY:FILEPATH=/usr/local/cuda-10.1/extras/CUPTI/lib64/libcupti.so
276
277 //"curand" library
278 CUDA_curand_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libcurand.so
279
280 //"cusolver" library
281 CUDA_cusolver_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libcusolver.so
282
283 //"cusparse" library
284 CUDA_cusparse_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libcusparse.so
285
286 //"nppc" library
287 CUDA_nppc_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libnppc.so
288
289 //"nppi" library
290 CUDA_nppi_LIBRARY:FILEPATH=CUDA_nppi_LIBRARY-NOTFOUND
291
292 //"nppial" library
293 CUDA_nppial_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libnppial.so
294
295 //"nppicc" library
296 CUDA_nppicc_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libnppicc.so
297
298 //"nppicom" library
299 CUDA_nppicom_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libnppicom.so
300
301 //"nppidei" library
302 CUDA_nppidei_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libnppidei.so
303
304 //"nppif" library
305 CUDA_nppif_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libnppif.so
306
307 //"nppig" library
308 CUDA_nppig_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libnppig.so
309
310 //"nppim" library
311 CUDA_nppim_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libnppim.so
312
313 //"nppist" library
314 CUDA_nppist_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libnppist.so
315
316 //"nppisu" library
317 CUDA_nppisu_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libnppisu.so
318
319 //"nppitc" library
320 CUDA_nppitc_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libnppitc.so
321
322 //"npps" library
323 CUDA_npps_LIBRARY:FILEPATH=/usr/local/cuda-10.1/lib64/libnpps.so
324
325 //Path to a library.
326 CUDA_rt_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/librt.so
327
328 //The directory containing a CMake configuration file for OpenCV.
329 OpenCV_DIR:PATH=/usr/local/lib/cmake/opencv4
330
331 //Value Computed by CMake
332 main_BINARY_DIR:STATIC=/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build
333
334 //Value Computed by CMake
335 main_SOURCE_DIR:STATIC=/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn
336
337
338 ########################
339 # INTERNAL cache entries
340 ########################
341
342 //ADVANCED property for variable: CMAKE_AR
343 CMAKE_AR-ADVANCED:INTERNAL=1
344 //This is the directory where this CMakeCache.txt was created
345 CMAKE_CACHEFILE_DIR:INTERNAL=/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build
346 //Major version of cmake used to create the current loaded cache
347 CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
348 //Minor version of cmake used to create the current loaded cache
349 CMAKE_CACHE_MINOR_VERSION:INTERNAL=10
350 //Patch version of cmake used to create the current loaded cache
351 CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
352 //ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
353 CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
354 //Path to CMake executable.
355 CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
356 //Path to cpack program executable.
357 CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
358 //Path to ctest program executable.
359 CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
360 //ADVANCED property for variable: CMAKE_CXX_COMPILER
361 CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
362 //ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
363 CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
364 //ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
365 CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
366 //ADVANCED property for variable: CMAKE_CXX_FLAGS
367 CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
368 //ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
369 CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
370 //ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
371 CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
372 //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
373 CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
374 //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
375 CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
376 //ADVANCED property for variable: CMAKE_C_COMPILER
377 CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
378 //ADVANCED property for variable: CMAKE_C_COMPILER_AR
379 CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
380 //ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
381 CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
382 //ADVANCED property for variable: CMAKE_C_FLAGS
383 CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
384 //ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
385 CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
386 //ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
387 CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
388 //ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
389 CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
390 //ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
391 CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
392 //Path to cache edit program executable.
393 CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/cmake-gui
394 //Executable file format
395 CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
396 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
397 CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
398 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
399 CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
400 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
401 CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
402 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
403 CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
404 //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
405 CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
406 //ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
407 CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
408 //Name of external makefile project generator.
409 CMAKE_EXTRA_GENERATOR:INTERNAL=
410 //Name of generator.
411 CMAKE_GENERATOR:INTERNAL=Unix Makefiles
412 //Name of generator platform.
413 CMAKE_GENERATOR_PLATFORM:INTERNAL=
414 //Name of generator toolset.
415 CMAKE_GENERATOR_TOOLSET:INTERNAL=
416 //Have symbol pthread_create
417 CMAKE_HAVE_LIBC_CREATE:INTERNAL=
418 //Have library pthreads
419 CMAKE_HAVE_PTHREADS_CREATE:INTERNAL=
420 //Have library pthread
421 CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
422 //Have include pthread.h
423 CMAKE_HAVE_PTHREAD_H:INTERNAL=1
424 //Source directory with the top level CMakeLists.txt file for this
425 // project
426 CMAKE_HOME_DIRECTORY:INTERNAL=/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn
427 //Install .so files without execute permission.
428 CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
429 //ADVANCED property for variable: CMAKE_LINKER
430 CMAKE_LINKER-ADVANCED:INTERNAL=1
431 //ADVANCED property for variable: CMAKE_MAKE_PROGRAM
432 CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
433 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
434 CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
435 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
436 CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
437 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
438 CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
439 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
440 CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
441 //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
442 CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
443 //ADVANCED property for variable: CMAKE_NM
444 CMAKE_NM-ADVANCED:INTERNAL=1
445 //number of local generators
446 CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
447 //ADVANCED property for variable: CMAKE_OBJCOPY
448 CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
449 //ADVANCED property for variable: CMAKE_OBJDUMP
450 CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
451 //Platform information initialized
452 CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
453 //ADVANCED property for variable: CMAKE_RANLIB
454 CMAKE_RANLIB-ADVANCED:INTERNAL=1
455 //Path to CMake installation.
456 CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.10
457 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
458 CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
459 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
460 CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
461 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
462 CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
463 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
464 CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
465 //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
466 CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
467 //ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
468 CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
469 //ADVANCED property for variable: CMAKE_SKIP_RPATH
470 CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
471 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
472 CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
473 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
474 CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
475 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
476 CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
477 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
478 CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
479 //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
480 CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
481 //ADVANCED property for variable: CMAKE_STRIP
482 CMAKE_STRIP-ADVANCED:INTERNAL=1
483 //uname command
484 CMAKE_UNAME:INTERNAL=/bin/uname
485 //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
486 CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
487 //ADVANCED property for variable: CUDA_64_BIT_DEVICE_CODE
488 CUDA_64_BIT_DEVICE_CODE-ADVANCED:INTERNAL=1
489 //ADVANCED property for variable: CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE
490 CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE-ADVANCED:INTERNAL=1
491 //ADVANCED property for variable: CUDA_BUILD_CUBIN
492 CUDA_BUILD_CUBIN-ADVANCED:INTERNAL=1
493 //ADVANCED property for variable: CUDA_BUILD_EMULATION
494 CUDA_BUILD_EMULATION-ADVANCED:INTERNAL=1
495 //ADVANCED property for variable: CUDA_CUDART_LIBRARY
496 CUDA_CUDART_LIBRARY-ADVANCED:INTERNAL=1
497 //ADVANCED property for variable: CUDA_CUDA_LIBRARY
498 CUDA_CUDA_LIBRARY-ADVANCED:INTERNAL=1
499 //ADVANCED property for variable: CUDA_GENERATED_OUTPUT_DIR
500 CUDA_GENERATED_OUTPUT_DIR-ADVANCED:INTERNAL=1
501 //ADVANCED property for variable: CUDA_HOST_COMPILATION_CPP
502 CUDA_HOST_COMPILATION_CPP-ADVANCED:INTERNAL=1
503 //ADVANCED property for variable: CUDA_NVCC_EXECUTABLE
504 CUDA_NVCC_EXECUTABLE-ADVANCED:INTERNAL=1
505 //ADVANCED property for variable: CUDA_NVCC_FLAGS
506 CUDA_NVCC_FLAGS-ADVANCED:INTERNAL=1
507 //ADVANCED property for variable: CUDA_NVCC_FLAGS_DEBUG
508 CUDA_NVCC_FLAGS_DEBUG-ADVANCED:INTERNAL=1
509 //ADVANCED property for variable: CUDA_NVCC_FLAGS_MINSIZEREL
510 CUDA_NVCC_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
511 //ADVANCED property for variable: CUDA_NVCC_FLAGS_RELEASE
512 CUDA_NVCC_FLAGS_RELEASE-ADVANCED:INTERNAL=1
513 //ADVANCED property for variable: CUDA_NVCC_FLAGS_RELWITHDEBINFO
514 CUDA_NVCC_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
515 //ADVANCED property for variable: CUDA_PROPAGATE_HOST_FLAGS
516 CUDA_PROPAGATE_HOST_FLAGS-ADVANCED:INTERNAL=1
517 //This is the value of the last time CUDA_SDK_ROOT_DIR was set
518 // successfully.
519 CUDA_SDK_ROOT_DIR_INTERNAL:INTERNAL=CUDA_SDK_ROOT_DIR-NOTFOUND
520 //ADVANCED property for variable: CUDA_SEPARABLE_COMPILATION
521 CUDA_SEPARABLE_COMPILATION-ADVANCED:INTERNAL=1
522 //ADVANCED property for variable: CUDA_TOOLKIT_INCLUDE
523 CUDA_TOOLKIT_INCLUDE-ADVANCED:INTERNAL=1
524 //This is the value of the last time CUDA_TOOLKIT_ROOT_DIR was
525 // set successfully.
526 CUDA_TOOLKIT_ROOT_DIR_INTERNAL:INTERNAL=/usr/local/cuda-10.1
527 //This is the value of the last time CUDA_TOOLKIT_TARGET_DIR was
528 // set successfully.
529 CUDA_TOOLKIT_TARGET_DIR_INTERNAL:INTERNAL=/usr/local/cuda-10.1
530 //ADVANCED property for variable: CUDA_VERBOSE_BUILD
531 CUDA_VERBOSE_BUILD-ADVANCED:INTERNAL=1
532 //ADVANCED property for variable: CUDA_VERSION
533 CUDA_VERSION-ADVANCED:INTERNAL=1
534 //ADVANCED property for variable: CUDA_cublas_LIBRARY
535 CUDA_cublas_LIBRARY-ADVANCED:INTERNAL=1
536 //ADVANCED property for variable: CUDA_cublas_device_LIBRARY
537 CUDA_cublas_device_LIBRARY-ADVANCED:INTERNAL=1
538 //ADVANCED property for variable: CUDA_cudadevrt_LIBRARY
539 CUDA_cudadevrt_LIBRARY-ADVANCED:INTERNAL=1
540 //ADVANCED property for variable: CUDA_cudart_static_LIBRARY
541 CUDA_cudart_static_LIBRARY-ADVANCED:INTERNAL=1
542 //ADVANCED property for variable: CUDA_cufft_LIBRARY
543 CUDA_cufft_LIBRARY-ADVANCED:INTERNAL=1
544 //ADVANCED property for variable: CUDA_cupti_LIBRARY
545 CUDA_cupti_LIBRARY-ADVANCED:INTERNAL=1
546 //ADVANCED property for variable: CUDA_curand_LIBRARY
547 CUDA_curand_LIBRARY-ADVANCED:INTERNAL=1
548 //ADVANCED property for variable: CUDA_cusolver_LIBRARY
549 CUDA_cusolver_LIBRARY-ADVANCED:INTERNAL=1
550 //ADVANCED property for variable: CUDA_cusparse_LIBRARY
551 CUDA_cusparse_LIBRARY-ADVANCED:INTERNAL=1
552 //Location of make2cmake.cmake
553 CUDA_make2cmake:INTERNAL=/usr/share/cmake-3.10/Modules/FindCUDA/make2cmake.cmake
554 //ADVANCED property for variable: CUDA_nppc_LIBRARY
555 CUDA_nppc_LIBRARY-ADVANCED:INTERNAL=1
556 //ADVANCED property for variable: CUDA_nppi_LIBRARY
557 CUDA_nppi_LIBRARY-ADVANCED:INTERNAL=1
558 //ADVANCED property for variable: CUDA_nppial_LIBRARY
559 CUDA_nppial_LIBRARY-ADVANCED:INTERNAL=1
560 //ADVANCED property for variable: CUDA_nppicc_LIBRARY
561 CUDA_nppicc_LIBRARY-ADVANCED:INTERNAL=1
562 //ADVANCED property for variable: CUDA_nppicom_LIBRARY
563 CUDA_nppicom_LIBRARY-ADVANCED:INTERNAL=1
564 //ADVANCED property for variable: CUDA_nppidei_LIBRARY
565 CUDA_nppidei_LIBRARY-ADVANCED:INTERNAL=1
566 //ADVANCED property for variable: CUDA_nppif_LIBRARY
567 CUDA_nppif_LIBRARY-ADVANCED:INTERNAL=1
568 //ADVANCED property for variable: CUDA_nppig_LIBRARY
569 CUDA_nppig_LIBRARY-ADVANCED:INTERNAL=1
570 //ADVANCED property for variable: CUDA_nppim_LIBRARY
571 CUDA_nppim_LIBRARY-ADVANCED:INTERNAL=1
572 //ADVANCED property for variable: CUDA_nppist_LIBRARY
573 CUDA_nppist_LIBRARY-ADVANCED:INTERNAL=1
574 //ADVANCED property for variable: CUDA_nppisu_LIBRARY
575 CUDA_nppisu_LIBRARY-ADVANCED:INTERNAL=1
576 //ADVANCED property for variable: CUDA_nppitc_LIBRARY
577 CUDA_nppitc_LIBRARY-ADVANCED:INTERNAL=1
578 //ADVANCED property for variable: CUDA_npps_LIBRARY
579 CUDA_npps_LIBRARY-ADVANCED:INTERNAL=1
580 //Location of parse_cubin.cmake
581 CUDA_parse_cubin:INTERNAL=/usr/share/cmake-3.10/Modules/FindCUDA/parse_cubin.cmake
582 //Location of run_nvcc.cmake
583 CUDA_run_nvcc:INTERNAL=/usr/share/cmake-3.10/Modules/FindCUDA/run_nvcc.cmake
584 //Details about finding CUDA
585 FIND_PACKAGE_MESSAGE_DETAILS_CUDA:INTERNAL=[/usr/local/cuda-10.1][/usr/local/cuda-10.1/bin/nvcc][/usr/local/cuda-10.1/include][/usr/local/cuda-10.1/lib64/libcudart_static.a][v10.1(10.1)]
586 //Details about finding OpenCV
587 FIND_PACKAGE_MESSAGE_DETAILS_OpenCV:INTERNAL=[/usr/local][v4.5.5()]
588 //Details about finding Threads
589 FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
590
1 set(CMAKE_C_COMPILER "/usr/bin/cc")
2 set(CMAKE_C_COMPILER_ARG1 "")
3 set(CMAKE_C_COMPILER_ID "GNU")
4 set(CMAKE_C_COMPILER_VERSION "7.5.0")
5 set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
6 set(CMAKE_C_COMPILER_WRAPPER "")
7 set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
8 set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert")
9 set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes")
10 set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros")
11 set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert")
12
13 set(CMAKE_C_PLATFORM_ID "Linux")
14 set(CMAKE_C_SIMULATE_ID "")
15 set(CMAKE_C_SIMULATE_VERSION "")
16
17
18
19 set(CMAKE_AR "/usr/bin/ar")
20 set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-7")
21 set(CMAKE_RANLIB "/usr/bin/ranlib")
22 set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-7")
23 set(CMAKE_LINKER "/usr/bin/ld")
24 set(CMAKE_COMPILER_IS_GNUCC 1)
25 set(CMAKE_C_COMPILER_LOADED 1)
26 set(CMAKE_C_COMPILER_WORKS TRUE)
27 set(CMAKE_C_ABI_COMPILED TRUE)
28 set(CMAKE_COMPILER_IS_MINGW )
29 set(CMAKE_COMPILER_IS_CYGWIN )
30 if(CMAKE_COMPILER_IS_CYGWIN)
31 set(CYGWIN 1)
32 set(UNIX 1)
33 endif()
34
35 set(CMAKE_C_COMPILER_ENV_VAR "CC")
36
37 if(CMAKE_COMPILER_IS_MINGW)
38 set(MINGW 1)
39 endif()
40 set(CMAKE_C_COMPILER_ID_RUN 1)
41 set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
42 set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
43 set(CMAKE_C_LINKER_PREFERENCE 10)
44
45 # Save compiler ABI information.
46 set(CMAKE_C_SIZEOF_DATA_PTR "8")
47 set(CMAKE_C_COMPILER_ABI "ELF")
48 set(CMAKE_C_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
49
50 if(CMAKE_C_SIZEOF_DATA_PTR)
51 set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
52 endif()
53
54 if(CMAKE_C_COMPILER_ABI)
55 set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
56 endif()
57
58 if(CMAKE_C_LIBRARY_ARCHITECTURE)
59 set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
60 endif()
61
62 set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
63 if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
64 set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
65 endif()
66
67
68
69
70
71 set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s")
72 set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
73 set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
1 set(CMAKE_CXX_COMPILER "/usr/bin/c++")
2 set(CMAKE_CXX_COMPILER_ARG1 "")
3 set(CMAKE_CXX_COMPILER_ID "GNU")
4 set(CMAKE_CXX_COMPILER_VERSION "7.5.0")
5 set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
6 set(CMAKE_CXX_COMPILER_WRAPPER "")
7 set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14")
8 set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17")
9 set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters")
10 set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
11 set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
12 set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
13
14 set(CMAKE_CXX_PLATFORM_ID "Linux")
15 set(CMAKE_CXX_SIMULATE_ID "")
16 set(CMAKE_CXX_SIMULATE_VERSION "")
17
18
19
20 set(CMAKE_AR "/usr/bin/ar")
21 set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-7")
22 set(CMAKE_RANLIB "/usr/bin/ranlib")
23 set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-7")
24 set(CMAKE_LINKER "/usr/bin/ld")
25 set(CMAKE_COMPILER_IS_GNUCXX 1)
26 set(CMAKE_CXX_COMPILER_LOADED 1)
27 set(CMAKE_CXX_COMPILER_WORKS TRUE)
28 set(CMAKE_CXX_ABI_COMPILED TRUE)
29 set(CMAKE_COMPILER_IS_MINGW )
30 set(CMAKE_COMPILER_IS_CYGWIN )
31 if(CMAKE_COMPILER_IS_CYGWIN)
32 set(CYGWIN 1)
33 set(UNIX 1)
34 endif()
35
36 set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
37
38 if(CMAKE_COMPILER_IS_MINGW)
39 set(MINGW 1)
40 endif()
41 set(CMAKE_CXX_COMPILER_ID_RUN 1)
42 set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
43 set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)
44 set(CMAKE_CXX_LINKER_PREFERENCE 30)
45 set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
46
47 # Save compiler ABI information.
48 set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
49 set(CMAKE_CXX_COMPILER_ABI "ELF")
50 set(CMAKE_CXX_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
51
52 if(CMAKE_CXX_SIZEOF_DATA_PTR)
53 set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
54 endif()
55
56 if(CMAKE_CXX_COMPILER_ABI)
57 set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
58 endif()
59
60 if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
61 set(CMAKE_LIBRARY_ARCHITECTURE "x86_64-linux-gnu")
62 endif()
63
64 set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
65 if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
66 set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
67 endif()
68
69
70
71
72
73 set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc")
74 set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib")
75 set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")
1 set(CMAKE_HOST_SYSTEM "Linux-4.15.0-29-generic")
2 set(CMAKE_HOST_SYSTEM_NAME "Linux")
3 set(CMAKE_HOST_SYSTEM_VERSION "4.15.0-29-generic")
4 set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
5
6
7
8 set(CMAKE_SYSTEM "Linux-4.15.0-29-generic")
9 set(CMAKE_SYSTEM_NAME "Linux")
10 set(CMAKE_SYSTEM_VERSION "4.15.0-29-generic")
11 set(CMAKE_SYSTEM_PROCESSOR "x86_64")
12
13 set(CMAKE_CROSSCOMPILING "FALSE")
14
15 set(CMAKE_SYSTEM_LOADED 1)
1 #ifdef __cplusplus
2 # error "A C++ compiler has been selected for C."
3 #endif
4
5 #if defined(__18CXX)
6 # define ID_VOID_MAIN
7 #endif
8 #if defined(__CLASSIC_C__)
9 /* cv-qualifiers did not exist in K&R C */
10 # define const
11 # define volatile
12 #endif
13
14
15 /* Version number components: V=Version, R=Revision, P=Patch
16 Version date components: YYYY=Year, MM=Month, DD=Day */
17
18 #if defined(__INTEL_COMPILER) || defined(__ICC)
19 # define COMPILER_ID "Intel"
20 # if defined(_MSC_VER)
21 # define SIMULATE_ID "MSVC"
22 # endif
23 /* __INTEL_COMPILER = VRP */
24 # define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
25 # define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
26 # if defined(__INTEL_COMPILER_UPDATE)
27 # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
28 # else
29 # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
30 # endif
31 # if defined(__INTEL_COMPILER_BUILD_DATE)
32 /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
33 # define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
34 # endif
35 # if defined(_MSC_VER)
36 /* _MSC_VER = VVRR */
37 # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
38 # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
39 # endif
40
41 #elif defined(__PATHCC__)
42 # define COMPILER_ID "PathScale"
43 # define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
44 # define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
45 # if defined(__PATHCC_PATCHLEVEL__)
46 # define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
47 # endif
48
49 #elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
50 # define COMPILER_ID "Embarcadero"
51 # define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
52 # define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
53 # define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
54
55 #elif defined(__BORLANDC__)
56 # define COMPILER_ID "Borland"
57 /* __BORLANDC__ = 0xVRR */
58 # define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
59 # define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
60
61 #elif defined(__WATCOMC__) && __WATCOMC__ < 1200
62 # define COMPILER_ID "Watcom"
63 /* __WATCOMC__ = VVRR */
64 # define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
65 # define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
66 # if (__WATCOMC__ % 10) > 0
67 # define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
68 # endif
69
70 #elif defined(__WATCOMC__)
71 # define COMPILER_ID "OpenWatcom"
72 /* __WATCOMC__ = VVRP + 1100 */
73 # define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
74 # define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
75 # if (__WATCOMC__ % 10) > 0
76 # define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
77 # endif
78
79 #elif defined(__SUNPRO_C)
80 # define COMPILER_ID "SunPro"
81 # if __SUNPRO_C >= 0x5100
82 /* __SUNPRO_C = 0xVRRP */
83 # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
84 # define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
85 # define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
86 # else
87 /* __SUNPRO_CC = 0xVRP */
88 # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
89 # define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
90 # define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
91 # endif
92
93 #elif defined(__HP_cc)
94 # define COMPILER_ID "HP"
95 /* __HP_cc = VVRRPP */
96 # define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
97 # define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
98 # define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
99
100 #elif defined(__DECC)
101 # define COMPILER_ID "Compaq"
102 /* __DECC_VER = VVRRTPPPP */
103 # define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
104 # define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
105 # define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
106
107 #elif defined(__IBMC__) && defined(__COMPILER_VER__)
108 # define COMPILER_ID "zOS"
109 /* __IBMC__ = VRP */
110 # define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
111 # define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
112 # define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
113
114 #elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
115 # define COMPILER_ID "XL"
116 /* __IBMC__ = VRP */
117 # define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
118 # define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
119 # define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
120
121 #elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
122 # define COMPILER_ID "VisualAge"
123 /* __IBMC__ = VRP */
124 # define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
125 # define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
126 # define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
127
128 #elif defined(__PGI)
129 # define COMPILER_ID "PGI"
130 # define COMPILER_VERSION_MAJOR DEC(__PGIC__)
131 # define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
132 # if defined(__PGIC_PATCHLEVEL__)
133 # define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
134 # endif
135
136 #elif defined(_CRAYC)
137 # define COMPILER_ID "Cray"
138 # define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
139 # define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
140
141 #elif defined(__TI_COMPILER_VERSION__)
142 # define COMPILER_ID "TI"
143 /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
144 # define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
145 # define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
146 # define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
147
148 #elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
149 # define COMPILER_ID "Fujitsu"
150
151 #elif defined(__TINYC__)
152 # define COMPILER_ID "TinyCC"
153
154 #elif defined(__BCC__)
155 # define COMPILER_ID "Bruce"
156
157 #elif defined(__SCO_VERSION__)
158 # define COMPILER_ID "SCO"
159
160 #elif defined(__clang__) && defined(__apple_build_version__)
161 # define COMPILER_ID "AppleClang"
162 # if defined(_MSC_VER)
163 # define SIMULATE_ID "MSVC"
164 # endif
165 # define COMPILER_VERSION_MAJOR DEC(__clang_major__)
166 # define COMPILER_VERSION_MINOR DEC(__clang_minor__)
167 # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
168 # if defined(_MSC_VER)
169 /* _MSC_VER = VVRR */
170 # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
171 # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
172 # endif
173 # define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
174
175 #elif defined(__clang__)
176 # define COMPILER_ID "Clang"
177 # if defined(_MSC_VER)
178 # define SIMULATE_ID "MSVC"
179 # endif
180 # define COMPILER_VERSION_MAJOR DEC(__clang_major__)
181 # define COMPILER_VERSION_MINOR DEC(__clang_minor__)
182 # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
183 # if defined(_MSC_VER)
184 /* _MSC_VER = VVRR */
185 # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
186 # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
187 # endif
188
189 #elif defined(__GNUC__)
190 # define COMPILER_ID "GNU"
191 # define COMPILER_VERSION_MAJOR DEC(__GNUC__)
192 # if defined(__GNUC_MINOR__)
193 # define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
194 # endif
195 # if defined(__GNUC_PATCHLEVEL__)
196 # define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
197 # endif
198
199 #elif defined(_MSC_VER)
200 # define COMPILER_ID "MSVC"
201 /* _MSC_VER = VVRR */
202 # define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
203 # define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
204 # if defined(_MSC_FULL_VER)
205 # if _MSC_VER >= 1400
206 /* _MSC_FULL_VER = VVRRPPPPP */
207 # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
208 # else
209 /* _MSC_FULL_VER = VVRRPPPP */
210 # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
211 # endif
212 # endif
213 # if defined(_MSC_BUILD)
214 # define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
215 # endif
216
217 #elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
218 # define COMPILER_ID "ADSP"
219 #if defined(__VISUALDSPVERSION__)
220 /* __VISUALDSPVERSION__ = 0xVVRRPP00 */
221 # define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
222 # define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
223 # define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
224 #endif
225
226 #elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
227 # define COMPILER_ID "IAR"
228 # if defined(__VER__)
229 # define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
230 # define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
231 # define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
232 # define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
233 # endif
234
235 #elif defined(__ARMCC_VERSION)
236 # define COMPILER_ID "ARMCC"
237 #if __ARMCC_VERSION >= 1000000
238 /* __ARMCC_VERSION = VRRPPPP */
239 # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
240 # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
241 # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
242 #else
243 /* __ARMCC_VERSION = VRPPPP */
244 # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
245 # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
246 # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
247 #endif
248
249
250 #elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
251 # define COMPILER_ID "SDCC"
252 # if defined(__SDCC_VERSION_MAJOR)
253 # define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
254 # define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
255 # define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
256 # else
257 /* SDCC = VRP */
258 # define COMPILER_VERSION_MAJOR DEC(SDCC/100)
259 # define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
260 # define COMPILER_VERSION_PATCH DEC(SDCC % 10)
261 # endif
262
263 #elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
264 # define COMPILER_ID "MIPSpro"
265 # if defined(_SGI_COMPILER_VERSION)
266 /* _SGI_COMPILER_VERSION = VRP */
267 # define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
268 # define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
269 # define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
270 # else
271 /* _COMPILER_VERSION = VRP */
272 # define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
273 # define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
274 # define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
275 # endif
276
277
278 /* These compilers are either not known or too old to define an
279 identification macro. Try to identify the platform and guess that
280 it is the native compiler. */
281 #elif defined(__sgi)
282 # define COMPILER_ID "MIPSpro"
283
284 #elif defined(__hpux) || defined(__hpua)
285 # define COMPILER_ID "HP"
286
287 #else /* unknown compiler */
288 # define COMPILER_ID ""
289 #endif
290
291 /* Construct the string literal in pieces to prevent the source from
292 getting matched. Store it in a pointer rather than an array
293 because some compilers will just produce instructions to fill the
294 array rather than assigning a pointer to a static array. */
295 char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
296 #ifdef SIMULATE_ID
297 char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
298 #endif
299
300 #ifdef __QNXNTO__
301 char const* qnxnto = "INFO" ":" "qnxnto[]";
302 #endif
303
304 #if defined(__CRAYXE) || defined(__CRAYXC)
305 char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
306 #endif
307
308 #define STRINGIFY_HELPER(X) #X
309 #define STRINGIFY(X) STRINGIFY_HELPER(X)
310
311 /* Identify known platforms by name. */
312 #if defined(__linux) || defined(__linux__) || defined(linux)
313 # define PLATFORM_ID "Linux"
314
315 #elif defined(__CYGWIN__)
316 # define PLATFORM_ID "Cygwin"
317
318 #elif defined(__MINGW32__)
319 # define PLATFORM_ID "MinGW"
320
321 #elif defined(__APPLE__)
322 # define PLATFORM_ID "Darwin"
323
324 #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
325 # define PLATFORM_ID "Windows"
326
327 #elif defined(__FreeBSD__) || defined(__FreeBSD)
328 # define PLATFORM_ID "FreeBSD"
329
330 #elif defined(__NetBSD__) || defined(__NetBSD)
331 # define PLATFORM_ID "NetBSD"
332
333 #elif defined(__OpenBSD__) || defined(__OPENBSD)
334 # define PLATFORM_ID "OpenBSD"
335
336 #elif defined(__sun) || defined(sun)
337 # define PLATFORM_ID "SunOS"
338
339 #elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
340 # define PLATFORM_ID "AIX"
341
342 #elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
343 # define PLATFORM_ID "IRIX"
344
345 #elif defined(__hpux) || defined(__hpux__)
346 # define PLATFORM_ID "HP-UX"
347
348 #elif defined(__HAIKU__)
349 # define PLATFORM_ID "Haiku"
350
351 #elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
352 # define PLATFORM_ID "BeOS"
353
354 #elif defined(__QNX__) || defined(__QNXNTO__)
355 # define PLATFORM_ID "QNX"
356
357 #elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
358 # define PLATFORM_ID "Tru64"
359
360 #elif defined(__riscos) || defined(__riscos__)
361 # define PLATFORM_ID "RISCos"
362
363 #elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
364 # define PLATFORM_ID "SINIX"
365
366 #elif defined(__UNIX_SV__)
367 # define PLATFORM_ID "UNIX_SV"
368
369 #elif defined(__bsdos__)
370 # define PLATFORM_ID "BSDOS"
371
372 #elif defined(_MPRAS) || defined(MPRAS)
373 # define PLATFORM_ID "MP-RAS"
374
375 #elif defined(__osf) || defined(__osf__)
376 # define PLATFORM_ID "OSF1"
377
378 #elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
379 # define PLATFORM_ID "SCO_SV"
380
381 #elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
382 # define PLATFORM_ID "ULTRIX"
383
384 #elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
385 # define PLATFORM_ID "Xenix"
386
387 #elif defined(__WATCOMC__)
388 # if defined(__LINUX__)
389 # define PLATFORM_ID "Linux"
390
391 # elif defined(__DOS__)
392 # define PLATFORM_ID "DOS"
393
394 # elif defined(__OS2__)
395 # define PLATFORM_ID "OS2"
396
397 # elif defined(__WINDOWS__)
398 # define PLATFORM_ID "Windows3x"
399
400 # else /* unknown platform */
401 # define PLATFORM_ID
402 # endif
403
404 #else /* unknown platform */
405 # define PLATFORM_ID
406
407 #endif
408
409 /* For windows compilers MSVC and Intel we can determine
410 the architecture of the compiler being used. This is because
411 the compilers do not have flags that can change the architecture,
412 but rather depend on which compiler is being used
413 */
414 #if defined(_WIN32) && defined(_MSC_VER)
415 # if defined(_M_IA64)
416 # define ARCHITECTURE_ID "IA64"
417
418 # elif defined(_M_X64) || defined(_M_AMD64)
419 # define ARCHITECTURE_ID "x64"
420
421 # elif defined(_M_IX86)
422 # define ARCHITECTURE_ID "X86"
423
424 # elif defined(_M_ARM64)
425 # define ARCHITECTURE_ID "ARM64"
426
427 # elif defined(_M_ARM)
428 # if _M_ARM == 4
429 # define ARCHITECTURE_ID "ARMV4I"
430 # elif _M_ARM == 5
431 # define ARCHITECTURE_ID "ARMV5I"
432 # else
433 # define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
434 # endif
435
436 # elif defined(_M_MIPS)
437 # define ARCHITECTURE_ID "MIPS"
438
439 # elif defined(_M_SH)
440 # define ARCHITECTURE_ID "SHx"
441
442 # else /* unknown architecture */
443 # define ARCHITECTURE_ID ""
444 # endif
445
446 #elif defined(__WATCOMC__)
447 # if defined(_M_I86)
448 # define ARCHITECTURE_ID "I86"
449
450 # elif defined(_M_IX86)
451 # define ARCHITECTURE_ID "X86"
452
453 # else /* unknown architecture */
454 # define ARCHITECTURE_ID ""
455 # endif
456
457 #elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
458 # if defined(__ICCARM__)
459 # define ARCHITECTURE_ID "ARM"
460
461 # elif defined(__ICCAVR__)
462 # define ARCHITECTURE_ID "AVR"
463
464 # else /* unknown architecture */
465 # define ARCHITECTURE_ID ""
466 # endif
467 #else
468 # define ARCHITECTURE_ID
469 #endif
470
471 /* Convert integer to decimal digit literals. */
472 #define DEC(n) \
473 ('0' + (((n) / 10000000)%10)), \
474 ('0' + (((n) / 1000000)%10)), \
475 ('0' + (((n) / 100000)%10)), \
476 ('0' + (((n) / 10000)%10)), \
477 ('0' + (((n) / 1000)%10)), \
478 ('0' + (((n) / 100)%10)), \
479 ('0' + (((n) / 10)%10)), \
480 ('0' + ((n) % 10))
481
482 /* Convert integer to hex digit literals. */
483 #define HEX(n) \
484 ('0' + ((n)>>28 & 0xF)), \
485 ('0' + ((n)>>24 & 0xF)), \
486 ('0' + ((n)>>20 & 0xF)), \
487 ('0' + ((n)>>16 & 0xF)), \
488 ('0' + ((n)>>12 & 0xF)), \
489 ('0' + ((n)>>8 & 0xF)), \
490 ('0' + ((n)>>4 & 0xF)), \
491 ('0' + ((n) & 0xF))
492
493 /* Construct a string literal encoding the version number components. */
494 #ifdef COMPILER_VERSION_MAJOR
495 char const info_version[] = {
496 'I', 'N', 'F', 'O', ':',
497 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
498 COMPILER_VERSION_MAJOR,
499 # ifdef COMPILER_VERSION_MINOR
500 '.', COMPILER_VERSION_MINOR,
501 # ifdef COMPILER_VERSION_PATCH
502 '.', COMPILER_VERSION_PATCH,
503 # ifdef COMPILER_VERSION_TWEAK
504 '.', COMPILER_VERSION_TWEAK,
505 # endif
506 # endif
507 # endif
508 ']','\0'};
509 #endif
510
511 /* Construct a string literal encoding the internal version number. */
512 #ifdef COMPILER_VERSION_INTERNAL
513 char const info_version_internal[] = {
514 'I', 'N', 'F', 'O', ':',
515 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
516 'i','n','t','e','r','n','a','l','[',
517 COMPILER_VERSION_INTERNAL,']','\0'};
518 #endif
519
520 /* Construct a string literal encoding the version number components. */
521 #ifdef SIMULATE_VERSION_MAJOR
522 char const info_simulate_version[] = {
523 'I', 'N', 'F', 'O', ':',
524 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
525 SIMULATE_VERSION_MAJOR,
526 # ifdef SIMULATE_VERSION_MINOR
527 '.', SIMULATE_VERSION_MINOR,
528 # ifdef SIMULATE_VERSION_PATCH
529 '.', SIMULATE_VERSION_PATCH,
530 # ifdef SIMULATE_VERSION_TWEAK
531 '.', SIMULATE_VERSION_TWEAK,
532 # endif
533 # endif
534 # endif
535 ']','\0'};
536 #endif
537
538 /* Construct the string literal in pieces to prevent the source from
539 getting matched. Store it in a pointer rather than an array
540 because some compilers will just produce instructions to fill the
541 array rather than assigning a pointer to a static array. */
542 char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
543 char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
544
545
546
547
548 #if !defined(__STDC__)
549 # if defined(_MSC_VER) && !defined(__clang__)
550 # define C_DIALECT "90"
551 # else
552 # define C_DIALECT
553 # endif
554 #elif __STDC_VERSION__ >= 201000L
555 # define C_DIALECT "11"
556 #elif __STDC_VERSION__ >= 199901L
557 # define C_DIALECT "99"
558 #else
559 # define C_DIALECT "90"
560 #endif
561 const char* info_language_dialect_default =
562 "INFO" ":" "dialect_default[" C_DIALECT "]";
563
564 /*--------------------------------------------------------------------------*/
565
566 #ifdef ID_VOID_MAIN
567 void main() {}
568 #else
569 # if defined(__CLASSIC_C__)
570 int main(argc, argv) int argc; char *argv[];
571 # else
572 int main(int argc, char* argv[])
573 # endif
574 {
575 int require = 0;
576 require += info_compiler[argc];
577 require += info_platform[argc];
578 require += info_arch[argc];
579 #ifdef COMPILER_VERSION_MAJOR
580 require += info_version[argc];
581 #endif
582 #ifdef COMPILER_VERSION_INTERNAL
583 require += info_version_internal[argc];
584 #endif
585 #ifdef SIMULATE_ID
586 require += info_simulate[argc];
587 #endif
588 #ifdef SIMULATE_VERSION_MAJOR
589 require += info_simulate_version[argc];
590 #endif
591 #if defined(__CRAYXE) || defined(__CRAYXC)
592 require += info_cray[argc];
593 #endif
594 require += info_language_dialect_default[argc];
595 (void)argv;
596 return require;
597 }
598 #endif
No preview for this file type
1 /* This source file must have a .cpp extension so that all C++ compilers
2 recognize the extension without flags. Borland does not know .cxx for
3 example. */
4 #ifndef __cplusplus
5 # error "A C compiler has been selected for C++."
6 #endif
7
8
9 /* Version number components: V=Version, R=Revision, P=Patch
10 Version date components: YYYY=Year, MM=Month, DD=Day */
11
12 #if defined(__COMO__)
13 # define COMPILER_ID "Comeau"
14 /* __COMO_VERSION__ = VRR */
15 # define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
16 # define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
17
18 #elif defined(__INTEL_COMPILER) || defined(__ICC)
19 # define COMPILER_ID "Intel"
20 # if defined(_MSC_VER)
21 # define SIMULATE_ID "MSVC"
22 # endif
23 /* __INTEL_COMPILER = VRP */
24 # define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
25 # define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
26 # if defined(__INTEL_COMPILER_UPDATE)
27 # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
28 # else
29 # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
30 # endif
31 # if defined(__INTEL_COMPILER_BUILD_DATE)
32 /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
33 # define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
34 # endif
35 # if defined(_MSC_VER)
36 /* _MSC_VER = VVRR */
37 # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
38 # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
39 # endif
40
41 #elif defined(__PATHCC__)
42 # define COMPILER_ID "PathScale"
43 # define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
44 # define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
45 # if defined(__PATHCC_PATCHLEVEL__)
46 # define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
47 # endif
48
49 #elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
50 # define COMPILER_ID "Embarcadero"
51 # define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
52 # define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
53 # define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
54
55 #elif defined(__BORLANDC__)
56 # define COMPILER_ID "Borland"
57 /* __BORLANDC__ = 0xVRR */
58 # define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
59 # define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
60
61 #elif defined(__WATCOMC__) && __WATCOMC__ < 1200
62 # define COMPILER_ID "Watcom"
63 /* __WATCOMC__ = VVRR */
64 # define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
65 # define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
66 # if (__WATCOMC__ % 10) > 0
67 # define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
68 # endif
69
70 #elif defined(__WATCOMC__)
71 # define COMPILER_ID "OpenWatcom"
72 /* __WATCOMC__ = VVRP + 1100 */
73 # define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
74 # define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
75 # if (__WATCOMC__ % 10) > 0
76 # define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
77 # endif
78
79 #elif defined(__SUNPRO_CC)
80 # define COMPILER_ID "SunPro"
81 # if __SUNPRO_CC >= 0x5100
82 /* __SUNPRO_CC = 0xVRRP */
83 # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
84 # define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
85 # define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
86 # else
87 /* __SUNPRO_CC = 0xVRP */
88 # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
89 # define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
90 # define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
91 # endif
92
93 #elif defined(__HP_aCC)
94 # define COMPILER_ID "HP"
95 /* __HP_aCC = VVRRPP */
96 # define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
97 # define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
98 # define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
99
100 #elif defined(__DECCXX)
101 # define COMPILER_ID "Compaq"
102 /* __DECCXX_VER = VVRRTPPPP */
103 # define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
104 # define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
105 # define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
106
107 #elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
108 # define COMPILER_ID "zOS"
109 /* __IBMCPP__ = VRP */
110 # define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
111 # define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
112 # define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
113
114 #elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
115 # define COMPILER_ID "XL"
116 /* __IBMCPP__ = VRP */
117 # define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
118 # define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
119 # define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
120
121 #elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
122 # define COMPILER_ID "VisualAge"
123 /* __IBMCPP__ = VRP */
124 # define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
125 # define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
126 # define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
127
128 #elif defined(__PGI)
129 # define COMPILER_ID "PGI"
130 # define COMPILER_VERSION_MAJOR DEC(__PGIC__)
131 # define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
132 # if defined(__PGIC_PATCHLEVEL__)
133 # define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
134 # endif
135
136 #elif defined(_CRAYC)
137 # define COMPILER_ID "Cray"
138 # define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
139 # define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
140
141 #elif defined(__TI_COMPILER_VERSION__)
142 # define COMPILER_ID "TI"
143 /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
144 # define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
145 # define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
146 # define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
147
148 #elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
149 # define COMPILER_ID "Fujitsu"
150
151 #elif defined(__SCO_VERSION__)
152 # define COMPILER_ID "SCO"
153
154 #elif defined(__clang__) && defined(__apple_build_version__)
155 # define COMPILER_ID "AppleClang"
156 # if defined(_MSC_VER)
157 # define SIMULATE_ID "MSVC"
158 # endif
159 # define COMPILER_VERSION_MAJOR DEC(__clang_major__)
160 # define COMPILER_VERSION_MINOR DEC(__clang_minor__)
161 # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
162 # if defined(_MSC_VER)
163 /* _MSC_VER = VVRR */
164 # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
165 # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
166 # endif
167 # define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
168
169 #elif defined(__clang__)
170 # define COMPILER_ID "Clang"
171 # if defined(_MSC_VER)
172 # define SIMULATE_ID "MSVC"
173 # endif
174 # define COMPILER_VERSION_MAJOR DEC(__clang_major__)
175 # define COMPILER_VERSION_MINOR DEC(__clang_minor__)
176 # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
177 # if defined(_MSC_VER)
178 /* _MSC_VER = VVRR */
179 # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
180 # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
181 # endif
182
183 #elif defined(__GNUC__) || defined(__GNUG__)
184 # define COMPILER_ID "GNU"
185 # if defined(__GNUC__)
186 # define COMPILER_VERSION_MAJOR DEC(__GNUC__)
187 # else
188 # define COMPILER_VERSION_MAJOR DEC(__GNUG__)
189 # endif
190 # if defined(__GNUC_MINOR__)
191 # define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
192 # endif
193 # if defined(__GNUC_PATCHLEVEL__)
194 # define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
195 # endif
196
197 #elif defined(_MSC_VER)
198 # define COMPILER_ID "MSVC"
199 /* _MSC_VER = VVRR */
200 # define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
201 # define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
202 # if defined(_MSC_FULL_VER)
203 # if _MSC_VER >= 1400
204 /* _MSC_FULL_VER = VVRRPPPPP */
205 # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
206 # else
207 /* _MSC_FULL_VER = VVRRPPPP */
208 # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
209 # endif
210 # endif
211 # if defined(_MSC_BUILD)
212 # define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
213 # endif
214
215 #elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
216 # define COMPILER_ID "ADSP"
217 #if defined(__VISUALDSPVERSION__)
218 /* __VISUALDSPVERSION__ = 0xVVRRPP00 */
219 # define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
220 # define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
221 # define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
222 #endif
223
224 #elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
225 # define COMPILER_ID "IAR"
226 # if defined(__VER__)
227 # define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
228 # define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
229 # define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
230 # define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
231 # endif
232
233 #elif defined(__ARMCC_VERSION)
234 # define COMPILER_ID "ARMCC"
235 #if __ARMCC_VERSION >= 1000000
236 /* __ARMCC_VERSION = VRRPPPP */
237 # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
238 # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
239 # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
240 #else
241 /* __ARMCC_VERSION = VRPPPP */
242 # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
243 # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
244 # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
245 #endif
246
247
248 #elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
249 # define COMPILER_ID "MIPSpro"
250 # if defined(_SGI_COMPILER_VERSION)
251 /* _SGI_COMPILER_VERSION = VRP */
252 # define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
253 # define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
254 # define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
255 # else
256 /* _COMPILER_VERSION = VRP */
257 # define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
258 # define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
259 # define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
260 # endif
261
262
263 /* These compilers are either not known or too old to define an
264 identification macro. Try to identify the platform and guess that
265 it is the native compiler. */
266 #elif defined(__sgi)
267 # define COMPILER_ID "MIPSpro"
268
269 #elif defined(__hpux) || defined(__hpua)
270 # define COMPILER_ID "HP"
271
272 #else /* unknown compiler */
273 # define COMPILER_ID ""
274 #endif
275
276 /* Construct the string literal in pieces to prevent the source from
277 getting matched. Store it in a pointer rather than an array
278 because some compilers will just produce instructions to fill the
279 array rather than assigning a pointer to a static array. */
280 char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
281 #ifdef SIMULATE_ID
282 char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
283 #endif
284
285 #ifdef __QNXNTO__
286 char const* qnxnto = "INFO" ":" "qnxnto[]";
287 #endif
288
289 #if defined(__CRAYXE) || defined(__CRAYXC)
290 char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
291 #endif
292
293 #define STRINGIFY_HELPER(X) #X
294 #define STRINGIFY(X) STRINGIFY_HELPER(X)
295
296 /* Identify known platforms by name. */
297 #if defined(__linux) || defined(__linux__) || defined(linux)
298 # define PLATFORM_ID "Linux"
299
300 #elif defined(__CYGWIN__)
301 # define PLATFORM_ID "Cygwin"
302
303 #elif defined(__MINGW32__)
304 # define PLATFORM_ID "MinGW"
305
306 #elif defined(__APPLE__)
307 # define PLATFORM_ID "Darwin"
308
309 #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
310 # define PLATFORM_ID "Windows"
311
312 #elif defined(__FreeBSD__) || defined(__FreeBSD)
313 # define PLATFORM_ID "FreeBSD"
314
315 #elif defined(__NetBSD__) || defined(__NetBSD)
316 # define PLATFORM_ID "NetBSD"
317
318 #elif defined(__OpenBSD__) || defined(__OPENBSD)
319 # define PLATFORM_ID "OpenBSD"
320
321 #elif defined(__sun) || defined(sun)
322 # define PLATFORM_ID "SunOS"
323
324 #elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
325 # define PLATFORM_ID "AIX"
326
327 #elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
328 # define PLATFORM_ID "IRIX"
329
330 #elif defined(__hpux) || defined(__hpux__)
331 # define PLATFORM_ID "HP-UX"
332
333 #elif defined(__HAIKU__)
334 # define PLATFORM_ID "Haiku"
335
336 #elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
337 # define PLATFORM_ID "BeOS"
338
339 #elif defined(__QNX__) || defined(__QNXNTO__)
340 # define PLATFORM_ID "QNX"
341
342 #elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
343 # define PLATFORM_ID "Tru64"
344
345 #elif defined(__riscos) || defined(__riscos__)
346 # define PLATFORM_ID "RISCos"
347
348 #elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
349 # define PLATFORM_ID "SINIX"
350
351 #elif defined(__UNIX_SV__)
352 # define PLATFORM_ID "UNIX_SV"
353
354 #elif defined(__bsdos__)
355 # define PLATFORM_ID "BSDOS"
356
357 #elif defined(_MPRAS) || defined(MPRAS)
358 # define PLATFORM_ID "MP-RAS"
359
360 #elif defined(__osf) || defined(__osf__)
361 # define PLATFORM_ID "OSF1"
362
363 #elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
364 # define PLATFORM_ID "SCO_SV"
365
366 #elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
367 # define PLATFORM_ID "ULTRIX"
368
369 #elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
370 # define PLATFORM_ID "Xenix"
371
372 #elif defined(__WATCOMC__)
373 # if defined(__LINUX__)
374 # define PLATFORM_ID "Linux"
375
376 # elif defined(__DOS__)
377 # define PLATFORM_ID "DOS"
378
379 # elif defined(__OS2__)
380 # define PLATFORM_ID "OS2"
381
382 # elif defined(__WINDOWS__)
383 # define PLATFORM_ID "Windows3x"
384
385 # else /* unknown platform */
386 # define PLATFORM_ID
387 # endif
388
389 #else /* unknown platform */
390 # define PLATFORM_ID
391
392 #endif
393
394 /* For windows compilers MSVC and Intel we can determine
395 the architecture of the compiler being used. This is because
396 the compilers do not have flags that can change the architecture,
397 but rather depend on which compiler is being used
398 */
399 #if defined(_WIN32) && defined(_MSC_VER)
400 # if defined(_M_IA64)
401 # define ARCHITECTURE_ID "IA64"
402
403 # elif defined(_M_X64) || defined(_M_AMD64)
404 # define ARCHITECTURE_ID "x64"
405
406 # elif defined(_M_IX86)
407 # define ARCHITECTURE_ID "X86"
408
409 # elif defined(_M_ARM64)
410 # define ARCHITECTURE_ID "ARM64"
411
412 # elif defined(_M_ARM)
413 # if _M_ARM == 4
414 # define ARCHITECTURE_ID "ARMV4I"
415 # elif _M_ARM == 5
416 # define ARCHITECTURE_ID "ARMV5I"
417 # else
418 # define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
419 # endif
420
421 # elif defined(_M_MIPS)
422 # define ARCHITECTURE_ID "MIPS"
423
424 # elif defined(_M_SH)
425 # define ARCHITECTURE_ID "SHx"
426
427 # else /* unknown architecture */
428 # define ARCHITECTURE_ID ""
429 # endif
430
431 #elif defined(__WATCOMC__)
432 # if defined(_M_I86)
433 # define ARCHITECTURE_ID "I86"
434
435 # elif defined(_M_IX86)
436 # define ARCHITECTURE_ID "X86"
437
438 # else /* unknown architecture */
439 # define ARCHITECTURE_ID ""
440 # endif
441
442 #elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
443 # if defined(__ICCARM__)
444 # define ARCHITECTURE_ID "ARM"
445
446 # elif defined(__ICCAVR__)
447 # define ARCHITECTURE_ID "AVR"
448
449 # else /* unknown architecture */
450 # define ARCHITECTURE_ID ""
451 # endif
452 #else
453 # define ARCHITECTURE_ID
454 #endif
455
456 /* Convert integer to decimal digit literals. */
457 #define DEC(n) \
458 ('0' + (((n) / 10000000)%10)), \
459 ('0' + (((n) / 1000000)%10)), \
460 ('0' + (((n) / 100000)%10)), \
461 ('0' + (((n) / 10000)%10)), \
462 ('0' + (((n) / 1000)%10)), \
463 ('0' + (((n) / 100)%10)), \
464 ('0' + (((n) / 10)%10)), \
465 ('0' + ((n) % 10))
466
467 /* Convert integer to hex digit literals. */
468 #define HEX(n) \
469 ('0' + ((n)>>28 & 0xF)), \
470 ('0' + ((n)>>24 & 0xF)), \
471 ('0' + ((n)>>20 & 0xF)), \
472 ('0' + ((n)>>16 & 0xF)), \
473 ('0' + ((n)>>12 & 0xF)), \
474 ('0' + ((n)>>8 & 0xF)), \
475 ('0' + ((n)>>4 & 0xF)), \
476 ('0' + ((n) & 0xF))
477
478 /* Construct a string literal encoding the version number components. */
479 #ifdef COMPILER_VERSION_MAJOR
480 char const info_version[] = {
481 'I', 'N', 'F', 'O', ':',
482 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
483 COMPILER_VERSION_MAJOR,
484 # ifdef COMPILER_VERSION_MINOR
485 '.', COMPILER_VERSION_MINOR,
486 # ifdef COMPILER_VERSION_PATCH
487 '.', COMPILER_VERSION_PATCH,
488 # ifdef COMPILER_VERSION_TWEAK
489 '.', COMPILER_VERSION_TWEAK,
490 # endif
491 # endif
492 # endif
493 ']','\0'};
494 #endif
495
496 /* Construct a string literal encoding the internal version number. */
497 #ifdef COMPILER_VERSION_INTERNAL
498 char const info_version_internal[] = {
499 'I', 'N', 'F', 'O', ':',
500 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
501 'i','n','t','e','r','n','a','l','[',
502 COMPILER_VERSION_INTERNAL,']','\0'};
503 #endif
504
505 /* Construct a string literal encoding the version number components. */
506 #ifdef SIMULATE_VERSION_MAJOR
507 char const info_simulate_version[] = {
508 'I', 'N', 'F', 'O', ':',
509 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
510 SIMULATE_VERSION_MAJOR,
511 # ifdef SIMULATE_VERSION_MINOR
512 '.', SIMULATE_VERSION_MINOR,
513 # ifdef SIMULATE_VERSION_PATCH
514 '.', SIMULATE_VERSION_PATCH,
515 # ifdef SIMULATE_VERSION_TWEAK
516 '.', SIMULATE_VERSION_TWEAK,
517 # endif
518 # endif
519 # endif
520 ']','\0'};
521 #endif
522
523 /* Construct the string literal in pieces to prevent the source from
524 getting matched. Store it in a pointer rather than an array
525 because some compilers will just produce instructions to fill the
526 array rather than assigning a pointer to a static array. */
527 char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
528 char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
529
530
531
532
533 #if defined(_MSC_VER) && defined(_MSVC_LANG)
534 #define CXX_STD _MSVC_LANG
535 #else
536 #define CXX_STD __cplusplus
537 #endif
538
539 const char* info_language_dialect_default = "INFO" ":" "dialect_default["
540 #if CXX_STD > 201402L
541 "17"
542 #elif CXX_STD >= 201402L
543 "14"
544 #elif CXX_STD >= 201103L
545 "11"
546 #else
547 "98"
548 #endif
549 "]";
550
551 /*--------------------------------------------------------------------------*/
552
553 int main(int argc, char* argv[])
554 {
555 int require = 0;
556 require += info_compiler[argc];
557 require += info_platform[argc];
558 #ifdef COMPILER_VERSION_MAJOR
559 require += info_version[argc];
560 #endif
561 #ifdef COMPILER_VERSION_INTERNAL
562 require += info_version_internal[argc];
563 #endif
564 #ifdef SIMULATE_ID
565 require += info_simulate[argc];
566 #endif
567 #ifdef SIMULATE_VERSION_MAJOR
568 require += info_simulate_version[argc];
569 #endif
570 #if defined(__CRAYXE) || defined(__CRAYXC)
571 require += info_cray[argc];
572 #endif
573 require += info_language_dialect_default[argc];
574 (void)argv;
575 return require;
576 }
No preview for this file type
1 # CMAKE generated file: DO NOT EDIT!
2 # Generated by "Unix Makefiles" Generator, CMake Version 3.10
3
4 # Relative path conversion top directories.
5 set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn")
6 set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build")
7
8 # Force unix paths in dependencies.
9 set(CMAKE_FORCE_UNIX_PATHS 1)
10
11
12 # The C and CXX include file regular expressions for this directory.
13 set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
14 set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
15 set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
16 set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})
1 Determining if the pthread_create exist failed with the following output:
2 Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp
3
4 Run Build Command:"/usr/bin/make" "cmTC_63a2a/fast"
5 /usr/bin/make -f CMakeFiles/cmTC_63a2a.dir/build.make CMakeFiles/cmTC_63a2a.dir/build
6 make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
7 Building C object CMakeFiles/cmTC_63a2a.dir/CheckSymbolExists.c.o
8 /usr/bin/cc -fPIC -o CMakeFiles/cmTC_63a2a.dir/CheckSymbolExists.c.o -c /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c
9 Linking C executable cmTC_63a2a
10 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_63a2a.dir/link.txt --verbose=1
11 /usr/bin/cc -fPIC CMakeFiles/cmTC_63a2a.dir/CheckSymbolExists.c.o -o cmTC_63a2a
12 CMakeFiles/cmTC_63a2a.dir/CheckSymbolExists.c.o:在函数‘main’中:
13 CheckSymbolExists.c:(.text+0x1b):对‘pthread_create’未定义的引用
14 collect2: error: ld returned 1 exit status
15 CMakeFiles/cmTC_63a2a.dir/build.make:97: recipe for target 'cmTC_63a2a' failed
16 make[1]: *** [cmTC_63a2a] Error 1
17 make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
18 Makefile:126: recipe for target 'cmTC_63a2a/fast' failed
19 make: *** [cmTC_63a2a/fast] Error 2
20
21 File /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
22 /* */
23 #include <pthread.h>
24
25 int main(int argc, char** argv)
26 {
27 (void)argv;
28 #ifndef pthread_create
29 return ((int*)(&pthread_create))[argc];
30 #else
31 (void)argc;
32 return 0;
33 #endif
34 }
35
36 Determining if the function pthread_create exists in the pthreads failed with the following output:
37 Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp
38
39 Run Build Command:"/usr/bin/make" "cmTC_35a97/fast"
40 /usr/bin/make -f CMakeFiles/cmTC_35a97.dir/build.make CMakeFiles/cmTC_35a97.dir/build
41 make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
42 Building C object CMakeFiles/cmTC_35a97.dir/CheckFunctionExists.c.o
43 /usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_35a97.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
44 Linking C executable cmTC_35a97
45 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_35a97.dir/link.txt --verbose=1
46 /usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_35a97.dir/CheckFunctionExists.c.o -o cmTC_35a97 -lpthreads
47 /usr/bin/ld: 找不到 -lpthreads
48 collect2: error: ld returned 1 exit status
49 CMakeFiles/cmTC_35a97.dir/build.make:97: recipe for target 'cmTC_35a97' failed
50 make[1]: *** [cmTC_35a97] Error 1
51 make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
52 Makefile:126: recipe for target 'cmTC_35a97/fast' failed
53 make: *** [cmTC_35a97/fast] Error 2
54
55
1 The system is: Linux - 4.15.0-29-generic - x86_64
2 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
3 Compiler: /usr/bin/cc
4 Build flags:
5 Id flags:
6
7 The output was:
8 0
9
10
11 Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
12
13 The C compiler identification is GNU, found in "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/3.10.2/CompilerIdC/a.out"
14
15 Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
16 Compiler: /usr/bin/c++
17 Build flags:
18 Id flags:
19
20 The output was:
21 0
22
23
24 Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
25
26 The CXX compiler identification is GNU, found in "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/3.10.2/CompilerIdCXX/a.out"
27
28 Determining if the C compiler works passed with the following output:
29 Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp
30
31 Run Build Command:"/usr/bin/make" "cmTC_8d9b6/fast"
32 /usr/bin/make -f CMakeFiles/cmTC_8d9b6.dir/build.make CMakeFiles/cmTC_8d9b6.dir/build
33 make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
34 Building C object CMakeFiles/cmTC_8d9b6.dir/testCCompiler.c.o
35 /usr/bin/cc -o CMakeFiles/cmTC_8d9b6.dir/testCCompiler.c.o -c /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp/testCCompiler.c
36 Linking C executable cmTC_8d9b6
37 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8d9b6.dir/link.txt --verbose=1
38 /usr/bin/cc CMakeFiles/cmTC_8d9b6.dir/testCCompiler.c.o -o cmTC_8d9b6
39 make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
40
41
42 Detecting C compiler ABI info compiled with the following output:
43 Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp
44
45 Run Build Command:"/usr/bin/make" "cmTC_11f36/fast"
46 /usr/bin/make -f CMakeFiles/cmTC_11f36.dir/build.make CMakeFiles/cmTC_11f36.dir/build
47 make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
48 Building C object CMakeFiles/cmTC_11f36.dir/CMakeCCompilerABI.c.o
49 /usr/bin/cc -o CMakeFiles/cmTC_11f36.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.10/Modules/CMakeCCompilerABI.c
50 Linking C executable cmTC_11f36
51 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_11f36.dir/link.txt --verbose=1
52 /usr/bin/cc -v CMakeFiles/cmTC_11f36.dir/CMakeCCompilerABI.c.o -o cmTC_11f36
53 Using built-in specs.
54 COLLECT_GCC=/usr/bin/cc
55 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
56 OFFLOAD_TARGET_NAMES=nvptx-none
57 OFFLOAD_TARGET_DEFAULT=1
58 Target: x86_64-linux-gnu
59 Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
60 Thread model: posix
61 gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
62 COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
63 LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
64 COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_11f36' '-mtune=generic' '-march=x86-64'
65 /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccjadvCG.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_11f36 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_11f36.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o
66 COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_11f36' '-mtune=generic' '-march=x86-64'
67 make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
68
69
70 Parsed C implicit link information from above output:
71 link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
72 ignore line: [Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp]
73 ignore line: []
74 ignore line: [Run Build Command:"/usr/bin/make" "cmTC_11f36/fast"]
75 ignore line: [/usr/bin/make -f CMakeFiles/cmTC_11f36.dir/build.make CMakeFiles/cmTC_11f36.dir/build]
76 ignore line: [make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”]
77 ignore line: [Building C object CMakeFiles/cmTC_11f36.dir/CMakeCCompilerABI.c.o]
78 ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_11f36.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.10/Modules/CMakeCCompilerABI.c]
79 ignore line: [Linking C executable cmTC_11f36]
80 ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_11f36.dir/link.txt --verbose=1]
81 ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_11f36.dir/CMakeCCompilerABI.c.o -o cmTC_11f36 ]
82 ignore line: [Using built-in specs.]
83 ignore line: [COLLECT_GCC=/usr/bin/cc]
84 ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper]
85 ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
86 ignore line: [OFFLOAD_TARGET_DEFAULT=1]
87 ignore line: [Target: x86_64-linux-gnu]
88 ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
89 ignore line: [Thread model: posix]
90 ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
91 ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
92 ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
93 ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_11f36' '-mtune=generic' '-march=x86-64']
94 link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/ccjadvCG.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_11f36 /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_11f36.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o]
95 arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore
96 arg [-plugin] ==> ignore
97 arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore
98 arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore
99 arg [-plugin-opt=-fresolution=/tmp/ccjadvCG.res] ==> ignore
100 arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
101 arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
102 arg [-plugin-opt=-pass-through=-lc] ==> ignore
103 arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
104 arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
105 arg [--build-id] ==> ignore
106 arg [--eh-frame-hdr] ==> ignore
107 arg [-m] ==> ignore
108 arg [elf_x86_64] ==> ignore
109 arg [--hash-style=gnu] ==> ignore
110 arg [--as-needed] ==> ignore
111 arg [-dynamic-linker] ==> ignore
112 arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
113 arg [-pie] ==> ignore
114 arg [-znow] ==> ignore
115 arg [-zrelro] ==> ignore
116 arg [-o] ==> ignore
117 arg [cmTC_11f36] ==> ignore
118 arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
119 arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> ignore
120 arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o] ==> ignore
121 arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7]
122 arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu]
123 arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib]
124 arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
125 arg [-L/lib/../lib] ==> dir [/lib/../lib]
126 arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
127 arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
128 arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..]
129 arg [CMakeFiles/cmTC_11f36.dir/CMakeCCompilerABI.c.o] ==> ignore
130 arg [-lgcc] ==> lib [gcc]
131 arg [--push-state] ==> ignore
132 arg [--as-needed] ==> ignore
133 arg [-lgcc_s] ==> lib [gcc_s]
134 arg [--pop-state] ==> ignore
135 arg [-lc] ==> lib [c]
136 arg [-lgcc] ==> lib [gcc]
137 arg [--push-state] ==> ignore
138 arg [--as-needed] ==> ignore
139 arg [-lgcc_s] ==> lib [gcc_s]
140 arg [--pop-state] ==> ignore
141 arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o] ==> ignore
142 arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
143 collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7]
144 collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
145 collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib]
146 collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
147 collapse library dir [/lib/../lib] ==> [/lib]
148 collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
149 collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
150 collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib]
151 implicit libs: [gcc;gcc_s;c;gcc;gcc_s]
152 implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
153 implicit fwks: []
154
155
156
157
158 Detecting C [-std=c11] compiler features compiled with the following output:
159 Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp
160
161 Run Build Command:"/usr/bin/make" "cmTC_8844d/fast"
162 /usr/bin/make -f CMakeFiles/cmTC_8844d.dir/build.make CMakeFiles/cmTC_8844d.dir/build
163 make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
164 Building C object CMakeFiles/cmTC_8844d.dir/feature_tests.c.o
165 /usr/bin/cc -std=c11 -o CMakeFiles/cmTC_8844d.dir/feature_tests.c.o -c /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/feature_tests.c
166 Linking C executable cmTC_8844d
167 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8844d.dir/link.txt --verbose=1
168 /usr/bin/cc CMakeFiles/cmTC_8844d.dir/feature_tests.c.o -o cmTC_8844d
169 make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
170
171
172 Feature record: C_FEATURE:1c_function_prototypes
173 Feature record: C_FEATURE:1c_restrict
174 Feature record: C_FEATURE:1c_static_assert
175 Feature record: C_FEATURE:1c_variadic_macros
176
177
178 Detecting C [-std=c99] compiler features compiled with the following output:
179 Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp
180
181 Run Build Command:"/usr/bin/make" "cmTC_2d453/fast"
182 /usr/bin/make -f CMakeFiles/cmTC_2d453.dir/build.make CMakeFiles/cmTC_2d453.dir/build
183 make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
184 Building C object CMakeFiles/cmTC_2d453.dir/feature_tests.c.o
185 /usr/bin/cc -std=c99 -o CMakeFiles/cmTC_2d453.dir/feature_tests.c.o -c /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/feature_tests.c
186 Linking C executable cmTC_2d453
187 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2d453.dir/link.txt --verbose=1
188 /usr/bin/cc CMakeFiles/cmTC_2d453.dir/feature_tests.c.o -o cmTC_2d453
189 make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
190
191
192 Feature record: C_FEATURE:1c_function_prototypes
193 Feature record: C_FEATURE:1c_restrict
194 Feature record: C_FEATURE:0c_static_assert
195 Feature record: C_FEATURE:1c_variadic_macros
196
197
198 Detecting C [-std=c90] compiler features compiled with the following output:
199 Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp
200
201 Run Build Command:"/usr/bin/make" "cmTC_82daa/fast"
202 /usr/bin/make -f CMakeFiles/cmTC_82daa.dir/build.make CMakeFiles/cmTC_82daa.dir/build
203 make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
204 Building C object CMakeFiles/cmTC_82daa.dir/feature_tests.c.o
205 /usr/bin/cc -std=c90 -o CMakeFiles/cmTC_82daa.dir/feature_tests.c.o -c /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/feature_tests.c
206 Linking C executable cmTC_82daa
207 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_82daa.dir/link.txt --verbose=1
208 /usr/bin/cc CMakeFiles/cmTC_82daa.dir/feature_tests.c.o -o cmTC_82daa
209 make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
210
211
212 Feature record: C_FEATURE:1c_function_prototypes
213 Feature record: C_FEATURE:0c_restrict
214 Feature record: C_FEATURE:0c_static_assert
215 Feature record: C_FEATURE:0c_variadic_macros
216 Determining if the CXX compiler works passed with the following output:
217 Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp
218
219 Run Build Command:"/usr/bin/make" "cmTC_96b9c/fast"
220 /usr/bin/make -f CMakeFiles/cmTC_96b9c.dir/build.make CMakeFiles/cmTC_96b9c.dir/build
221 make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
222 Building CXX object CMakeFiles/cmTC_96b9c.dir/testCXXCompiler.cxx.o
223 /usr/bin/c++ -o CMakeFiles/cmTC_96b9c.dir/testCXXCompiler.cxx.o -c /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
224 Linking CXX executable cmTC_96b9c
225 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_96b9c.dir/link.txt --verbose=1
226 /usr/bin/c++ CMakeFiles/cmTC_96b9c.dir/testCXXCompiler.cxx.o -o cmTC_96b9c
227 make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
228
229
230 Detecting CXX compiler ABI info compiled with the following output:
231 Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp
232
233 Run Build Command:"/usr/bin/make" "cmTC_160ff/fast"
234 /usr/bin/make -f CMakeFiles/cmTC_160ff.dir/build.make CMakeFiles/cmTC_160ff.dir/build
235 make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
236 Building CXX object CMakeFiles/cmTC_160ff.dir/CMakeCXXCompilerABI.cpp.o
237 /usr/bin/c++ -o CMakeFiles/cmTC_160ff.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.10/Modules/CMakeCXXCompilerABI.cpp
238 Linking CXX executable cmTC_160ff
239 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_160ff.dir/link.txt --verbose=1
240 /usr/bin/c++ -v CMakeFiles/cmTC_160ff.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_160ff
241 Using built-in specs.
242 COLLECT_GCC=/usr/bin/c++
243 COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
244 OFFLOAD_TARGET_NAMES=nvptx-none
245 OFFLOAD_TARGET_DEFAULT=1
246 Target: x86_64-linux-gnu
247 Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
248 Thread model: posix
249 gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)
250 COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/
251 LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/
252 COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_160ff' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
253 /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/cc7DDNRo.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_160ff /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_160ff.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o
254 COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_160ff' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
255 make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
256
257
258 Parsed CXX implicit link information from above output:
259 link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
260 ignore line: [Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp]
261 ignore line: []
262 ignore line: [Run Build Command:"/usr/bin/make" "cmTC_160ff/fast"]
263 ignore line: [/usr/bin/make -f CMakeFiles/cmTC_160ff.dir/build.make CMakeFiles/cmTC_160ff.dir/build]
264 ignore line: [make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”]
265 ignore line: [Building CXX object CMakeFiles/cmTC_160ff.dir/CMakeCXXCompilerABI.cpp.o]
266 ignore line: [/usr/bin/c++ -o CMakeFiles/cmTC_160ff.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.10/Modules/CMakeCXXCompilerABI.cpp]
267 ignore line: [Linking CXX executable cmTC_160ff]
268 ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_160ff.dir/link.txt --verbose=1]
269 ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_160ff.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_160ff ]
270 ignore line: [Using built-in specs.]
271 ignore line: [COLLECT_GCC=/usr/bin/c++]
272 ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper]
273 ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none]
274 ignore line: [OFFLOAD_TARGET_DEFAULT=1]
275 ignore line: [Target: x86_64-linux-gnu]
276 ignore line: [Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.5.0-3ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu]
277 ignore line: [Thread model: posix]
278 ignore line: [gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04) ]
279 ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/]
280 ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/7/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/7/../../../:/lib/:/usr/lib/]
281 ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_160ff' '-shared-libgcc' '-mtune=generic' '-march=x86-64']
282 link line: [ /usr/lib/gcc/x86_64-linux-gnu/7/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper -plugin-opt=-fresolution=/tmp/cc7DDNRo.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro -o cmTC_160ff /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. CMakeFiles/cmTC_160ff.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o]
283 arg [/usr/lib/gcc/x86_64-linux-gnu/7/collect2] ==> ignore
284 arg [-plugin] ==> ignore
285 arg [/usr/lib/gcc/x86_64-linux-gnu/7/liblto_plugin.so] ==> ignore
286 arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper] ==> ignore
287 arg [-plugin-opt=-fresolution=/tmp/cc7DDNRo.res] ==> ignore
288 arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
289 arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
290 arg [-plugin-opt=-pass-through=-lc] ==> ignore
291 arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
292 arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
293 arg [--build-id] ==> ignore
294 arg [--eh-frame-hdr] ==> ignore
295 arg [-m] ==> ignore
296 arg [elf_x86_64] ==> ignore
297 arg [--hash-style=gnu] ==> ignore
298 arg [--as-needed] ==> ignore
299 arg [-dynamic-linker] ==> ignore
300 arg [/lib64/ld-linux-x86-64.so.2] ==> ignore
301 arg [-pie] ==> ignore
302 arg [-znow] ==> ignore
303 arg [-zrelro] ==> ignore
304 arg [-o] ==> ignore
305 arg [cmTC_160ff] ==> ignore
306 arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore
307 arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crti.o] ==> ignore
308 arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtbeginS.o] ==> ignore
309 arg [-L/usr/lib/gcc/x86_64-linux-gnu/7] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7]
310 arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu]
311 arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib]
312 arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu]
313 arg [-L/lib/../lib] ==> dir [/lib/../lib]
314 arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu]
315 arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib]
316 arg [-L/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..]
317 arg [CMakeFiles/cmTC_160ff.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
318 arg [-lstdc++] ==> lib [stdc++]
319 arg [-lm] ==> lib [m]
320 arg [-lgcc_s] ==> lib [gcc_s]
321 arg [-lgcc] ==> lib [gcc]
322 arg [-lc] ==> lib [c]
323 arg [-lgcc_s] ==> lib [gcc_s]
324 arg [-lgcc] ==> lib [gcc]
325 arg [/usr/lib/gcc/x86_64-linux-gnu/7/crtendS.o] ==> ignore
326 arg [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/crtn.o] ==> ignore
327 collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7] ==> [/usr/lib/gcc/x86_64-linux-gnu/7]
328 collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
329 collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib] ==> [/usr/lib]
330 collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu]
331 collapse library dir [/lib/../lib] ==> [/lib]
332 collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu]
333 collapse library dir [/usr/lib/../lib] ==> [/usr/lib]
334 collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/7/../../..] ==> [/usr/lib]
335 implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc]
336 implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/7;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib]
337 implicit fwks: []
338
339
340
341
342 Detecting CXX [-std=c++1z] compiler features compiled with the following output:
343 Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp
344
345 Run Build Command:"/usr/bin/make" "cmTC_c2c72/fast"
346 /usr/bin/make -f CMakeFiles/cmTC_c2c72.dir/build.make CMakeFiles/cmTC_c2c72.dir/build
347 make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
348 Building CXX object CMakeFiles/cmTC_c2c72.dir/feature_tests.cxx.o
349 /usr/bin/c++ -std=c++1z -o CMakeFiles/cmTC_c2c72.dir/feature_tests.cxx.o -c /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/feature_tests.cxx
350 Linking CXX executable cmTC_c2c72
351 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c2c72.dir/link.txt --verbose=1
352 /usr/bin/c++ CMakeFiles/cmTC_c2c72.dir/feature_tests.cxx.o -o cmTC_c2c72
353 make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
354
355
356 Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
357 Feature record: CXX_FEATURE:1cxx_alias_templates
358 Feature record: CXX_FEATURE:1cxx_alignas
359 Feature record: CXX_FEATURE:1cxx_alignof
360 Feature record: CXX_FEATURE:1cxx_attributes
361 Feature record: CXX_FEATURE:1cxx_attribute_deprecated
362 Feature record: CXX_FEATURE:1cxx_auto_type
363 Feature record: CXX_FEATURE:1cxx_binary_literals
364 Feature record: CXX_FEATURE:1cxx_constexpr
365 Feature record: CXX_FEATURE:1cxx_contextual_conversions
366 Feature record: CXX_FEATURE:1cxx_decltype
367 Feature record: CXX_FEATURE:1cxx_decltype_auto
368 Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
369 Feature record: CXX_FEATURE:1cxx_default_function_template_args
370 Feature record: CXX_FEATURE:1cxx_defaulted_functions
371 Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
372 Feature record: CXX_FEATURE:1cxx_delegating_constructors
373 Feature record: CXX_FEATURE:1cxx_deleted_functions
374 Feature record: CXX_FEATURE:1cxx_digit_separators
375 Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
376 Feature record: CXX_FEATURE:1cxx_explicit_conversions
377 Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
378 Feature record: CXX_FEATURE:1cxx_extern_templates
379 Feature record: CXX_FEATURE:1cxx_final
380 Feature record: CXX_FEATURE:1cxx_func_identifier
381 Feature record: CXX_FEATURE:1cxx_generalized_initializers
382 Feature record: CXX_FEATURE:1cxx_generic_lambdas
383 Feature record: CXX_FEATURE:1cxx_inheriting_constructors
384 Feature record: CXX_FEATURE:1cxx_inline_namespaces
385 Feature record: CXX_FEATURE:1cxx_lambdas
386 Feature record: CXX_FEATURE:1cxx_lambda_init_captures
387 Feature record: CXX_FEATURE:1cxx_local_type_template_args
388 Feature record: CXX_FEATURE:1cxx_long_long_type
389 Feature record: CXX_FEATURE:1cxx_noexcept
390 Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
391 Feature record: CXX_FEATURE:1cxx_nullptr
392 Feature record: CXX_FEATURE:1cxx_override
393 Feature record: CXX_FEATURE:1cxx_range_for
394 Feature record: CXX_FEATURE:1cxx_raw_string_literals
395 Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
396 Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
397 Feature record: CXX_FEATURE:1cxx_return_type_deduction
398 Feature record: CXX_FEATURE:1cxx_right_angle_brackets
399 Feature record: CXX_FEATURE:1cxx_rvalue_references
400 Feature record: CXX_FEATURE:1cxx_sizeof_member
401 Feature record: CXX_FEATURE:1cxx_static_assert
402 Feature record: CXX_FEATURE:1cxx_strong_enums
403 Feature record: CXX_FEATURE:1cxx_template_template_parameters
404 Feature record: CXX_FEATURE:1cxx_thread_local
405 Feature record: CXX_FEATURE:1cxx_trailing_return_types
406 Feature record: CXX_FEATURE:1cxx_unicode_literals
407 Feature record: CXX_FEATURE:1cxx_uniform_initialization
408 Feature record: CXX_FEATURE:1cxx_unrestricted_unions
409 Feature record: CXX_FEATURE:1cxx_user_literals
410 Feature record: CXX_FEATURE:1cxx_variable_templates
411 Feature record: CXX_FEATURE:1cxx_variadic_macros
412 Feature record: CXX_FEATURE:1cxx_variadic_templates
413
414
415 Detecting CXX [-std=c++14] compiler features compiled with the following output:
416 Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp
417
418 Run Build Command:"/usr/bin/make" "cmTC_51394/fast"
419 /usr/bin/make -f CMakeFiles/cmTC_51394.dir/build.make CMakeFiles/cmTC_51394.dir/build
420 make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
421 Building CXX object CMakeFiles/cmTC_51394.dir/feature_tests.cxx.o
422 /usr/bin/c++ -std=c++14 -o CMakeFiles/cmTC_51394.dir/feature_tests.cxx.o -c /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/feature_tests.cxx
423 Linking CXX executable cmTC_51394
424 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_51394.dir/link.txt --verbose=1
425 /usr/bin/c++ CMakeFiles/cmTC_51394.dir/feature_tests.cxx.o -o cmTC_51394
426 make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
427
428
429 Feature record: CXX_FEATURE:1cxx_aggregate_default_initializers
430 Feature record: CXX_FEATURE:1cxx_alias_templates
431 Feature record: CXX_FEATURE:1cxx_alignas
432 Feature record: CXX_FEATURE:1cxx_alignof
433 Feature record: CXX_FEATURE:1cxx_attributes
434 Feature record: CXX_FEATURE:1cxx_attribute_deprecated
435 Feature record: CXX_FEATURE:1cxx_auto_type
436 Feature record: CXX_FEATURE:1cxx_binary_literals
437 Feature record: CXX_FEATURE:1cxx_constexpr
438 Feature record: CXX_FEATURE:1cxx_contextual_conversions
439 Feature record: CXX_FEATURE:1cxx_decltype
440 Feature record: CXX_FEATURE:1cxx_decltype_auto
441 Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
442 Feature record: CXX_FEATURE:1cxx_default_function_template_args
443 Feature record: CXX_FEATURE:1cxx_defaulted_functions
444 Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
445 Feature record: CXX_FEATURE:1cxx_delegating_constructors
446 Feature record: CXX_FEATURE:1cxx_deleted_functions
447 Feature record: CXX_FEATURE:1cxx_digit_separators
448 Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
449 Feature record: CXX_FEATURE:1cxx_explicit_conversions
450 Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
451 Feature record: CXX_FEATURE:1cxx_extern_templates
452 Feature record: CXX_FEATURE:1cxx_final
453 Feature record: CXX_FEATURE:1cxx_func_identifier
454 Feature record: CXX_FEATURE:1cxx_generalized_initializers
455 Feature record: CXX_FEATURE:1cxx_generic_lambdas
456 Feature record: CXX_FEATURE:1cxx_inheriting_constructors
457 Feature record: CXX_FEATURE:1cxx_inline_namespaces
458 Feature record: CXX_FEATURE:1cxx_lambdas
459 Feature record: CXX_FEATURE:1cxx_lambda_init_captures
460 Feature record: CXX_FEATURE:1cxx_local_type_template_args
461 Feature record: CXX_FEATURE:1cxx_long_long_type
462 Feature record: CXX_FEATURE:1cxx_noexcept
463 Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
464 Feature record: CXX_FEATURE:1cxx_nullptr
465 Feature record: CXX_FEATURE:1cxx_override
466 Feature record: CXX_FEATURE:1cxx_range_for
467 Feature record: CXX_FEATURE:1cxx_raw_string_literals
468 Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
469 Feature record: CXX_FEATURE:1cxx_relaxed_constexpr
470 Feature record: CXX_FEATURE:1cxx_return_type_deduction
471 Feature record: CXX_FEATURE:1cxx_right_angle_brackets
472 Feature record: CXX_FEATURE:1cxx_rvalue_references
473 Feature record: CXX_FEATURE:1cxx_sizeof_member
474 Feature record: CXX_FEATURE:1cxx_static_assert
475 Feature record: CXX_FEATURE:1cxx_strong_enums
476 Feature record: CXX_FEATURE:1cxx_template_template_parameters
477 Feature record: CXX_FEATURE:1cxx_thread_local
478 Feature record: CXX_FEATURE:1cxx_trailing_return_types
479 Feature record: CXX_FEATURE:1cxx_unicode_literals
480 Feature record: CXX_FEATURE:1cxx_uniform_initialization
481 Feature record: CXX_FEATURE:1cxx_unrestricted_unions
482 Feature record: CXX_FEATURE:1cxx_user_literals
483 Feature record: CXX_FEATURE:1cxx_variable_templates
484 Feature record: CXX_FEATURE:1cxx_variadic_macros
485 Feature record: CXX_FEATURE:1cxx_variadic_templates
486
487
488 Detecting CXX [-std=c++11] compiler features compiled with the following output:
489 Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp
490
491 Run Build Command:"/usr/bin/make" "cmTC_b1f54/fast"
492 /usr/bin/make -f CMakeFiles/cmTC_b1f54.dir/build.make CMakeFiles/cmTC_b1f54.dir/build
493 make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
494 Building CXX object CMakeFiles/cmTC_b1f54.dir/feature_tests.cxx.o
495 /usr/bin/c++ -std=c++11 -o CMakeFiles/cmTC_b1f54.dir/feature_tests.cxx.o -c /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/feature_tests.cxx
496 Linking CXX executable cmTC_b1f54
497 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b1f54.dir/link.txt --verbose=1
498 /usr/bin/c++ CMakeFiles/cmTC_b1f54.dir/feature_tests.cxx.o -o cmTC_b1f54
499 make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
500
501
502 Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
503 Feature record: CXX_FEATURE:1cxx_alias_templates
504 Feature record: CXX_FEATURE:1cxx_alignas
505 Feature record: CXX_FEATURE:1cxx_alignof
506 Feature record: CXX_FEATURE:1cxx_attributes
507 Feature record: CXX_FEATURE:0cxx_attribute_deprecated
508 Feature record: CXX_FEATURE:1cxx_auto_type
509 Feature record: CXX_FEATURE:0cxx_binary_literals
510 Feature record: CXX_FEATURE:1cxx_constexpr
511 Feature record: CXX_FEATURE:0cxx_contextual_conversions
512 Feature record: CXX_FEATURE:1cxx_decltype
513 Feature record: CXX_FEATURE:0cxx_decltype_auto
514 Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
515 Feature record: CXX_FEATURE:1cxx_default_function_template_args
516 Feature record: CXX_FEATURE:1cxx_defaulted_functions
517 Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
518 Feature record: CXX_FEATURE:1cxx_delegating_constructors
519 Feature record: CXX_FEATURE:1cxx_deleted_functions
520 Feature record: CXX_FEATURE:0cxx_digit_separators
521 Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
522 Feature record: CXX_FEATURE:1cxx_explicit_conversions
523 Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
524 Feature record: CXX_FEATURE:1cxx_extern_templates
525 Feature record: CXX_FEATURE:1cxx_final
526 Feature record: CXX_FEATURE:1cxx_func_identifier
527 Feature record: CXX_FEATURE:1cxx_generalized_initializers
528 Feature record: CXX_FEATURE:0cxx_generic_lambdas
529 Feature record: CXX_FEATURE:1cxx_inheriting_constructors
530 Feature record: CXX_FEATURE:1cxx_inline_namespaces
531 Feature record: CXX_FEATURE:1cxx_lambdas
532 Feature record: CXX_FEATURE:0cxx_lambda_init_captures
533 Feature record: CXX_FEATURE:1cxx_local_type_template_args
534 Feature record: CXX_FEATURE:1cxx_long_long_type
535 Feature record: CXX_FEATURE:1cxx_noexcept
536 Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
537 Feature record: CXX_FEATURE:1cxx_nullptr
538 Feature record: CXX_FEATURE:1cxx_override
539 Feature record: CXX_FEATURE:1cxx_range_for
540 Feature record: CXX_FEATURE:1cxx_raw_string_literals
541 Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
542 Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
543 Feature record: CXX_FEATURE:0cxx_return_type_deduction
544 Feature record: CXX_FEATURE:1cxx_right_angle_brackets
545 Feature record: CXX_FEATURE:1cxx_rvalue_references
546 Feature record: CXX_FEATURE:1cxx_sizeof_member
547 Feature record: CXX_FEATURE:1cxx_static_assert
548 Feature record: CXX_FEATURE:1cxx_strong_enums
549 Feature record: CXX_FEATURE:1cxx_template_template_parameters
550 Feature record: CXX_FEATURE:1cxx_thread_local
551 Feature record: CXX_FEATURE:1cxx_trailing_return_types
552 Feature record: CXX_FEATURE:1cxx_unicode_literals
553 Feature record: CXX_FEATURE:1cxx_uniform_initialization
554 Feature record: CXX_FEATURE:1cxx_unrestricted_unions
555 Feature record: CXX_FEATURE:1cxx_user_literals
556 Feature record: CXX_FEATURE:0cxx_variable_templates
557 Feature record: CXX_FEATURE:1cxx_variadic_macros
558 Feature record: CXX_FEATURE:1cxx_variadic_templates
559
560
561 Detecting CXX [-std=c++98] compiler features compiled with the following output:
562 Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp
563
564 Run Build Command:"/usr/bin/make" "cmTC_47a8b/fast"
565 /usr/bin/make -f CMakeFiles/cmTC_47a8b.dir/build.make CMakeFiles/cmTC_47a8b.dir/build
566 make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
567 Building CXX object CMakeFiles/cmTC_47a8b.dir/feature_tests.cxx.o
568 /usr/bin/c++ -std=c++98 -o CMakeFiles/cmTC_47a8b.dir/feature_tests.cxx.o -c /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/feature_tests.cxx
569 Linking CXX executable cmTC_47a8b
570 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_47a8b.dir/link.txt --verbose=1
571 /usr/bin/c++ CMakeFiles/cmTC_47a8b.dir/feature_tests.cxx.o -o cmTC_47a8b
572 make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
573
574
575 Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
576 Feature record: CXX_FEATURE:0cxx_alias_templates
577 Feature record: CXX_FEATURE:0cxx_alignas
578 Feature record: CXX_FEATURE:0cxx_alignof
579 Feature record: CXX_FEATURE:0cxx_attributes
580 Feature record: CXX_FEATURE:0cxx_attribute_deprecated
581 Feature record: CXX_FEATURE:0cxx_auto_type
582 Feature record: CXX_FEATURE:0cxx_binary_literals
583 Feature record: CXX_FEATURE:0cxx_constexpr
584 Feature record: CXX_FEATURE:0cxx_contextual_conversions
585 Feature record: CXX_FEATURE:0cxx_decltype
586 Feature record: CXX_FEATURE:0cxx_decltype_auto
587 Feature record: CXX_FEATURE:0cxx_decltype_incomplete_return_types
588 Feature record: CXX_FEATURE:0cxx_default_function_template_args
589 Feature record: CXX_FEATURE:0cxx_defaulted_functions
590 Feature record: CXX_FEATURE:0cxx_defaulted_move_initializers
591 Feature record: CXX_FEATURE:0cxx_delegating_constructors
592 Feature record: CXX_FEATURE:0cxx_deleted_functions
593 Feature record: CXX_FEATURE:0cxx_digit_separators
594 Feature record: CXX_FEATURE:0cxx_enum_forward_declarations
595 Feature record: CXX_FEATURE:0cxx_explicit_conversions
596 Feature record: CXX_FEATURE:0cxx_extended_friend_declarations
597 Feature record: CXX_FEATURE:0cxx_extern_templates
598 Feature record: CXX_FEATURE:0cxx_final
599 Feature record: CXX_FEATURE:0cxx_func_identifier
600 Feature record: CXX_FEATURE:0cxx_generalized_initializers
601 Feature record: CXX_FEATURE:0cxx_generic_lambdas
602 Feature record: CXX_FEATURE:0cxx_inheriting_constructors
603 Feature record: CXX_FEATURE:0cxx_inline_namespaces
604 Feature record: CXX_FEATURE:0cxx_lambdas
605 Feature record: CXX_FEATURE:0cxx_lambda_init_captures
606 Feature record: CXX_FEATURE:0cxx_local_type_template_args
607 Feature record: CXX_FEATURE:0cxx_long_long_type
608 Feature record: CXX_FEATURE:0cxx_noexcept
609 Feature record: CXX_FEATURE:0cxx_nonstatic_member_init
610 Feature record: CXX_FEATURE:0cxx_nullptr
611 Feature record: CXX_FEATURE:0cxx_override
612 Feature record: CXX_FEATURE:0cxx_range_for
613 Feature record: CXX_FEATURE:0cxx_raw_string_literals
614 Feature record: CXX_FEATURE:0cxx_reference_qualified_functions
615 Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
616 Feature record: CXX_FEATURE:0cxx_return_type_deduction
617 Feature record: CXX_FEATURE:0cxx_right_angle_brackets
618 Feature record: CXX_FEATURE:0cxx_rvalue_references
619 Feature record: CXX_FEATURE:0cxx_sizeof_member
620 Feature record: CXX_FEATURE:0cxx_static_assert
621 Feature record: CXX_FEATURE:0cxx_strong_enums
622 Feature record: CXX_FEATURE:1cxx_template_template_parameters
623 Feature record: CXX_FEATURE:0cxx_thread_local
624 Feature record: CXX_FEATURE:0cxx_trailing_return_types
625 Feature record: CXX_FEATURE:0cxx_unicode_literals
626 Feature record: CXX_FEATURE:0cxx_uniform_initialization
627 Feature record: CXX_FEATURE:0cxx_unrestricted_unions
628 Feature record: CXX_FEATURE:0cxx_user_literals
629 Feature record: CXX_FEATURE:0cxx_variable_templates
630 Feature record: CXX_FEATURE:0cxx_variadic_macros
631 Feature record: CXX_FEATURE:0cxx_variadic_templates
632 Determining if the include file pthread.h exists passed with the following output:
633 Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp
634
635 Run Build Command:"/usr/bin/make" "cmTC_c6fc0/fast"
636 /usr/bin/make -f CMakeFiles/cmTC_c6fc0.dir/build.make CMakeFiles/cmTC_c6fc0.dir/build
637 make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
638 Building C object CMakeFiles/cmTC_c6fc0.dir/CheckIncludeFile.c.o
639 /usr/bin/cc -fPIC -o CMakeFiles/cmTC_c6fc0.dir/CheckIncludeFile.c.o -c /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
640 Linking C executable cmTC_c6fc0
641 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c6fc0.dir/link.txt --verbose=1
642 /usr/bin/cc -fPIC CMakeFiles/cmTC_c6fc0.dir/CheckIncludeFile.c.o -o cmTC_c6fc0
643 make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
644
645
646 Determining if the function pthread_create exists in the pthread passed with the following output:
647 Change Dir: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp
648
649 Run Build Command:"/usr/bin/make" "cmTC_c173d/fast"
650 /usr/bin/make -f CMakeFiles/cmTC_c173d.dir/build.make CMakeFiles/cmTC_c173d.dir/build
651 make[1]: 进入目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
652 Building C object CMakeFiles/cmTC_c173d.dir/CheckFunctionExists.c.o
653 /usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_c173d.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
654 Linking C executable cmTC_c173d
655 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c173d.dir/link.txt --verbose=1
656 /usr/bin/cc -fPIC -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_c173d.dir/CheckFunctionExists.c.o -o cmTC_c173d -lpthread
657 make[1]: 离开目录“/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/CMakeTmp”
658
659
1 # CMAKE generated file: DO NOT EDIT!
2 # Generated by "Unix Makefiles" Generator, CMake Version 3.10
3
4 # The generator used is:
5 set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
6
7 # The top level Makefile was generated from the following files:
8 set(CMAKE_MAKEFILE_DEPENDS
9 "CMakeCache.txt"
10 "../CMakeLists.txt"
11 "CMakeFiles/3.10.2/CMakeCCompiler.cmake"
12 "CMakeFiles/3.10.2/CMakeCXXCompiler.cmake"
13 "CMakeFiles/3.10.2/CMakeSystem.cmake"
14 "CMakeFiles/feature_tests.c"
15 "CMakeFiles/feature_tests.cxx"
16 "/usr/local/lib/cmake/opencv4/OpenCVConfig-version.cmake"
17 "/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake"
18 "/usr/local/lib/cmake/opencv4/OpenCVModules-release.cmake"
19 "/usr/local/lib/cmake/opencv4/OpenCVModules.cmake"
20 "/usr/share/cmake-3.10/Modules/CMakeCCompiler.cmake.in"
21 "/usr/share/cmake-3.10/Modules/CMakeCCompilerABI.c"
22 "/usr/share/cmake-3.10/Modules/CMakeCInformation.cmake"
23 "/usr/share/cmake-3.10/Modules/CMakeCXXCompiler.cmake.in"
24 "/usr/share/cmake-3.10/Modules/CMakeCXXCompilerABI.cpp"
25 "/usr/share/cmake-3.10/Modules/CMakeCXXInformation.cmake"
26 "/usr/share/cmake-3.10/Modules/CMakeCommonLanguageInclude.cmake"
27 "/usr/share/cmake-3.10/Modules/CMakeCompilerIdDetection.cmake"
28 "/usr/share/cmake-3.10/Modules/CMakeConfigurableFile.in"
29 "/usr/share/cmake-3.10/Modules/CMakeDetermineCCompiler.cmake"
30 "/usr/share/cmake-3.10/Modules/CMakeDetermineCXXCompiler.cmake"
31 "/usr/share/cmake-3.10/Modules/CMakeDetermineCompileFeatures.cmake"
32 "/usr/share/cmake-3.10/Modules/CMakeDetermineCompiler.cmake"
33 "/usr/share/cmake-3.10/Modules/CMakeDetermineCompilerABI.cmake"
34 "/usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake"
35 "/usr/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake"
36 "/usr/share/cmake-3.10/Modules/CMakeFindBinUtils.cmake"
37 "/usr/share/cmake-3.10/Modules/CMakeGenericSystem.cmake"
38 "/usr/share/cmake-3.10/Modules/CMakeLanguageInformation.cmake"
39 "/usr/share/cmake-3.10/Modules/CMakeParseImplicitLinkInfo.cmake"
40 "/usr/share/cmake-3.10/Modules/CMakeSystem.cmake.in"
41 "/usr/share/cmake-3.10/Modules/CMakeSystemSpecificInformation.cmake"
42 "/usr/share/cmake-3.10/Modules/CMakeSystemSpecificInitialize.cmake"
43 "/usr/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake"
44 "/usr/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake"
45 "/usr/share/cmake-3.10/Modules/CMakeTestCompilerCommon.cmake"
46 "/usr/share/cmake-3.10/Modules/CMakeUnixFindMake.cmake"
47 "/usr/share/cmake-3.10/Modules/CheckFunctionExists.c"
48 "/usr/share/cmake-3.10/Modules/CheckIncludeFile.c.in"
49 "/usr/share/cmake-3.10/Modules/CheckIncludeFile.cmake"
50 "/usr/share/cmake-3.10/Modules/CheckLibraryExists.cmake"
51 "/usr/share/cmake-3.10/Modules/CheckSymbolExists.cmake"
52 "/usr/share/cmake-3.10/Modules/Compiler/ADSP-DetermineCompiler.cmake"
53 "/usr/share/cmake-3.10/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
54 "/usr/share/cmake-3.10/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
55 "/usr/share/cmake-3.10/Modules/Compiler/Borland-DetermineCompiler.cmake"
56 "/usr/share/cmake-3.10/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
57 "/usr/share/cmake-3.10/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
58 "/usr/share/cmake-3.10/Modules/Compiler/Clang-DetermineCompiler.cmake"
59 "/usr/share/cmake-3.10/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
60 "/usr/share/cmake-3.10/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
61 "/usr/share/cmake-3.10/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
62 "/usr/share/cmake-3.10/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
63 "/usr/share/cmake-3.10/Modules/Compiler/Cray-DetermineCompiler.cmake"
64 "/usr/share/cmake-3.10/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
65 "/usr/share/cmake-3.10/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
66 "/usr/share/cmake-3.10/Modules/Compiler/GHS-DetermineCompiler.cmake"
67 "/usr/share/cmake-3.10/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
68 "/usr/share/cmake-3.10/Modules/Compiler/GNU-C-FeatureTests.cmake"
69 "/usr/share/cmake-3.10/Modules/Compiler/GNU-C.cmake"
70 "/usr/share/cmake-3.10/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
71 "/usr/share/cmake-3.10/Modules/Compiler/GNU-CXX-FeatureTests.cmake"
72 "/usr/share/cmake-3.10/Modules/Compiler/GNU-CXX.cmake"
73 "/usr/share/cmake-3.10/Modules/Compiler/GNU-FindBinUtils.cmake"
74 "/usr/share/cmake-3.10/Modules/Compiler/GNU.cmake"
75 "/usr/share/cmake-3.10/Modules/Compiler/HP-C-DetermineCompiler.cmake"
76 "/usr/share/cmake-3.10/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
77 "/usr/share/cmake-3.10/Modules/Compiler/IAR-DetermineCompiler.cmake"
78 "/usr/share/cmake-3.10/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
79 "/usr/share/cmake-3.10/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
80 "/usr/share/cmake-3.10/Modules/Compiler/Intel-DetermineCompiler.cmake"
81 "/usr/share/cmake-3.10/Modules/Compiler/MIPSpro-DetermineCompiler.cmake"
82 "/usr/share/cmake-3.10/Modules/Compiler/MSVC-DetermineCompiler.cmake"
83 "/usr/share/cmake-3.10/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
84 "/usr/share/cmake-3.10/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
85 "/usr/share/cmake-3.10/Modules/Compiler/PGI-DetermineCompiler.cmake"
86 "/usr/share/cmake-3.10/Modules/Compiler/PathScale-DetermineCompiler.cmake"
87 "/usr/share/cmake-3.10/Modules/Compiler/SCO-DetermineCompiler.cmake"
88 "/usr/share/cmake-3.10/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
89 "/usr/share/cmake-3.10/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
90 "/usr/share/cmake-3.10/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
91 "/usr/share/cmake-3.10/Modules/Compiler/TI-DetermineCompiler.cmake"
92 "/usr/share/cmake-3.10/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
93 "/usr/share/cmake-3.10/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
94 "/usr/share/cmake-3.10/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
95 "/usr/share/cmake-3.10/Modules/Compiler/Watcom-DetermineCompiler.cmake"
96 "/usr/share/cmake-3.10/Modules/Compiler/XL-C-DetermineCompiler.cmake"
97 "/usr/share/cmake-3.10/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
98 "/usr/share/cmake-3.10/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
99 "/usr/share/cmake-3.10/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
100 "/usr/share/cmake-3.10/Modules/FindCUDA.cmake"
101 "/usr/share/cmake-3.10/Modules/FindCUDA/select_compute_arch.cmake"
102 "/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake"
103 "/usr/share/cmake-3.10/Modules/FindPackageMessage.cmake"
104 "/usr/share/cmake-3.10/Modules/FindThreads.cmake"
105 "/usr/share/cmake-3.10/Modules/Internal/FeatureTesting.cmake"
106 "/usr/share/cmake-3.10/Modules/Platform/Linux-Determine-CXX.cmake"
107 "/usr/share/cmake-3.10/Modules/Platform/Linux-GNU-C.cmake"
108 "/usr/share/cmake-3.10/Modules/Platform/Linux-GNU-CXX.cmake"
109 "/usr/share/cmake-3.10/Modules/Platform/Linux-GNU.cmake"
110 "/usr/share/cmake-3.10/Modules/Platform/Linux.cmake"
111 "/usr/share/cmake-3.10/Modules/Platform/UnixPaths.cmake"
112 )
113
114 # The corresponding makefile is:
115 set(CMAKE_MAKEFILE_OUTPUTS
116 "Makefile"
117 "CMakeFiles/cmake.check_cache"
118 )
119
120 # Byproducts of CMake generate step:
121 set(CMAKE_MAKEFILE_PRODUCTS
122 "CMakeFiles/3.10.2/CMakeSystem.cmake"
123 "CMakeFiles/3.10.2/CMakeCCompiler.cmake"
124 "CMakeFiles/3.10.2/CMakeCXXCompiler.cmake"
125 "CMakeFiles/3.10.2/CMakeCCompiler.cmake"
126 "CMakeFiles/3.10.2/CMakeCXXCompiler.cmake"
127 "CMakeFiles/CMakeDirectoryInformation.cmake"
128 )
129
130 # Dependency information for all targets:
131 set(CMAKE_DEPEND_INFO_FILES
132 "CMakeFiles/main.dir/DependInfo.cmake"
133 )
1 # CMAKE generated file: DO NOT EDIT!
2 # Generated by "Unix Makefiles" Generator, CMake Version 3.10
3
4 # Default target executed when no arguments are given to make.
5 default_target: all
6
7 .PHONY : default_target
8
9 # The main recursive all target
10 all:
11
12 .PHONY : all
13
14 # The main recursive preinstall target
15 preinstall:
16
17 .PHONY : preinstall
18
19 #=============================================================================
20 # Special targets provided by cmake.
21
22 # Disable implicit rules so canonical targets will work.
23 .SUFFIXES:
24
25
26 # Remove some rules from gmake that .SUFFIXES does not remove.
27 SUFFIXES =
28
29 .SUFFIXES: .hpux_make_needs_suffix_list
30
31
32 # Suppress display of executed commands.
33 $(VERBOSE).SILENT:
34
35
36 # A target that is always out of date.
37 cmake_force:
38
39 .PHONY : cmake_force
40
41 #=============================================================================
42 # Set environment variables for the build.
43
44 # The shell in which to execute make rules.
45 SHELL = /bin/sh
46
47 # The CMake executable.
48 CMAKE_COMMAND = /usr/bin/cmake
49
50 # The command to remove a file.
51 RM = /usr/bin/cmake -E remove -f
52
53 # Escaping for special characters.
54 EQUALS = =
55
56 # The top-level source directory on which CMake was run.
57 CMAKE_SOURCE_DIR = /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn
58
59 # The top-level build directory on which CMake was run.
60 CMAKE_BINARY_DIR = /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build
61
62 #=============================================================================
63 # Target rules for target CMakeFiles/main.dir
64
65 # All Build rule for target.
66 CMakeFiles/main.dir/all:
67 $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/depend
68 $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/build
69 @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles --progress-num=1,2 "Built target main"
70 .PHONY : CMakeFiles/main.dir/all
71
72 # Include target in all.
73 all: CMakeFiles/main.dir/all
74
75 .PHONY : all
76
77 # Build rule for subdir invocation for target.
78 CMakeFiles/main.dir/rule: cmake_check_build_system
79 $(CMAKE_COMMAND) -E cmake_progress_start /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles 2
80 $(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/main.dir/all
81 $(CMAKE_COMMAND) -E cmake_progress_start /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles 0
82 .PHONY : CMakeFiles/main.dir/rule
83
84 # Convenience name for target.
85 main: CMakeFiles/main.dir/rule
86
87 .PHONY : main
88
89 # clean rule for target.
90 CMakeFiles/main.dir/clean:
91 $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/clean
92 .PHONY : CMakeFiles/main.dir/clean
93
94 # clean rule for target.
95 clean: CMakeFiles/main.dir/clean
96
97 .PHONY : clean
98
99 #=============================================================================
100 # Special targets to cleanup operation of make.
101
102 # Special rule to run CMake to check the build system integrity.
103 # No rule that depends on this can have commands that come from listfiles
104 # because they might be regenerated.
105 cmake_check_build_system:
106 $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
107 .PHONY : cmake_check_build_system
108
1 /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/rebuild_cache.dir
2 /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/main.dir
3 /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/edit_cache.dir
1 # This file is generated by cmake for dependency checking of the CMakeCache.txt file
No preview for this file type
1
2 const char features[] = {"\n"
3 "C_FEATURE:"
4 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304
5 "1"
6 #else
7 "0"
8 #endif
9 "c_function_prototypes\n"
10 "C_FEATURE:"
11 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
12 "1"
13 #else
14 "0"
15 #endif
16 "c_restrict\n"
17 "C_FEATURE:"
18 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L
19 "1"
20 #else
21 "0"
22 #endif
23 "c_static_assert\n"
24 "C_FEATURE:"
25 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
26 "1"
27 #else
28 "0"
29 #endif
30 "c_variadic_macros\n"
31
32 };
33
34 int main(int argc, char** argv) { (void)argv; return features[argc]; }
1
2 const char features[] = {"\n"
3 "CXX_FEATURE:"
4 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
5 "1"
6 #else
7 "0"
8 #endif
9 "cxx_aggregate_default_initializers\n"
10 "CXX_FEATURE:"
11 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
12 "1"
13 #else
14 "0"
15 #endif
16 "cxx_alias_templates\n"
17 "CXX_FEATURE:"
18 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
19 "1"
20 #else
21 "0"
22 #endif
23 "cxx_alignas\n"
24 "CXX_FEATURE:"
25 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
26 "1"
27 #else
28 "0"
29 #endif
30 "cxx_alignof\n"
31 "CXX_FEATURE:"
32 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
33 "1"
34 #else
35 "0"
36 #endif
37 "cxx_attributes\n"
38 "CXX_FEATURE:"
39 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
40 "1"
41 #else
42 "0"
43 #endif
44 "cxx_attribute_deprecated\n"
45 "CXX_FEATURE:"
46 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
47 "1"
48 #else
49 "0"
50 #endif
51 "cxx_auto_type\n"
52 "CXX_FEATURE:"
53 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
54 "1"
55 #else
56 "0"
57 #endif
58 "cxx_binary_literals\n"
59 "CXX_FEATURE:"
60 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
61 "1"
62 #else
63 "0"
64 #endif
65 "cxx_constexpr\n"
66 "CXX_FEATURE:"
67 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
68 "1"
69 #else
70 "0"
71 #endif
72 "cxx_contextual_conversions\n"
73 "CXX_FEATURE:"
74 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
75 "1"
76 #else
77 "0"
78 #endif
79 "cxx_decltype\n"
80 "CXX_FEATURE:"
81 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
82 "1"
83 #else
84 "0"
85 #endif
86 "cxx_decltype_auto\n"
87 "CXX_FEATURE:"
88 #if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L
89 "1"
90 #else
91 "0"
92 #endif
93 "cxx_decltype_incomplete_return_types\n"
94 "CXX_FEATURE:"
95 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
96 "1"
97 #else
98 "0"
99 #endif
100 "cxx_default_function_template_args\n"
101 "CXX_FEATURE:"
102 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
103 "1"
104 #else
105 "0"
106 #endif
107 "cxx_defaulted_functions\n"
108 "CXX_FEATURE:"
109 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
110 "1"
111 #else
112 "0"
113 #endif
114 "cxx_defaulted_move_initializers\n"
115 "CXX_FEATURE:"
116 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
117 "1"
118 #else
119 "0"
120 #endif
121 "cxx_delegating_constructors\n"
122 "CXX_FEATURE:"
123 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
124 "1"
125 #else
126 "0"
127 #endif
128 "cxx_deleted_functions\n"
129 "CXX_FEATURE:"
130 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
131 "1"
132 #else
133 "0"
134 #endif
135 "cxx_digit_separators\n"
136 "CXX_FEATURE:"
137 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
138 "1"
139 #else
140 "0"
141 #endif
142 "cxx_enum_forward_declarations\n"
143 "CXX_FEATURE:"
144 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
145 "1"
146 #else
147 "0"
148 #endif
149 "cxx_explicit_conversions\n"
150 "CXX_FEATURE:"
151 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
152 "1"
153 #else
154 "0"
155 #endif
156 "cxx_extended_friend_declarations\n"
157 "CXX_FEATURE:"
158 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
159 "1"
160 #else
161 "0"
162 #endif
163 "cxx_extern_templates\n"
164 "CXX_FEATURE:"
165 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
166 "1"
167 #else
168 "0"
169 #endif
170 "cxx_final\n"
171 "CXX_FEATURE:"
172 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
173 "1"
174 #else
175 "0"
176 #endif
177 "cxx_func_identifier\n"
178 "CXX_FEATURE:"
179 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
180 "1"
181 #else
182 "0"
183 #endif
184 "cxx_generalized_initializers\n"
185 "CXX_FEATURE:"
186 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
187 "1"
188 #else
189 "0"
190 #endif
191 "cxx_generic_lambdas\n"
192 "CXX_FEATURE:"
193 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
194 "1"
195 #else
196 "0"
197 #endif
198 "cxx_inheriting_constructors\n"
199 "CXX_FEATURE:"
200 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
201 "1"
202 #else
203 "0"
204 #endif
205 "cxx_inline_namespaces\n"
206 "CXX_FEATURE:"
207 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
208 "1"
209 #else
210 "0"
211 #endif
212 "cxx_lambdas\n"
213 "CXX_FEATURE:"
214 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
215 "1"
216 #else
217 "0"
218 #endif
219 "cxx_lambda_init_captures\n"
220 "CXX_FEATURE:"
221 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
222 "1"
223 #else
224 "0"
225 #endif
226 "cxx_local_type_template_args\n"
227 "CXX_FEATURE:"
228 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
229 "1"
230 #else
231 "0"
232 #endif
233 "cxx_long_long_type\n"
234 "CXX_FEATURE:"
235 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
236 "1"
237 #else
238 "0"
239 #endif
240 "cxx_noexcept\n"
241 "CXX_FEATURE:"
242 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
243 "1"
244 #else
245 "0"
246 #endif
247 "cxx_nonstatic_member_init\n"
248 "CXX_FEATURE:"
249 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
250 "1"
251 #else
252 "0"
253 #endif
254 "cxx_nullptr\n"
255 "CXX_FEATURE:"
256 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
257 "1"
258 #else
259 "0"
260 #endif
261 "cxx_override\n"
262 "CXX_FEATURE:"
263 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
264 "1"
265 #else
266 "0"
267 #endif
268 "cxx_range_for\n"
269 "CXX_FEATURE:"
270 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
271 "1"
272 #else
273 "0"
274 #endif
275 "cxx_raw_string_literals\n"
276 "CXX_FEATURE:"
277 #if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L
278 "1"
279 #else
280 "0"
281 #endif
282 "cxx_reference_qualified_functions\n"
283 "CXX_FEATURE:"
284 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
285 "1"
286 #else
287 "0"
288 #endif
289 "cxx_relaxed_constexpr\n"
290 "CXX_FEATURE:"
291 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
292 "1"
293 #else
294 "0"
295 #endif
296 "cxx_return_type_deduction\n"
297 "CXX_FEATURE:"
298 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
299 "1"
300 #else
301 "0"
302 #endif
303 "cxx_right_angle_brackets\n"
304 "CXX_FEATURE:"
305 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
306 "1"
307 #else
308 "0"
309 #endif
310 "cxx_rvalue_references\n"
311 "CXX_FEATURE:"
312 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
313 "1"
314 #else
315 "0"
316 #endif
317 "cxx_sizeof_member\n"
318 "CXX_FEATURE:"
319 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
320 "1"
321 #else
322 "0"
323 #endif
324 "cxx_static_assert\n"
325 "CXX_FEATURE:"
326 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
327 "1"
328 #else
329 "0"
330 #endif
331 "cxx_strong_enums\n"
332 "CXX_FEATURE:"
333 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && __cplusplus
334 "1"
335 #else
336 "0"
337 #endif
338 "cxx_template_template_parameters\n"
339 "CXX_FEATURE:"
340 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
341 "1"
342 #else
343 "0"
344 #endif
345 "cxx_thread_local\n"
346 "CXX_FEATURE:"
347 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
348 "1"
349 #else
350 "0"
351 #endif
352 "cxx_trailing_return_types\n"
353 "CXX_FEATURE:"
354 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
355 "1"
356 #else
357 "0"
358 #endif
359 "cxx_unicode_literals\n"
360 "CXX_FEATURE:"
361 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
362 "1"
363 #else
364 "0"
365 #endif
366 "cxx_uniform_initialization\n"
367 "CXX_FEATURE:"
368 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
369 "1"
370 #else
371 "0"
372 #endif
373 "cxx_unrestricted_unions\n"
374 "CXX_FEATURE:"
375 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
376 "1"
377 #else
378 "0"
379 #endif
380 "cxx_user_literals\n"
381 "CXX_FEATURE:"
382 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
383 "1"
384 #else
385 "0"
386 #endif
387 "cxx_variable_templates\n"
388 "CXX_FEATURE:"
389 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
390 "1"
391 #else
392 "0"
393 #endif
394 "cxx_variadic_macros\n"
395 "CXX_FEATURE:"
396 #if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
397 "1"
398 #else
399 "0"
400 #endif
401 "cxx_variadic_templates\n"
402
403 };
404
405 int main(int argc, char** argv) { (void)argv; return features[argc]; }
1 #IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
2
3 #IncludeRegexScan: ^.*$
4
5 #IncludeRegexComplain: ^$
6
7 #IncludeRegexTransform:
8
9 ../include/facecomparison.h
10 facerecognize.h
11 ../include/facerecognize.h
12 retinaface.h
13 ../include/retinaface.h
14 facelandmarks.h
15 ../include/facelandmarks.h
16
17 ../include/facelandmarks.h
18 opencv2/opencv.hpp
19 -
20 MNN/Interpreter.hpp
21 -
22 MNN/ImageProcess.hpp
23 -
24 iostream
25 -
26 memory
27 -
28
29 ../include/facerecognize.h
30 opencv2/opencv.hpp
31 -
32 MNN/Interpreter.hpp
33 -
34 MNN/ImageProcess.hpp
35 -
36 iostream
37 -
38 memory
39 -
40
41 ../include/retinaface.h
42 opencv2/opencv.hpp
43 -
44 MNN/Interpreter.hpp
45 -
46 MNN/ImageProcess.hpp
47 -
48 iostream
49 -
50 memory
51 -
52
53 /home/situ/MNN/MNN1.0/MNN/include/MNN/ErrorCode.hpp
54
55 /home/situ/MNN/MNN1.0/MNN/include/MNN/HalideRuntime.h
56 stddef.h
57 -
58 stdint.h
59 -
60 stdbool.h
61 -
62
63 /home/situ/MNN/MNN1.0/MNN/include/MNN/ImageProcess.hpp
64 MNN/ErrorCode.hpp
65 -
66 MNN/Matrix.h
67 -
68 MNN/Tensor.hpp
69 -
70
71 /home/situ/MNN/MNN1.0/MNN/include/MNN/Interpreter.hpp
72 functional
73 -
74 map
75 -
76 string
77 -
78 MNN/ErrorCode.hpp
79 -
80 MNN/MNNForwardType.h
81 -
82 MNN/Tensor.hpp
83 -
84
85 /home/situ/MNN/MNN1.0/MNN/include/MNN/MNNDefine.h
86 assert.h
87 -
88 stdio.h
89 -
90 TargetConditionals.h
91 -
92 android/log.h
93 -
94
95 /home/situ/MNN/MNN1.0/MNN/include/MNN/MNNForwardType.h
96 stdint.h
97 -
98 stddef.h
99 -
100
101 /home/situ/MNN/MNN1.0/MNN/include/MNN/Matrix.h
102 string.h
103 -
104 cstdint
105 -
106 MNN/Rect.h
107 -
108
109 /home/situ/MNN/MNN1.0/MNN/include/MNN/Rect.h
110 math.h
111 -
112 algorithm
113 -
114 utility
115 -
116 MNN/MNNDefine.h
117 -
118
119 /home/situ/MNN/MNN1.0/MNN/include/MNN/Tensor.hpp
120 vector
121 -
122 MNN/HalideRuntime.h
123 -
124 MNN/MNNDefine.h
125 -
126
127 /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/main.cpp
128 facecomparison.h
129 /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/facecomparison.h
130
131 /usr/local/include/opencv4/opencv2/./imgproc/segmentation.hpp
132 opencv2/imgproc.hpp
133 /usr/local/include/opencv4/opencv2/./imgproc/opencv2/imgproc.hpp
134
135 /usr/local/include/opencv4/opencv2/calib3d.hpp
136 opencv2/core.hpp
137 /usr/local/include/opencv4/opencv2/opencv2/core.hpp
138 opencv2/features2d.hpp
139 /usr/local/include/opencv4/opencv2/opencv2/features2d.hpp
140 opencv2/core/affine.hpp
141 /usr/local/include/opencv4/opencv2/opencv2/core/affine.hpp
142
143 /usr/local/include/opencv4/opencv2/core.hpp
144 opencv2/core/cvdef.h
145 /usr/local/include/opencv4/opencv2/opencv2/core/cvdef.h
146 opencv2/core/base.hpp
147 /usr/local/include/opencv4/opencv2/opencv2/core/base.hpp
148 opencv2/core/cvstd.hpp
149 /usr/local/include/opencv4/opencv2/opencv2/core/cvstd.hpp
150 opencv2/core/traits.hpp
151 /usr/local/include/opencv4/opencv2/opencv2/core/traits.hpp
152 opencv2/core/matx.hpp
153 /usr/local/include/opencv4/opencv2/opencv2/core/matx.hpp
154 opencv2/core/types.hpp
155 /usr/local/include/opencv4/opencv2/opencv2/core/types.hpp
156 opencv2/core/mat.hpp
157 /usr/local/include/opencv4/opencv2/opencv2/core/mat.hpp
158 opencv2/core/persistence.hpp
159 /usr/local/include/opencv4/opencv2/opencv2/core/persistence.hpp
160 opencv2/core/operations.hpp
161 /usr/local/include/opencv4/opencv2/opencv2/core/operations.hpp
162 opencv2/core/cvstd.inl.hpp
163 /usr/local/include/opencv4/opencv2/opencv2/core/cvstd.inl.hpp
164 opencv2/core/utility.hpp
165 /usr/local/include/opencv4/opencv2/opencv2/core/utility.hpp
166 opencv2/core/optim.hpp
167 /usr/local/include/opencv4/opencv2/opencv2/core/optim.hpp
168 opencv2/core/ovx.hpp
169 /usr/local/include/opencv4/opencv2/opencv2/core/ovx.hpp
170
171 /usr/local/include/opencv4/opencv2/core/affine.hpp
172 opencv2/core.hpp
173 -
174
175 /usr/local/include/opencv4/opencv2/core/async.hpp
176 opencv2/core/mat.hpp
177 -
178 chrono
179 -
180
181 /usr/local/include/opencv4/opencv2/core/base.hpp
182 opencv2/opencv_modules.hpp
183 /usr/local/include/opencv4/opencv2/core/opencv2/opencv_modules.hpp
184 climits
185 -
186 algorithm
187 -
188 opencv2/core/cvdef.h
189 /usr/local/include/opencv4/opencv2/core/opencv2/core/cvdef.h
190 opencv2/core/cvstd.hpp
191 /usr/local/include/opencv4/opencv2/core/opencv2/core/cvstd.hpp
192 opencv2/core/neon_utils.hpp
193 /usr/local/include/opencv4/opencv2/core/opencv2/core/neon_utils.hpp
194 opencv2/core/vsx_utils.hpp
195 /usr/local/include/opencv4/opencv2/core/opencv2/core/vsx_utils.hpp
196 opencv2/core/check.hpp
197 /usr/local/include/opencv4/opencv2/core/opencv2/core/check.hpp
198
199 /usr/local/include/opencv4/opencv2/core/bufferpool.hpp
200
201 /usr/local/include/opencv4/opencv2/core/check.hpp
202 opencv2/core/base.hpp
203 -
204
205 /usr/local/include/opencv4/opencv2/core/cuda.hpp
206 opencv2/core.hpp
207 /usr/local/include/opencv4/opencv2/core/opencv2/core.hpp
208 opencv2/core/cuda_types.hpp
209 /usr/local/include/opencv4/opencv2/core/opencv2/core/cuda_types.hpp
210 opencv2/opencv.hpp
211 -
212 opencv2/core/cuda.inl.hpp
213 /usr/local/include/opencv4/opencv2/core/opencv2/core/cuda.inl.hpp
214
215 /usr/local/include/opencv4/opencv2/core/cuda.inl.hpp
216 opencv2/core/cuda.hpp
217 /usr/local/include/opencv4/opencv2/core/opencv2/core/cuda.hpp
218
219 /usr/local/include/opencv4/opencv2/core/cuda_types.hpp
220
221 /usr/local/include/opencv4/opencv2/core/cv_cpu_dispatch.h
222 cv_cpu_config.h
223 /usr/local/include/opencv4/opencv2/core/cv_cpu_config.h
224 cv_cpu_helper.h
225 /usr/local/include/opencv4/opencv2/core/cv_cpu_helper.h
226 emmintrin.h
227 -
228 pmmintrin.h
229 -
230 tmmintrin.h
231 -
232 smmintrin.h
233 -
234 nmmintrin.h
235 -
236 nmmintrin.h
237 -
238 popcntintrin.h
239 -
240 immintrin.h
241 -
242 arm_neon.h
243 -
244 immintrin.h
245 -
246 immintrin.h
247 -
248 immintrin.h
249 -
250 Intrin.h
251 -
252 arm_neon.h
253 -
254 arm_neon.h
255 -
256 riscv-vector.h
257 -
258 arm_neon.h
259 -
260 altivec.h
261 -
262 hal/msa_macros.h
263 /usr/local/include/opencv4/opencv2/core/hal/msa_macros.h
264 wasm_simd128.h
265 -
266 riscv_vector.h
267 -
268 emmintrin.h
269 -
270 Intrin.h
271 -
272 arm_neon.h
273 -
274 arm_neon.h
275 -
276 altivec.h
277 -
278 immintrin.h
279 -
280
281 /usr/local/include/opencv4/opencv2/core/cv_cpu_helper.h
282
283 /usr/local/include/opencv4/opencv2/core/cvdef.h
284 opencv2/core/version.hpp
285 /usr/local/include/opencv4/opencv2/core/opencv2/core/version.hpp
286 cvconfig.h
287 /usr/local/include/opencv4/opencv2/core/cvconfig.h
288 limits
289 -
290 limits.h
291 -
292 opencv2/core/hal/interface.h
293 /usr/local/include/opencv4/opencv2/core/opencv2/core/hal/interface.h
294 cv_cpu_dispatch.h
295 /usr/local/include/opencv4/opencv2/core/cv_cpu_dispatch.h
296 intrin.h
297 -
298 array
299 -
300 cstdint
301 -
302 stdint.h
303 -
304 stdint.h
305 -
306 opencv2/core/fast_math.hpp
307 /usr/local/include/opencv4/opencv2/core/opencv2/core/fast_math.hpp
308
309 /usr/local/include/opencv4/opencv2/core/cvstd.hpp
310 opencv2/core/cvdef.h
311 /usr/local/include/opencv4/opencv2/core/opencv2/core/cvdef.h
312 cstddef
313 -
314 cstring
315 -
316 cctype
317 -
318 string
319 -
320 algorithm
321 -
322 utility
323 -
324 cstdlib
325 -
326 cmath
327 -
328 cvstd_wrapper.hpp
329 /usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp
330
331 /usr/local/include/opencv4/opencv2/core/cvstd.inl.hpp
332 complex
333 -
334 ostream
335 -
336 sstream
337 -
338
339 /usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp
340 opencv2/core/cvdef.h
341 /usr/local/include/opencv4/opencv2/core/opencv2/core/cvdef.h
342 string
343 -
344 memory
345 -
346 type_traits
347 -
348
349 /usr/local/include/opencv4/opencv2/core/fast_math.hpp
350 opencv2/core/cvdef.h
351 /usr/local/include/opencv4/opencv2/core/opencv2/core/cvdef.h
352 cmath
353 -
354 fastmath.h
355 -
356 math.h
357 -
358 emmintrin.h
359 -
360 altivec.h
361 -
362
363 /usr/local/include/opencv4/opencv2/core/hal/interface.h
364 cstddef
365 -
366 stddef.h
367 -
368 stdbool.h
369 -
370 cstdint
371 -
372 stdint.h
373 -
374
375 /usr/local/include/opencv4/opencv2/core/hal/msa_macros.h
376 msa.h
377 /usr/local/include/opencv4/opencv2/core/hal/msa.h
378 stdint.h
379 -
380
381 /usr/local/include/opencv4/opencv2/core/mat.hpp
382 opencv2/core/matx.hpp
383 /usr/local/include/opencv4/opencv2/core/opencv2/core/matx.hpp
384 opencv2/core/types.hpp
385 /usr/local/include/opencv4/opencv2/core/opencv2/core/types.hpp
386 opencv2/core/bufferpool.hpp
387 /usr/local/include/opencv4/opencv2/core/opencv2/core/bufferpool.hpp
388 type_traits
389 -
390 opencv2/core/mat.inl.hpp
391 /usr/local/include/opencv4/opencv2/core/opencv2/core/mat.inl.hpp
392
393 /usr/local/include/opencv4/opencv2/core/mat.inl.hpp
394
395 /usr/local/include/opencv4/opencv2/core/matx.hpp
396 opencv2/core/cvdef.h
397 /usr/local/include/opencv4/opencv2/core/opencv2/core/cvdef.h
398 opencv2/core/base.hpp
399 /usr/local/include/opencv4/opencv2/core/opencv2/core/base.hpp
400 opencv2/core/traits.hpp
401 /usr/local/include/opencv4/opencv2/core/opencv2/core/traits.hpp
402 opencv2/core/saturate.hpp
403 /usr/local/include/opencv4/opencv2/core/opencv2/core/saturate.hpp
404 initializer_list
405 -
406
407 /usr/local/include/opencv4/opencv2/core/neon_utils.hpp
408 opencv2/core/cvdef.h
409 /usr/local/include/opencv4/opencv2/core/opencv2/core/cvdef.h
410
411 /usr/local/include/opencv4/opencv2/core/operations.hpp
412 cstdio
413 -
414
415 /usr/local/include/opencv4/opencv2/core/optim.hpp
416 opencv2/core.hpp
417 /usr/local/include/opencv4/opencv2/core/opencv2/core.hpp
418
419 /usr/local/include/opencv4/opencv2/core/ovx.hpp
420 cvdef.h
421 /usr/local/include/opencv4/opencv2/core/cvdef.h
422
423 /usr/local/include/opencv4/opencv2/core/persistence.hpp
424 opencv2/core/types.hpp
425 /usr/local/include/opencv4/opencv2/core/opencv2/core/types.hpp
426 opencv2/core/mat.hpp
427 /usr/local/include/opencv4/opencv2/core/opencv2/core/mat.hpp
428 opencv2/core.hpp
429 /usr/local/include/opencv4/opencv2/core/opencv2/core.hpp
430 time.h
431 -
432
433 /usr/local/include/opencv4/opencv2/core/saturate.hpp
434 opencv2/core/cvdef.h
435 /usr/local/include/opencv4/opencv2/core/opencv2/core/cvdef.h
436 opencv2/core/fast_math.hpp
437 /usr/local/include/opencv4/opencv2/core/opencv2/core/fast_math.hpp
438
439 /usr/local/include/opencv4/opencv2/core/traits.hpp
440 opencv2/core/cvdef.h
441 /usr/local/include/opencv4/opencv2/core/opencv2/core/cvdef.h
442
443 /usr/local/include/opencv4/opencv2/core/types.hpp
444 climits
445 -
446 cfloat
447 -
448 vector
449 -
450 limits
451 -
452 opencv2/core/cvdef.h
453 /usr/local/include/opencv4/opencv2/core/opencv2/core/cvdef.h
454 opencv2/core/cvstd.hpp
455 /usr/local/include/opencv4/opencv2/core/opencv2/core/cvstd.hpp
456 opencv2/core/matx.hpp
457 /usr/local/include/opencv4/opencv2/core/opencv2/core/matx.hpp
458
459 /usr/local/include/opencv4/opencv2/core/utility.hpp
460 opencv2/core.hpp
461 /usr/local/include/opencv4/opencv2/core/opencv2/core.hpp
462 ostream
463 -
464 functional
465 -
466 mutex
467 -
468 opencv2/core/utils/instrumentation.hpp
469 /usr/local/include/opencv4/opencv2/core/opencv2/core/utils/instrumentation.hpp
470
471 /usr/local/include/opencv4/opencv2/core/utils/instrumentation.hpp
472 opencv2/core/utility.hpp
473 -
474 opencv2/core/utils/tls.hpp
475 -
476
477 /usr/local/include/opencv4/opencv2/core/utils/tls.hpp
478
479 /usr/local/include/opencv4/opencv2/core/version.hpp
480
481 /usr/local/include/opencv4/opencv2/core/vsx_utils.hpp
482 opencv2/core/cvdef.h
483 /usr/local/include/opencv4/opencv2/core/opencv2/core/cvdef.h
484 assert.h
485 -
486
487 /usr/local/include/opencv4/opencv2/dnn.hpp
488 opencv2/dnn/dnn.hpp
489 -
490
491 /usr/local/include/opencv4/opencv2/dnn/dict.hpp
492 opencv2/core.hpp
493 -
494 map
495 -
496 ostream
497 -
498 opencv2/dnn/dnn.hpp
499 -
500
501 /usr/local/include/opencv4/opencv2/dnn/dnn.hpp
502 vector
503 -
504 opencv2/core.hpp
505 -
506 opencv2/core/async.hpp
507 /usr/local/include/opencv4/opencv2/dnn/opencv2/core/async.hpp
508 ../dnn/version.hpp
509 /usr/local/include/opencv4/opencv2/dnn/version.hpp
510 opencv2/dnn/dict.hpp
511 -
512 opencv2/dnn/layer.hpp
513 -
514 opencv2/dnn/dnn.inl.hpp
515 -
516 opencv2/dnn/utils/inference_engine.hpp
517 -
518
519 /usr/local/include/opencv4/opencv2/dnn/dnn.inl.hpp
520 opencv2/dnn.hpp
521 -
522
523 /usr/local/include/opencv4/opencv2/dnn/layer.hpp
524 opencv2/dnn.hpp
525 -
526
527 /usr/local/include/opencv4/opencv2/dnn/utils/inference_engine.hpp
528 ../dnn.hpp
529 /usr/local/include/opencv4/opencv2/dnn/dnn.hpp
530
531 /usr/local/include/opencv4/opencv2/dnn/version.hpp
532
533 /usr/local/include/opencv4/opencv2/features2d.hpp
534 opencv2/opencv_modules.hpp
535 /usr/local/include/opencv4/opencv2/opencv2/opencv_modules.hpp
536 opencv2/core.hpp
537 /usr/local/include/opencv4/opencv2/opencv2/core.hpp
538 opencv2/flann/miniflann.hpp
539 /usr/local/include/opencv4/opencv2/opencv2/flann/miniflann.hpp
540
541 /usr/local/include/opencv4/opencv2/flann.hpp
542 opencv2/core.hpp
543 /usr/local/include/opencv4/opencv2/opencv2/core.hpp
544 opencv2/flann/miniflann.hpp
545 /usr/local/include/opencv4/opencv2/opencv2/flann/miniflann.hpp
546 opencv2/flann/flann_base.hpp
547 /usr/local/include/opencv4/opencv2/opencv2/flann/flann_base.hpp
548
549 /usr/local/include/opencv4/opencv2/flann/all_indices.h
550 general.h
551 /usr/local/include/opencv4/opencv2/flann/general.h
552 nn_index.h
553 /usr/local/include/opencv4/opencv2/flann/nn_index.h
554 kdtree_index.h
555 /usr/local/include/opencv4/opencv2/flann/kdtree_index.h
556 kdtree_single_index.h
557 /usr/local/include/opencv4/opencv2/flann/kdtree_single_index.h
558 kmeans_index.h
559 /usr/local/include/opencv4/opencv2/flann/kmeans_index.h
560 composite_index.h
561 /usr/local/include/opencv4/opencv2/flann/composite_index.h
562 linear_index.h
563 /usr/local/include/opencv4/opencv2/flann/linear_index.h
564 hierarchical_clustering_index.h
565 /usr/local/include/opencv4/opencv2/flann/hierarchical_clustering_index.h
566 lsh_index.h
567 /usr/local/include/opencv4/opencv2/flann/lsh_index.h
568 autotuned_index.h
569 /usr/local/include/opencv4/opencv2/flann/autotuned_index.h
570
571 /usr/local/include/opencv4/opencv2/flann/allocator.h
572 stdlib.h
573 -
574 stdio.h
575 -
576
577 /usr/local/include/opencv4/opencv2/flann/any.h
578 defines.h
579 /usr/local/include/opencv4/opencv2/flann/defines.h
580 stdexcept
581 -
582 ostream
583 -
584 typeinfo
585 -
586
587 /usr/local/include/opencv4/opencv2/flann/autotuned_index.h
588 sstream
589 -
590 nn_index.h
591 /usr/local/include/opencv4/opencv2/flann/nn_index.h
592 ground_truth.h
593 /usr/local/include/opencv4/opencv2/flann/ground_truth.h
594 index_testing.h
595 /usr/local/include/opencv4/opencv2/flann/index_testing.h
596 sampling.h
597 /usr/local/include/opencv4/opencv2/flann/sampling.h
598 kdtree_index.h
599 /usr/local/include/opencv4/opencv2/flann/kdtree_index.h
600 kdtree_single_index.h
601 /usr/local/include/opencv4/opencv2/flann/kdtree_single_index.h
602 kmeans_index.h
603 /usr/local/include/opencv4/opencv2/flann/kmeans_index.h
604 composite_index.h
605 /usr/local/include/opencv4/opencv2/flann/composite_index.h
606 linear_index.h
607 /usr/local/include/opencv4/opencv2/flann/linear_index.h
608 logger.h
609 /usr/local/include/opencv4/opencv2/flann/logger.h
610
611 /usr/local/include/opencv4/opencv2/flann/composite_index.h
612 nn_index.h
613 /usr/local/include/opencv4/opencv2/flann/nn_index.h
614 kdtree_index.h
615 /usr/local/include/opencv4/opencv2/flann/kdtree_index.h
616 kmeans_index.h
617 /usr/local/include/opencv4/opencv2/flann/kmeans_index.h
618
619 /usr/local/include/opencv4/opencv2/flann/config.h
620
621 /usr/local/include/opencv4/opencv2/flann/defines.h
622 config.h
623 /usr/local/include/opencv4/opencv2/flann/config.h
624
625 /usr/local/include/opencv4/opencv2/flann/dist.h
626 cmath
627 -
628 cstdlib
629 -
630 string.h
631 -
632 stdint.h
633 -
634 defines.h
635 /usr/local/include/opencv4/opencv2/flann/defines.h
636 Intrin.h
637 -
638 arm_neon.h
639 /usr/local/include/opencv4/opencv2/flann/arm_neon.h
640
641 /usr/local/include/opencv4/opencv2/flann/dynamic_bitset.h
642 boost/dynamic_bitset.hpp
643 -
644 limits.h
645 -
646 dist.h
647 /usr/local/include/opencv4/opencv2/flann/dist.h
648
649 /usr/local/include/opencv4/opencv2/flann/flann_base.hpp
650 vector
651 -
652 cstdio
653 -
654 general.h
655 /usr/local/include/opencv4/opencv2/flann/general.h
656 matrix.h
657 /usr/local/include/opencv4/opencv2/flann/matrix.h
658 params.h
659 /usr/local/include/opencv4/opencv2/flann/params.h
660 saving.h
661 /usr/local/include/opencv4/opencv2/flann/saving.h
662 all_indices.h
663 /usr/local/include/opencv4/opencv2/flann/all_indices.h
664
665 /usr/local/include/opencv4/opencv2/flann/general.h
666 opencv2/core.hpp
667 /usr/local/include/opencv4/opencv2/flann/opencv2/core.hpp
668
669 /usr/local/include/opencv4/opencv2/flann/ground_truth.h
670 dist.h
671 /usr/local/include/opencv4/opencv2/flann/dist.h
672 matrix.h
673 /usr/local/include/opencv4/opencv2/flann/matrix.h
674
675 /usr/local/include/opencv4/opencv2/flann/heap.h
676 algorithm
677 -
678 vector
679 -
680 unordered_map
681 -
682
683 /usr/local/include/opencv4/opencv2/flann/hierarchical_clustering_index.h
684 algorithm
685 -
686 map
687 -
688 limits
689 -
690 cmath
691 -
692 general.h
693 /usr/local/include/opencv4/opencv2/flann/general.h
694 nn_index.h
695 /usr/local/include/opencv4/opencv2/flann/nn_index.h
696 dist.h
697 /usr/local/include/opencv4/opencv2/flann/dist.h
698 matrix.h
699 /usr/local/include/opencv4/opencv2/flann/matrix.h
700 result_set.h
701 /usr/local/include/opencv4/opencv2/flann/result_set.h
702 heap.h
703 /usr/local/include/opencv4/opencv2/flann/heap.h
704 allocator.h
705 /usr/local/include/opencv4/opencv2/flann/allocator.h
706 random.h
707 /usr/local/include/opencv4/opencv2/flann/random.h
708 saving.h
709 /usr/local/include/opencv4/opencv2/flann/saving.h
710
711 /usr/local/include/opencv4/opencv2/flann/index_testing.h
712 cstring
713 -
714 cmath
715 -
716 matrix.h
717 /usr/local/include/opencv4/opencv2/flann/matrix.h
718 nn_index.h
719 /usr/local/include/opencv4/opencv2/flann/nn_index.h
720 result_set.h
721 /usr/local/include/opencv4/opencv2/flann/result_set.h
722 logger.h
723 /usr/local/include/opencv4/opencv2/flann/logger.h
724 timer.h
725 /usr/local/include/opencv4/opencv2/flann/timer.h
726
727 /usr/local/include/opencv4/opencv2/flann/kdtree_index.h
728 algorithm
729 -
730 map
731 -
732 cstring
733 -
734 nn_index.h
735 /usr/local/include/opencv4/opencv2/flann/nn_index.h
736 dynamic_bitset.h
737 /usr/local/include/opencv4/opencv2/flann/dynamic_bitset.h
738 matrix.h
739 /usr/local/include/opencv4/opencv2/flann/matrix.h
740 result_set.h
741 /usr/local/include/opencv4/opencv2/flann/result_set.h
742 heap.h
743 /usr/local/include/opencv4/opencv2/flann/heap.h
744 allocator.h
745 /usr/local/include/opencv4/opencv2/flann/allocator.h
746 random.h
747 /usr/local/include/opencv4/opencv2/flann/random.h
748 saving.h
749 /usr/local/include/opencv4/opencv2/flann/saving.h
750
751 /usr/local/include/opencv4/opencv2/flann/kdtree_single_index.h
752 algorithm
753 -
754 map
755 -
756 cstring
757 -
758 nn_index.h
759 /usr/local/include/opencv4/opencv2/flann/nn_index.h
760 matrix.h
761 /usr/local/include/opencv4/opencv2/flann/matrix.h
762 result_set.h
763 /usr/local/include/opencv4/opencv2/flann/result_set.h
764 heap.h
765 /usr/local/include/opencv4/opencv2/flann/heap.h
766 allocator.h
767 /usr/local/include/opencv4/opencv2/flann/allocator.h
768 random.h
769 /usr/local/include/opencv4/opencv2/flann/random.h
770 saving.h
771 /usr/local/include/opencv4/opencv2/flann/saving.h
772
773 /usr/local/include/opencv4/opencv2/flann/kmeans_index.h
774 algorithm
775 -
776 map
777 -
778 limits
779 -
780 cmath
781 -
782 general.h
783 /usr/local/include/opencv4/opencv2/flann/general.h
784 nn_index.h
785 /usr/local/include/opencv4/opencv2/flann/nn_index.h
786 dist.h
787 /usr/local/include/opencv4/opencv2/flann/dist.h
788 matrix.h
789 /usr/local/include/opencv4/opencv2/flann/matrix.h
790 result_set.h
791 /usr/local/include/opencv4/opencv2/flann/result_set.h
792 heap.h
793 /usr/local/include/opencv4/opencv2/flann/heap.h
794 allocator.h
795 /usr/local/include/opencv4/opencv2/flann/allocator.h
796 random.h
797 /usr/local/include/opencv4/opencv2/flann/random.h
798 saving.h
799 /usr/local/include/opencv4/opencv2/flann/saving.h
800 logger.h
801 /usr/local/include/opencv4/opencv2/flann/logger.h
802
803 /usr/local/include/opencv4/opencv2/flann/linear_index.h
804 nn_index.h
805 /usr/local/include/opencv4/opencv2/flann/nn_index.h
806
807 /usr/local/include/opencv4/opencv2/flann/logger.h
808 stdio.h
809 -
810 stdarg.h
811 -
812 defines.h
813 /usr/local/include/opencv4/opencv2/flann/defines.h
814
815 /usr/local/include/opencv4/opencv2/flann/lsh_index.h
816 algorithm
817 -
818 cstring
819 -
820 map
821 -
822 vector
823 -
824 nn_index.h
825 /usr/local/include/opencv4/opencv2/flann/nn_index.h
826 matrix.h
827 /usr/local/include/opencv4/opencv2/flann/matrix.h
828 result_set.h
829 /usr/local/include/opencv4/opencv2/flann/result_set.h
830 heap.h
831 /usr/local/include/opencv4/opencv2/flann/heap.h
832 lsh_table.h
833 /usr/local/include/opencv4/opencv2/flann/lsh_table.h
834 allocator.h
835 /usr/local/include/opencv4/opencv2/flann/allocator.h
836 random.h
837 /usr/local/include/opencv4/opencv2/flann/random.h
838 saving.h
839 /usr/local/include/opencv4/opencv2/flann/saving.h
840
841 /usr/local/include/opencv4/opencv2/flann/lsh_table.h
842 algorithm
843 -
844 iostream
845 -
846 iomanip
847 -
848 limits.h
849 -
850 unordered_map
851 -
852 map
853 -
854 math.h
855 -
856 stddef.h
857 -
858 dynamic_bitset.h
859 /usr/local/include/opencv4/opencv2/flann/dynamic_bitset.h
860 matrix.h
861 /usr/local/include/opencv4/opencv2/flann/matrix.h
862
863 /usr/local/include/opencv4/opencv2/flann/matrix.h
864 stdio.h
865 -
866
867 /usr/local/include/opencv4/opencv2/flann/miniflann.hpp
868 opencv2/core.hpp
869 /usr/local/include/opencv4/opencv2/flann/opencv2/core.hpp
870 opencv2/flann/defines.h
871 /usr/local/include/opencv4/opencv2/flann/opencv2/flann/defines.h
872
873 /usr/local/include/opencv4/opencv2/flann/nn_index.h
874 matrix.h
875 /usr/local/include/opencv4/opencv2/flann/matrix.h
876 result_set.h
877 /usr/local/include/opencv4/opencv2/flann/result_set.h
878 params.h
879 /usr/local/include/opencv4/opencv2/flann/params.h
880
881 /usr/local/include/opencv4/opencv2/flann/params.h
882 any.h
883 /usr/local/include/opencv4/opencv2/flann/any.h
884 general.h
885 /usr/local/include/opencv4/opencv2/flann/general.h
886 iostream
887 -
888 map
889 -
890
891 /usr/local/include/opencv4/opencv2/flann/random.h
892 algorithm
893 -
894 cstdlib
895 -
896 vector
897 -
898
899 /usr/local/include/opencv4/opencv2/flann/result_set.h
900 algorithm
901 -
902 cstring
903 -
904 iostream
905 -
906 limits
907 -
908 set
909 -
910 vector
911 -
912
913 /usr/local/include/opencv4/opencv2/flann/sampling.h
914 matrix.h
915 /usr/local/include/opencv4/opencv2/flann/matrix.h
916 random.h
917 /usr/local/include/opencv4/opencv2/flann/random.h
918
919 /usr/local/include/opencv4/opencv2/flann/saving.h
920 cstring
921 -
922 vector
923 -
924 general.h
925 /usr/local/include/opencv4/opencv2/flann/general.h
926 nn_index.h
927 /usr/local/include/opencv4/opencv2/flann/nn_index.h
928
929 /usr/local/include/opencv4/opencv2/flann/timer.h
930 time.h
931 -
932 opencv2/core.hpp
933 /usr/local/include/opencv4/opencv2/flann/opencv2/core.hpp
934 opencv2/core/utility.hpp
935 /usr/local/include/opencv4/opencv2/flann/opencv2/core/utility.hpp
936
937 /usr/local/include/opencv4/opencv2/highgui.hpp
938 opencv2/core.hpp
939 /usr/local/include/opencv4/opencv2/opencv2/core.hpp
940 opencv2/imgcodecs.hpp
941 /usr/local/include/opencv4/opencv2/opencv2/imgcodecs.hpp
942 opencv2/videoio.hpp
943 /usr/local/include/opencv4/opencv2/opencv2/videoio.hpp
944
945 /usr/local/include/opencv4/opencv2/imgcodecs.hpp
946 opencv2/core.hpp
947 /usr/local/include/opencv4/opencv2/opencv2/core.hpp
948
949 /usr/local/include/opencv4/opencv2/imgproc.hpp
950 opencv2/core.hpp
951 /usr/local/include/opencv4/opencv2/opencv2/core.hpp
952 ./imgproc/segmentation.hpp
953 /usr/local/include/opencv4/opencv2/./imgproc/segmentation.hpp
954
955 /usr/local/include/opencv4/opencv2/ml.hpp
956 opencv2/core.hpp
957 /usr/local/include/opencv4/opencv2/opencv2/core.hpp
958 float.h
959 -
960 map
961 -
962 iostream
963 -
964 opencv2/ml/ml.inl.hpp
965 -
966
967 /usr/local/include/opencv4/opencv2/ml/ml.inl.hpp
968
969 /usr/local/include/opencv4/opencv2/objdetect.hpp
970 opencv2/core.hpp
971 /usr/local/include/opencv4/opencv2/opencv2/core.hpp
972 opencv2/objdetect/detection_based_tracker.hpp
973 /usr/local/include/opencv4/opencv2/opencv2/objdetect/detection_based_tracker.hpp
974 opencv2/objdetect/face.hpp
975 /usr/local/include/opencv4/opencv2/opencv2/objdetect/face.hpp
976
977 /usr/local/include/opencv4/opencv2/objdetect/detection_based_tracker.hpp
978 opencv2/core.hpp
979 -
980 vector
981 -
982
983 /usr/local/include/opencv4/opencv2/objdetect/face.hpp
984 opencv2/core.hpp
985 -
986
987 /usr/local/include/opencv4/opencv2/opencv.hpp
988 opencv2/opencv_modules.hpp
989 /usr/local/include/opencv4/opencv2/opencv2/opencv_modules.hpp
990 opencv2/core.hpp
991 /usr/local/include/opencv4/opencv2/opencv2/core.hpp
992 opencv2/calib3d.hpp
993 /usr/local/include/opencv4/opencv2/opencv2/calib3d.hpp
994 opencv2/features2d.hpp
995 /usr/local/include/opencv4/opencv2/opencv2/features2d.hpp
996 opencv2/dnn.hpp
997 /usr/local/include/opencv4/opencv2/opencv2/dnn.hpp
998 opencv2/flann.hpp
999 /usr/local/include/opencv4/opencv2/opencv2/flann.hpp
1000 opencv2/highgui.hpp
1001 /usr/local/include/opencv4/opencv2/opencv2/highgui.hpp
1002 opencv2/imgcodecs.hpp
1003 /usr/local/include/opencv4/opencv2/opencv2/imgcodecs.hpp
1004 opencv2/imgproc.hpp
1005 /usr/local/include/opencv4/opencv2/opencv2/imgproc.hpp
1006 opencv2/ml.hpp
1007 /usr/local/include/opencv4/opencv2/opencv2/ml.hpp
1008 opencv2/objdetect.hpp
1009 /usr/local/include/opencv4/opencv2/opencv2/objdetect.hpp
1010 opencv2/photo.hpp
1011 /usr/local/include/opencv4/opencv2/opencv2/photo.hpp
1012 opencv2/stitching.hpp
1013 /usr/local/include/opencv4/opencv2/opencv2/stitching.hpp
1014 opencv2/video.hpp
1015 /usr/local/include/opencv4/opencv2/opencv2/video.hpp
1016 opencv2/videoio.hpp
1017 /usr/local/include/opencv4/opencv2/opencv2/videoio.hpp
1018
1019 /usr/local/include/opencv4/opencv2/opencv_modules.hpp
1020
1021 /usr/local/include/opencv4/opencv2/photo.hpp
1022 opencv2/core.hpp
1023 /usr/local/include/opencv4/opencv2/opencv2/core.hpp
1024 opencv2/imgproc.hpp
1025 /usr/local/include/opencv4/opencv2/opencv2/imgproc.hpp
1026
1027 /usr/local/include/opencv4/opencv2/stitching.hpp
1028 opencv2/core.hpp
1029 /usr/local/include/opencv4/opencv2/opencv2/core.hpp
1030 opencv2/features2d.hpp
1031 /usr/local/include/opencv4/opencv2/opencv2/features2d.hpp
1032 opencv2/stitching/warpers.hpp
1033 /usr/local/include/opencv4/opencv2/opencv2/stitching/warpers.hpp
1034 opencv2/stitching/detail/matchers.hpp
1035 /usr/local/include/opencv4/opencv2/opencv2/stitching/detail/matchers.hpp
1036 opencv2/stitching/detail/motion_estimators.hpp
1037 /usr/local/include/opencv4/opencv2/opencv2/stitching/detail/motion_estimators.hpp
1038 opencv2/stitching/detail/exposure_compensate.hpp
1039 /usr/local/include/opencv4/opencv2/opencv2/stitching/detail/exposure_compensate.hpp
1040 opencv2/stitching/detail/seam_finders.hpp
1041 /usr/local/include/opencv4/opencv2/opencv2/stitching/detail/seam_finders.hpp
1042 opencv2/stitching/detail/blenders.hpp
1043 /usr/local/include/opencv4/opencv2/opencv2/stitching/detail/blenders.hpp
1044 opencv2/stitching/detail/camera.hpp
1045 /usr/local/include/opencv4/opencv2/opencv2/stitching/detail/camera.hpp
1046
1047 /usr/local/include/opencv4/opencv2/stitching/detail/blenders.hpp
1048 opencv2/core.hpp
1049 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/core.hpp
1050 opencv2/core/cuda.hpp
1051 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/core/cuda.hpp
1052
1053 /usr/local/include/opencv4/opencv2/stitching/detail/camera.hpp
1054 opencv2/core.hpp
1055 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/core.hpp
1056
1057 /usr/local/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp
1058 opencv2/core.hpp
1059 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/core.hpp
1060
1061 /usr/local/include/opencv4/opencv2/stitching/detail/matchers.hpp
1062 opencv2/core.hpp
1063 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/core.hpp
1064 opencv2/features2d.hpp
1065 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/features2d.hpp
1066 opencv2/opencv_modules.hpp
1067 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/opencv_modules.hpp
1068
1069 /usr/local/include/opencv4/opencv2/stitching/detail/motion_estimators.hpp
1070 opencv2/core.hpp
1071 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/core.hpp
1072 matchers.hpp
1073 /usr/local/include/opencv4/opencv2/stitching/detail/matchers.hpp
1074 util.hpp
1075 /usr/local/include/opencv4/opencv2/stitching/detail/util.hpp
1076 camera.hpp
1077 /usr/local/include/opencv4/opencv2/stitching/detail/camera.hpp
1078
1079 /usr/local/include/opencv4/opencv2/stitching/detail/seam_finders.hpp
1080 set
1081 -
1082 opencv2/core.hpp
1083 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/core.hpp
1084 opencv2/opencv_modules.hpp
1085 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/opencv_modules.hpp
1086
1087 /usr/local/include/opencv4/opencv2/stitching/detail/util.hpp
1088 list
1089 -
1090 opencv2/core.hpp
1091 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/core.hpp
1092 util_inl.hpp
1093 /usr/local/include/opencv4/opencv2/stitching/detail/util_inl.hpp
1094
1095 /usr/local/include/opencv4/opencv2/stitching/detail/util_inl.hpp
1096 queue
1097 -
1098 opencv2/core.hpp
1099 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/core.hpp
1100 util.hpp
1101 /usr/local/include/opencv4/opencv2/stitching/detail/util.hpp
1102
1103 /usr/local/include/opencv4/opencv2/stitching/detail/warpers.hpp
1104 opencv2/core.hpp
1105 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/core.hpp
1106 opencv2/core/cuda.hpp
1107 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/core/cuda.hpp
1108 opencv2/imgproc.hpp
1109 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/imgproc.hpp
1110 opencv2/opencv_modules.hpp
1111 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/opencv_modules.hpp
1112 warpers_inl.hpp
1113 /usr/local/include/opencv4/opencv2/stitching/detail/warpers_inl.hpp
1114
1115 /usr/local/include/opencv4/opencv2/stitching/detail/warpers_inl.hpp
1116 opencv2/core.hpp
1117 /usr/local/include/opencv4/opencv2/stitching/detail/opencv2/core.hpp
1118 warpers.hpp
1119 /usr/local/include/opencv4/opencv2/stitching/detail/warpers.hpp
1120 limits
1121 -
1122
1123 /usr/local/include/opencv4/opencv2/stitching/warpers.hpp
1124 opencv2/stitching/detail/warpers.hpp
1125 /usr/local/include/opencv4/opencv2/stitching/opencv2/stitching/detail/warpers.hpp
1126 string
1127 -
1128
1129 /usr/local/include/opencv4/opencv2/video.hpp
1130 opencv2/video/tracking.hpp
1131 /usr/local/include/opencv4/opencv2/opencv2/video/tracking.hpp
1132 opencv2/video/background_segm.hpp
1133 /usr/local/include/opencv4/opencv2/opencv2/video/background_segm.hpp
1134
1135 /usr/local/include/opencv4/opencv2/video/background_segm.hpp
1136 opencv2/core.hpp
1137 /usr/local/include/opencv4/opencv2/video/opencv2/core.hpp
1138
1139 /usr/local/include/opencv4/opencv2/video/tracking.hpp
1140 opencv2/core.hpp
1141 /usr/local/include/opencv4/opencv2/video/opencv2/core.hpp
1142 opencv2/imgproc.hpp
1143 /usr/local/include/opencv4/opencv2/video/opencv2/imgproc.hpp
1144
1145 /usr/local/include/opencv4/opencv2/videoio.hpp
1146 opencv2/core.hpp
1147 /usr/local/include/opencv4/opencv2/opencv2/core.hpp
1148
1 # The set of languages for which implicit dependencies are needed:
2 set(CMAKE_DEPENDS_LANGUAGES
3 "CXX"
4 )
5 # The set of files for implicit dependencies of each language:
6 set(CMAKE_DEPENDS_CHECK_CXX
7 "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/main.cpp" "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/main.dir/main.cpp.o"
8 )
9 set(CMAKE_CXX_COMPILER_ID "GNU")
10
11 # The include file search paths:
12 set(CMAKE_CXX_TARGET_INCLUDE_PATH
13 "/home/situ/MNN/MNN1.0/MNN/include"
14 "../include"
15 "/usr/local/include/opencv4"
16 )
17
18 # Targets to which this target links.
19 set(CMAKE_TARGET_LINKED_INFO_FILES
20 )
21
22 # Fortran module output directory.
23 set(CMAKE_Fortran_TARGET_MODULE_DIR "")
1 # CMAKE generated file: DO NOT EDIT!
2 # Generated by "Unix Makefiles" Generator, CMake Version 3.10
3
4 # Delete rule output on recipe failure.
5 .DELETE_ON_ERROR:
6
7
8 #=============================================================================
9 # Special targets provided by cmake.
10
11 # Disable implicit rules so canonical targets will work.
12 .SUFFIXES:
13
14
15 # Remove some rules from gmake that .SUFFIXES does not remove.
16 SUFFIXES =
17
18 .SUFFIXES: .hpux_make_needs_suffix_list
19
20
21 # Suppress display of executed commands.
22 $(VERBOSE).SILENT:
23
24
25 # A target that is always out of date.
26 cmake_force:
27
28 .PHONY : cmake_force
29
30 #=============================================================================
31 # Set environment variables for the build.
32
33 # The shell in which to execute make rules.
34 SHELL = /bin/sh
35
36 # The CMake executable.
37 CMAKE_COMMAND = /usr/bin/cmake
38
39 # The command to remove a file.
40 RM = /usr/bin/cmake -E remove -f
41
42 # Escaping for special characters.
43 EQUALS = =
44
45 # The top-level source directory on which CMake was run.
46 CMAKE_SOURCE_DIR = /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn
47
48 # The top-level build directory on which CMake was run.
49 CMAKE_BINARY_DIR = /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build
50
51 # Include any dependencies generated for this target.
52 include CMakeFiles/main.dir/depend.make
53
54 # Include the progress variables for this target.
55 include CMakeFiles/main.dir/progress.make
56
57 # Include the compile flags for this target's objects.
58 include CMakeFiles/main.dir/flags.make
59
60 CMakeFiles/main.dir/main.cpp.o: CMakeFiles/main.dir/flags.make
61 CMakeFiles/main.dir/main.cpp.o: ../main.cpp
62 @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/main.dir/main.cpp.o"
63 /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/main.dir/main.cpp.o -c /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/main.cpp
64
65 CMakeFiles/main.dir/main.cpp.i: cmake_force
66 @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/main.dir/main.cpp.i"
67 /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/main.cpp > CMakeFiles/main.dir/main.cpp.i
68
69 CMakeFiles/main.dir/main.cpp.s: cmake_force
70 @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/main.dir/main.cpp.s"
71 /usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/main.cpp -o CMakeFiles/main.dir/main.cpp.s
72
73 CMakeFiles/main.dir/main.cpp.o.requires:
74
75 .PHONY : CMakeFiles/main.dir/main.cpp.o.requires
76
77 CMakeFiles/main.dir/main.cpp.o.provides: CMakeFiles/main.dir/main.cpp.o.requires
78 $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/main.cpp.o.provides.build
79 .PHONY : CMakeFiles/main.dir/main.cpp.o.provides
80
81 CMakeFiles/main.dir/main.cpp.o.provides.build: CMakeFiles/main.dir/main.cpp.o
82
83
84 # Object files for target main
85 main_OBJECTS = \
86 "CMakeFiles/main.dir/main.cpp.o"
87
88 # External object files for target main
89 main_EXTERNAL_OBJECTS =
90
91 main: CMakeFiles/main.dir/main.cpp.o
92 main: CMakeFiles/main.dir/build.make
93 main: ../lib/libfacecomparison.so
94 main: /usr/local/lib/libopencv_gapi.so.4.5.5
95 main: /usr/local/lib/libopencv_stitching.so.4.5.5
96 main: /usr/local/lib/libopencv_aruco.so.4.5.5
97 main: /usr/local/lib/libopencv_barcode.so.4.5.5
98 main: /usr/local/lib/libopencv_bgsegm.so.4.5.5
99 main: /usr/local/lib/libopencv_bioinspired.so.4.5.5
100 main: /usr/local/lib/libopencv_ccalib.so.4.5.5
101 main: /usr/local/lib/libopencv_cudabgsegm.so.4.5.5
102 main: /usr/local/lib/libopencv_cudafeatures2d.so.4.5.5
103 main: /usr/local/lib/libopencv_cudaobjdetect.so.4.5.5
104 main: /usr/local/lib/libopencv_cudastereo.so.4.5.5
105 main: /usr/local/lib/libopencv_dnn_objdetect.so.4.5.5
106 main: /usr/local/lib/libopencv_dnn_superres.so.4.5.5
107 main: /usr/local/lib/libopencv_dpm.so.4.5.5
108 main: /usr/local/lib/libopencv_face.so.4.5.5
109 main: /usr/local/lib/libopencv_freetype.so.4.5.5
110 main: /usr/local/lib/libopencv_fuzzy.so.4.5.5
111 main: /usr/local/lib/libopencv_hfs.so.4.5.5
112 main: /usr/local/lib/libopencv_img_hash.so.4.5.5
113 main: /usr/local/lib/libopencv_intensity_transform.so.4.5.5
114 main: /usr/local/lib/libopencv_line_descriptor.so.4.5.5
115 main: /usr/local/lib/libopencv_mcc.so.4.5.5
116 main: /usr/local/lib/libopencv_quality.so.4.5.5
117 main: /usr/local/lib/libopencv_rapid.so.4.5.5
118 main: /usr/local/lib/libopencv_reg.so.4.5.5
119 main: /usr/local/lib/libopencv_rgbd.so.4.5.5
120 main: /usr/local/lib/libopencv_saliency.so.4.5.5
121 main: /usr/local/lib/libopencv_stereo.so.4.5.5
122 main: /usr/local/lib/libopencv_structured_light.so.4.5.5
123 main: /usr/local/lib/libopencv_superres.so.4.5.5
124 main: /usr/local/lib/libopencv_surface_matching.so.4.5.5
125 main: /usr/local/lib/libopencv_tracking.so.4.5.5
126 main: /usr/local/lib/libopencv_videostab.so.4.5.5
127 main: /usr/local/lib/libopencv_wechat_qrcode.so.4.5.5
128 main: /usr/local/lib/libopencv_xfeatures2d.so.4.5.5
129 main: /usr/local/lib/libopencv_xobjdetect.so.4.5.5
130 main: /usr/local/lib/libopencv_xphoto.so.4.5.5
131 main: /usr/local/lib/libopencv_shape.so.4.5.5
132 main: /usr/local/lib/libopencv_highgui.so.4.5.5
133 main: /usr/local/lib/libopencv_datasets.so.4.5.5
134 main: /usr/local/lib/libopencv_plot.so.4.5.5
135 main: /usr/local/lib/libopencv_text.so.4.5.5
136 main: /usr/local/lib/libopencv_ml.so.4.5.5
137 main: /usr/local/lib/libopencv_phase_unwrapping.so.4.5.5
138 main: /usr/local/lib/libopencv_cudacodec.so.4.5.5
139 main: /usr/local/lib/libopencv_videoio.so.4.5.5
140 main: /usr/local/lib/libopencv_cudaoptflow.so.4.5.5
141 main: /usr/local/lib/libopencv_cudalegacy.so.4.5.5
142 main: /usr/local/lib/libopencv_cudawarping.so.4.5.5
143 main: /usr/local/lib/libopencv_optflow.so.4.5.5
144 main: /usr/local/lib/libopencv_ximgproc.so.4.5.5
145 main: /usr/local/lib/libopencv_video.so.4.5.5
146 main: /usr/local/lib/libopencv_imgcodecs.so.4.5.5
147 main: /usr/local/lib/libopencv_objdetect.so.4.5.5
148 main: /usr/local/lib/libopencv_calib3d.so.4.5.5
149 main: /usr/local/lib/libopencv_dnn.so.4.5.5
150 main: /usr/local/lib/libopencv_features2d.so.4.5.5
151 main: /usr/local/lib/libopencv_flann.so.4.5.5
152 main: /usr/local/lib/libopencv_photo.so.4.5.5
153 main: /usr/local/lib/libopencv_cudaimgproc.so.4.5.5
154 main: /usr/local/lib/libopencv_cudafilters.so.4.5.5
155 main: /usr/local/lib/libopencv_imgproc.so.4.5.5
156 main: /usr/local/lib/libopencv_cudaarithm.so.4.5.5
157 main: /usr/local/lib/libopencv_core.so.4.5.5
158 main: /usr/local/lib/libopencv_cudev.so.4.5.5
159 main: CMakeFiles/main.dir/link.txt
160 @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking CXX executable main"
161 $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/main.dir/link.txt --verbose=$(VERBOSE)
162
163 # Rule to build all files generated by this target.
164 CMakeFiles/main.dir/build: main
165
166 .PHONY : CMakeFiles/main.dir/build
167
168 CMakeFiles/main.dir/requires: CMakeFiles/main.dir/main.cpp.o.requires
169
170 .PHONY : CMakeFiles/main.dir/requires
171
172 CMakeFiles/main.dir/clean:
173 $(CMAKE_COMMAND) -P CMakeFiles/main.dir/cmake_clean.cmake
174 .PHONY : CMakeFiles/main.dir/clean
175
176 CMakeFiles/main.dir/depend:
177 cd /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/main.dir/DependInfo.cmake --color=$(COLOR)
178 .PHONY : CMakeFiles/main.dir/depend
179
1 file(REMOVE_RECURSE
2 "CMakeFiles/main.dir/main.cpp.o"
3 "main.pdb"
4 "main"
5 )
6
7 # Per-language clean rules from dependency scanning.
8 foreach(lang CXX)
9 include(CMakeFiles/main.dir/cmake_clean_${lang}.cmake OPTIONAL)
10 endforeach()
1 # CMAKE generated file: DO NOT EDIT!
2 # Generated by "Unix Makefiles" Generator, CMake Version 3.10
3
4 CMakeFiles/main.dir/main.cpp.o
5 ../include/facecomparison.h
6 ../include/facelandmarks.h
7 ../include/facerecognize.h
8 ../include/retinaface.h
9 /home/situ/MNN/MNN1.0/MNN/include/MNN/ErrorCode.hpp
10 /home/situ/MNN/MNN1.0/MNN/include/MNN/HalideRuntime.h
11 /home/situ/MNN/MNN1.0/MNN/include/MNN/ImageProcess.hpp
12 /home/situ/MNN/MNN1.0/MNN/include/MNN/Interpreter.hpp
13 /home/situ/MNN/MNN1.0/MNN/include/MNN/MNNDefine.h
14 /home/situ/MNN/MNN1.0/MNN/include/MNN/MNNForwardType.h
15 /home/situ/MNN/MNN1.0/MNN/include/MNN/Matrix.h
16 /home/situ/MNN/MNN1.0/MNN/include/MNN/Rect.h
17 /home/situ/MNN/MNN1.0/MNN/include/MNN/Tensor.hpp
18 /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/main.cpp
19 /usr/local/include/opencv4/opencv2/./imgproc/segmentation.hpp
20 /usr/local/include/opencv4/opencv2/calib3d.hpp
21 /usr/local/include/opencv4/opencv2/core.hpp
22 /usr/local/include/opencv4/opencv2/core/affine.hpp
23 /usr/local/include/opencv4/opencv2/core/async.hpp
24 /usr/local/include/opencv4/opencv2/core/base.hpp
25 /usr/local/include/opencv4/opencv2/core/bufferpool.hpp
26 /usr/local/include/opencv4/opencv2/core/check.hpp
27 /usr/local/include/opencv4/opencv2/core/cuda.hpp
28 /usr/local/include/opencv4/opencv2/core/cuda.inl.hpp
29 /usr/local/include/opencv4/opencv2/core/cuda_types.hpp
30 /usr/local/include/opencv4/opencv2/core/cv_cpu_dispatch.h
31 /usr/local/include/opencv4/opencv2/core/cv_cpu_helper.h
32 /usr/local/include/opencv4/opencv2/core/cvdef.h
33 /usr/local/include/opencv4/opencv2/core/cvstd.hpp
34 /usr/local/include/opencv4/opencv2/core/cvstd.inl.hpp
35 /usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp
36 /usr/local/include/opencv4/opencv2/core/fast_math.hpp
37 /usr/local/include/opencv4/opencv2/core/hal/interface.h
38 /usr/local/include/opencv4/opencv2/core/hal/msa_macros.h
39 /usr/local/include/opencv4/opencv2/core/mat.hpp
40 /usr/local/include/opencv4/opencv2/core/mat.inl.hpp
41 /usr/local/include/opencv4/opencv2/core/matx.hpp
42 /usr/local/include/opencv4/opencv2/core/neon_utils.hpp
43 /usr/local/include/opencv4/opencv2/core/operations.hpp
44 /usr/local/include/opencv4/opencv2/core/optim.hpp
45 /usr/local/include/opencv4/opencv2/core/ovx.hpp
46 /usr/local/include/opencv4/opencv2/core/persistence.hpp
47 /usr/local/include/opencv4/opencv2/core/saturate.hpp
48 /usr/local/include/opencv4/opencv2/core/traits.hpp
49 /usr/local/include/opencv4/opencv2/core/types.hpp
50 /usr/local/include/opencv4/opencv2/core/utility.hpp
51 /usr/local/include/opencv4/opencv2/core/utils/instrumentation.hpp
52 /usr/local/include/opencv4/opencv2/core/utils/tls.hpp
53 /usr/local/include/opencv4/opencv2/core/version.hpp
54 /usr/local/include/opencv4/opencv2/core/vsx_utils.hpp
55 /usr/local/include/opencv4/opencv2/dnn.hpp
56 /usr/local/include/opencv4/opencv2/dnn/dict.hpp
57 /usr/local/include/opencv4/opencv2/dnn/dnn.hpp
58 /usr/local/include/opencv4/opencv2/dnn/dnn.inl.hpp
59 /usr/local/include/opencv4/opencv2/dnn/layer.hpp
60 /usr/local/include/opencv4/opencv2/dnn/utils/inference_engine.hpp
61 /usr/local/include/opencv4/opencv2/dnn/version.hpp
62 /usr/local/include/opencv4/opencv2/features2d.hpp
63 /usr/local/include/opencv4/opencv2/flann.hpp
64 /usr/local/include/opencv4/opencv2/flann/all_indices.h
65 /usr/local/include/opencv4/opencv2/flann/allocator.h
66 /usr/local/include/opencv4/opencv2/flann/any.h
67 /usr/local/include/opencv4/opencv2/flann/autotuned_index.h
68 /usr/local/include/opencv4/opencv2/flann/composite_index.h
69 /usr/local/include/opencv4/opencv2/flann/config.h
70 /usr/local/include/opencv4/opencv2/flann/defines.h
71 /usr/local/include/opencv4/opencv2/flann/dist.h
72 /usr/local/include/opencv4/opencv2/flann/dynamic_bitset.h
73 /usr/local/include/opencv4/opencv2/flann/flann_base.hpp
74 /usr/local/include/opencv4/opencv2/flann/general.h
75 /usr/local/include/opencv4/opencv2/flann/ground_truth.h
76 /usr/local/include/opencv4/opencv2/flann/heap.h
77 /usr/local/include/opencv4/opencv2/flann/hierarchical_clustering_index.h
78 /usr/local/include/opencv4/opencv2/flann/index_testing.h
79 /usr/local/include/opencv4/opencv2/flann/kdtree_index.h
80 /usr/local/include/opencv4/opencv2/flann/kdtree_single_index.h
81 /usr/local/include/opencv4/opencv2/flann/kmeans_index.h
82 /usr/local/include/opencv4/opencv2/flann/linear_index.h
83 /usr/local/include/opencv4/opencv2/flann/logger.h
84 /usr/local/include/opencv4/opencv2/flann/lsh_index.h
85 /usr/local/include/opencv4/opencv2/flann/lsh_table.h
86 /usr/local/include/opencv4/opencv2/flann/matrix.h
87 /usr/local/include/opencv4/opencv2/flann/miniflann.hpp
88 /usr/local/include/opencv4/opencv2/flann/nn_index.h
89 /usr/local/include/opencv4/opencv2/flann/params.h
90 /usr/local/include/opencv4/opencv2/flann/random.h
91 /usr/local/include/opencv4/opencv2/flann/result_set.h
92 /usr/local/include/opencv4/opencv2/flann/sampling.h
93 /usr/local/include/opencv4/opencv2/flann/saving.h
94 /usr/local/include/opencv4/opencv2/flann/timer.h
95 /usr/local/include/opencv4/opencv2/highgui.hpp
96 /usr/local/include/opencv4/opencv2/imgcodecs.hpp
97 /usr/local/include/opencv4/opencv2/imgproc.hpp
98 /usr/local/include/opencv4/opencv2/ml.hpp
99 /usr/local/include/opencv4/opencv2/ml/ml.inl.hpp
100 /usr/local/include/opencv4/opencv2/objdetect.hpp
101 /usr/local/include/opencv4/opencv2/objdetect/detection_based_tracker.hpp
102 /usr/local/include/opencv4/opencv2/objdetect/face.hpp
103 /usr/local/include/opencv4/opencv2/opencv.hpp
104 /usr/local/include/opencv4/opencv2/opencv_modules.hpp
105 /usr/local/include/opencv4/opencv2/photo.hpp
106 /usr/local/include/opencv4/opencv2/stitching.hpp
107 /usr/local/include/opencv4/opencv2/stitching/detail/blenders.hpp
108 /usr/local/include/opencv4/opencv2/stitching/detail/camera.hpp
109 /usr/local/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp
110 /usr/local/include/opencv4/opencv2/stitching/detail/matchers.hpp
111 /usr/local/include/opencv4/opencv2/stitching/detail/motion_estimators.hpp
112 /usr/local/include/opencv4/opencv2/stitching/detail/seam_finders.hpp
113 /usr/local/include/opencv4/opencv2/stitching/detail/util.hpp
114 /usr/local/include/opencv4/opencv2/stitching/detail/util_inl.hpp
115 /usr/local/include/opencv4/opencv2/stitching/detail/warpers.hpp
116 /usr/local/include/opencv4/opencv2/stitching/detail/warpers_inl.hpp
117 /usr/local/include/opencv4/opencv2/stitching/warpers.hpp
118 /usr/local/include/opencv4/opencv2/video.hpp
119 /usr/local/include/opencv4/opencv2/video/background_segm.hpp
120 /usr/local/include/opencv4/opencv2/video/tracking.hpp
121 /usr/local/include/opencv4/opencv2/videoio.hpp
1 # CMAKE generated file: DO NOT EDIT!
2 # Generated by "Unix Makefiles" Generator, CMake Version 3.10
3
4 CMakeFiles/main.dir/main.cpp.o: ../include/facecomparison.h
5 CMakeFiles/main.dir/main.cpp.o: ../include/facelandmarks.h
6 CMakeFiles/main.dir/main.cpp.o: ../include/facerecognize.h
7 CMakeFiles/main.dir/main.cpp.o: ../include/retinaface.h
8 CMakeFiles/main.dir/main.cpp.o: /home/situ/MNN/MNN1.0/MNN/include/MNN/ErrorCode.hpp
9 CMakeFiles/main.dir/main.cpp.o: /home/situ/MNN/MNN1.0/MNN/include/MNN/HalideRuntime.h
10 CMakeFiles/main.dir/main.cpp.o: /home/situ/MNN/MNN1.0/MNN/include/MNN/ImageProcess.hpp
11 CMakeFiles/main.dir/main.cpp.o: /home/situ/MNN/MNN1.0/MNN/include/MNN/Interpreter.hpp
12 CMakeFiles/main.dir/main.cpp.o: /home/situ/MNN/MNN1.0/MNN/include/MNN/MNNDefine.h
13 CMakeFiles/main.dir/main.cpp.o: /home/situ/MNN/MNN1.0/MNN/include/MNN/MNNForwardType.h
14 CMakeFiles/main.dir/main.cpp.o: /home/situ/MNN/MNN1.0/MNN/include/MNN/Matrix.h
15 CMakeFiles/main.dir/main.cpp.o: /home/situ/MNN/MNN1.0/MNN/include/MNN/Rect.h
16 CMakeFiles/main.dir/main.cpp.o: /home/situ/MNN/MNN1.0/MNN/include/MNN/Tensor.hpp
17 CMakeFiles/main.dir/main.cpp.o: ../main.cpp
18 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/./imgproc/segmentation.hpp
19 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/calib3d.hpp
20 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core.hpp
21 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/affine.hpp
22 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/async.hpp
23 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/base.hpp
24 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/bufferpool.hpp
25 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/check.hpp
26 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/cuda.hpp
27 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/cuda.inl.hpp
28 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/cuda_types.hpp
29 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/cv_cpu_dispatch.h
30 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/cv_cpu_helper.h
31 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/cvdef.h
32 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/cvstd.hpp
33 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/cvstd.inl.hpp
34 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/cvstd_wrapper.hpp
35 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/fast_math.hpp
36 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/hal/interface.h
37 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/hal/msa_macros.h
38 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/mat.hpp
39 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/mat.inl.hpp
40 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/matx.hpp
41 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/neon_utils.hpp
42 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/operations.hpp
43 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/optim.hpp
44 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/ovx.hpp
45 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/persistence.hpp
46 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/saturate.hpp
47 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/traits.hpp
48 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/types.hpp
49 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/utility.hpp
50 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/utils/instrumentation.hpp
51 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/utils/tls.hpp
52 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/version.hpp
53 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/core/vsx_utils.hpp
54 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/dnn.hpp
55 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/dnn/dict.hpp
56 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/dnn/dnn.hpp
57 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/dnn/dnn.inl.hpp
58 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/dnn/layer.hpp
59 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/dnn/utils/inference_engine.hpp
60 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/dnn/version.hpp
61 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/features2d.hpp
62 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann.hpp
63 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/all_indices.h
64 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/allocator.h
65 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/any.h
66 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/autotuned_index.h
67 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/composite_index.h
68 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/config.h
69 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/defines.h
70 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/dist.h
71 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/dynamic_bitset.h
72 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/flann_base.hpp
73 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/general.h
74 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/ground_truth.h
75 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/heap.h
76 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/hierarchical_clustering_index.h
77 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/index_testing.h
78 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/kdtree_index.h
79 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/kdtree_single_index.h
80 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/kmeans_index.h
81 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/linear_index.h
82 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/logger.h
83 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/lsh_index.h
84 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/lsh_table.h
85 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/matrix.h
86 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/miniflann.hpp
87 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/nn_index.h
88 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/params.h
89 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/random.h
90 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/result_set.h
91 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/sampling.h
92 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/saving.h
93 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/flann/timer.h
94 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/highgui.hpp
95 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/imgcodecs.hpp
96 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/imgproc.hpp
97 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/ml.hpp
98 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/ml/ml.inl.hpp
99 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/objdetect.hpp
100 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/objdetect/detection_based_tracker.hpp
101 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/objdetect/face.hpp
102 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/opencv.hpp
103 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/opencv_modules.hpp
104 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/photo.hpp
105 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/stitching.hpp
106 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/stitching/detail/blenders.hpp
107 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/stitching/detail/camera.hpp
108 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/stitching/detail/exposure_compensate.hpp
109 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/stitching/detail/matchers.hpp
110 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/stitching/detail/motion_estimators.hpp
111 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/stitching/detail/seam_finders.hpp
112 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/stitching/detail/util.hpp
113 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/stitching/detail/util_inl.hpp
114 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/stitching/detail/warpers.hpp
115 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/stitching/detail/warpers_inl.hpp
116 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/stitching/warpers.hpp
117 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/video.hpp
118 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/video/background_segm.hpp
119 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/video/tracking.hpp
120 CMakeFiles/main.dir/main.cpp.o: /usr/local/include/opencv4/opencv2/videoio.hpp
121
1 # CMAKE generated file: DO NOT EDIT!
2 # Generated by "Unix Makefiles" Generator, CMake Version 3.10
3
4 # compile CXX with /usr/bin/c++
5 CXX_FLAGS = -std=gnu++11
6
7 CXX_DEFINES =
8
9 CXX_INCLUDES = -I/home/situ/MNN/MNN1.0/MNN/include -I/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/include -isystem /usr/local/include/opencv4
10
1 /usr/bin/c++ CMakeFiles/main.dir/main.cpp.o -o main -L/usr/local/cuda-10.1/lib64 -L/home/situ/MNN/MNN1.0/MNN/build -Wl,-rpath,/usr/local/cuda-10.1/lib64:/home/situ/MNN/MNN1.0/MNN/build:/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/lib:/usr/local/lib ../lib/libfacecomparison.so -lMNN /usr/local/lib/libopencv_gapi.so.4.5.5 /usr/local/lib/libopencv_stitching.so.4.5.5 /usr/local/lib/libopencv_aruco.so.4.5.5 /usr/local/lib/libopencv_barcode.so.4.5.5 /usr/local/lib/libopencv_bgsegm.so.4.5.5 /usr/local/lib/libopencv_bioinspired.so.4.5.5 /usr/local/lib/libopencv_ccalib.so.4.5.5 /usr/local/lib/libopencv_cudabgsegm.so.4.5.5 /usr/local/lib/libopencv_cudafeatures2d.so.4.5.5 /usr/local/lib/libopencv_cudaobjdetect.so.4.5.5 /usr/local/lib/libopencv_cudastereo.so.4.5.5 /usr/local/lib/libopencv_dnn_objdetect.so.4.5.5 /usr/local/lib/libopencv_dnn_superres.so.4.5.5 /usr/local/lib/libopencv_dpm.so.4.5.5 /usr/local/lib/libopencv_face.so.4.5.5 /usr/local/lib/libopencv_freetype.so.4.5.5 /usr/local/lib/libopencv_fuzzy.so.4.5.5 /usr/local/lib/libopencv_hfs.so.4.5.5 /usr/local/lib/libopencv_img_hash.so.4.5.5 /usr/local/lib/libopencv_intensity_transform.so.4.5.5 /usr/local/lib/libopencv_line_descriptor.so.4.5.5 /usr/local/lib/libopencv_mcc.so.4.5.5 /usr/local/lib/libopencv_quality.so.4.5.5 /usr/local/lib/libopencv_rapid.so.4.5.5 /usr/local/lib/libopencv_reg.so.4.5.5 /usr/local/lib/libopencv_rgbd.so.4.5.5 /usr/local/lib/libopencv_saliency.so.4.5.5 /usr/local/lib/libopencv_stereo.so.4.5.5 /usr/local/lib/libopencv_structured_light.so.4.5.5 /usr/local/lib/libopencv_superres.so.4.5.5 /usr/local/lib/libopencv_surface_matching.so.4.5.5 /usr/local/lib/libopencv_tracking.so.4.5.5 /usr/local/lib/libopencv_videostab.so.4.5.5 /usr/local/lib/libopencv_wechat_qrcode.so.4.5.5 /usr/local/lib/libopencv_xfeatures2d.so.4.5.5 /usr/local/lib/libopencv_xobjdetect.so.4.5.5 /usr/local/lib/libopencv_xphoto.so.4.5.5 /usr/local/lib/libopencv_shape.so.4.5.5 /usr/local/lib/libopencv_highgui.so.4.5.5 /usr/local/lib/libopencv_datasets.so.4.5.5 /usr/local/lib/libopencv_plot.so.4.5.5 /usr/local/lib/libopencv_text.so.4.5.5 /usr/local/lib/libopencv_ml.so.4.5.5 /usr/local/lib/libopencv_phase_unwrapping.so.4.5.5 /usr/local/lib/libopencv_cudacodec.so.4.5.5 /usr/local/lib/libopencv_videoio.so.4.5.5 /usr/local/lib/libopencv_cudaoptflow.so.4.5.5 /usr/local/lib/libopencv_cudalegacy.so.4.5.5 /usr/local/lib/libopencv_cudawarping.so.4.5.5 /usr/local/lib/libopencv_optflow.so.4.5.5 /usr/local/lib/libopencv_ximgproc.so.4.5.5 /usr/local/lib/libopencv_video.so.4.5.5 /usr/local/lib/libopencv_imgcodecs.so.4.5.5 /usr/local/lib/libopencv_objdetect.so.4.5.5 /usr/local/lib/libopencv_calib3d.so.4.5.5 /usr/local/lib/libopencv_dnn.so.4.5.5 /usr/local/lib/libopencv_features2d.so.4.5.5 /usr/local/lib/libopencv_flann.so.4.5.5 /usr/local/lib/libopencv_photo.so.4.5.5 /usr/local/lib/libopencv_cudaimgproc.so.4.5.5 /usr/local/lib/libopencv_cudafilters.so.4.5.5 /usr/local/lib/libopencv_imgproc.so.4.5.5 /usr/local/lib/libopencv_cudaarithm.so.4.5.5 /usr/local/lib/libopencv_core.so.4.5.5 /usr/local/lib/libopencv_cudev.so.4.5.5
No preview for this file type
1 CMAKE_PROGRESS_1 = 1
2 CMAKE_PROGRESS_2 = 2
3
1 # CMAKE generated file: DO NOT EDIT!
2 # Generated by "Unix Makefiles" Generator, CMake Version 3.10
3
4 # Default target executed when no arguments are given to make.
5 default_target: all
6
7 .PHONY : default_target
8
9 # Allow only one "make -f Makefile2" at a time, but pass parallelism.
10 .NOTPARALLEL:
11
12
13 #=============================================================================
14 # Special targets provided by cmake.
15
16 # Disable implicit rules so canonical targets will work.
17 .SUFFIXES:
18
19
20 # Remove some rules from gmake that .SUFFIXES does not remove.
21 SUFFIXES =
22
23 .SUFFIXES: .hpux_make_needs_suffix_list
24
25
26 # Suppress display of executed commands.
27 $(VERBOSE).SILENT:
28
29
30 # A target that is always out of date.
31 cmake_force:
32
33 .PHONY : cmake_force
34
35 #=============================================================================
36 # Set environment variables for the build.
37
38 # The shell in which to execute make rules.
39 SHELL = /bin/sh
40
41 # The CMake executable.
42 CMAKE_COMMAND = /usr/bin/cmake
43
44 # The command to remove a file.
45 RM = /usr/bin/cmake -E remove -f
46
47 # Escaping for special characters.
48 EQUALS = =
49
50 # The top-level source directory on which CMake was run.
51 CMAKE_SOURCE_DIR = /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn
52
53 # The top-level build directory on which CMake was run.
54 CMAKE_BINARY_DIR = /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build
55
56 #=============================================================================
57 # Targets provided globally by CMake.
58
59 # Special rule for the target rebuild_cache
60 rebuild_cache:
61 @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
62 /usr/bin/cmake -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
63 .PHONY : rebuild_cache
64
65 # Special rule for the target rebuild_cache
66 rebuild_cache/fast: rebuild_cache
67
68 .PHONY : rebuild_cache/fast
69
70 # Special rule for the target edit_cache
71 edit_cache:
72 @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake cache editor..."
73 /usr/bin/cmake-gui -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
74 .PHONY : edit_cache
75
76 # Special rule for the target edit_cache
77 edit_cache/fast: edit_cache
78
79 .PHONY : edit_cache/fast
80
81 # The main all target
82 all: cmake_check_build_system
83 $(CMAKE_COMMAND) -E cmake_progress_start /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles/progress.marks
84 $(MAKE) -f CMakeFiles/Makefile2 all
85 $(CMAKE_COMMAND) -E cmake_progress_start /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/CMakeFiles 0
86 .PHONY : all
87
88 # The main clean target
89 clean:
90 $(MAKE) -f CMakeFiles/Makefile2 clean
91 .PHONY : clean
92
93 # The main clean target
94 clean/fast: clean
95
96 .PHONY : clean/fast
97
98 # Prepare targets for installation.
99 preinstall: all
100 $(MAKE) -f CMakeFiles/Makefile2 preinstall
101 .PHONY : preinstall
102
103 # Prepare targets for installation.
104 preinstall/fast:
105 $(MAKE) -f CMakeFiles/Makefile2 preinstall
106 .PHONY : preinstall/fast
107
108 # clear depends
109 depend:
110 $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
111 .PHONY : depend
112
113 #=============================================================================
114 # Target rules for targets named main
115
116 # Build rule for target.
117 main: cmake_check_build_system
118 $(MAKE) -f CMakeFiles/Makefile2 main
119 .PHONY : main
120
121 # fast build rule for target.
122 main/fast:
123 $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/build
124 .PHONY : main/fast
125
126 main.o: main.cpp.o
127
128 .PHONY : main.o
129
130 # target to build an object file
131 main.cpp.o:
132 $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/main.cpp.o
133 .PHONY : main.cpp.o
134
135 main.i: main.cpp.i
136
137 .PHONY : main.i
138
139 # target to preprocess a source file
140 main.cpp.i:
141 $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/main.cpp.i
142 .PHONY : main.cpp.i
143
144 main.s: main.cpp.s
145
146 .PHONY : main.s
147
148 # target to generate assembly for a file
149 main.cpp.s:
150 $(MAKE) -f CMakeFiles/main.dir/build.make CMakeFiles/main.dir/main.cpp.s
151 .PHONY : main.cpp.s
152
153 # Help Target
154 help:
155 @echo "The following are some of the valid targets for this Makefile:"
156 @echo "... all (the default if no target is provided)"
157 @echo "... clean"
158 @echo "... depend"
159 @echo "... rebuild_cache"
160 @echo "... main"
161 @echo "... edit_cache"
162 @echo "... main.o"
163 @echo "... main.i"
164 @echo "... main.s"
165 .PHONY : help
166
167
168
169 #=============================================================================
170 # Special targets to cleanup operation of make.
171
172 # Special rule to run CMake to check the build system integrity.
173 # No rule that depends on this can have commands that come from listfiles
174 # because they might be regenerated.
175 cmake_check_build_system:
176 $(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
177 .PHONY : cmake_check_build_system
178
1 # Install script for directory: /home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn
2
3 # Set the install prefix
4 if(NOT DEFINED CMAKE_INSTALL_PREFIX)
5 set(CMAKE_INSTALL_PREFIX "/usr/local")
6 endif()
7 string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
8
9 # Set the install configuration name.
10 if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
11 if(BUILD_TYPE)
12 string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
13 CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
14 else()
15 set(CMAKE_INSTALL_CONFIG_NAME "")
16 endif()
17 message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
18 endif()
19
20 # Set the component getting installed.
21 if(NOT CMAKE_INSTALL_COMPONENT)
22 if(COMPONENT)
23 message(STATUS "Install component: \"${COMPONENT}\"")
24 set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
25 else()
26 set(CMAKE_INSTALL_COMPONENT)
27 endif()
28 endif()
29
30 # Install shared libraries without execute permission?
31 if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
32 set(CMAKE_INSTALL_SO_NO_EXE "1")
33 endif()
34
35 # Is this installation the result of a crosscompile?
36 if(NOT DEFINED CMAKE_CROSSCOMPILING)
37 set(CMAKE_CROSSCOMPILING "FALSE")
38 endif()
39
40 if(CMAKE_INSTALL_COMPONENT)
41 set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
42 else()
43 set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
44 endif()
45
46 string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
47 "${CMAKE_INSTALL_MANIFEST_FILES}")
48 file(WRITE "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/build/${CMAKE_INSTALL_MANIFEST}"
49 "${CMAKE_INSTALL_MANIFEST_CONTENT}")
No preview for this file type
1 #include "faceLandmarks.h"
2
3
4 vector<vector<float>> FaceLandmarks::detect_landmarks(std::string image_path){
5
6 Mat input_data_=cv::imread(image_path);
7 float w_r=float(input_data_.cols)/112.0f;
8 float h_r=float(input_data_.rows)/112.0f;
9
10 Mat input_data;
11 cv::resize(input_data_,input_data,Size2d(112,112));
12 input_data.convertTo(input_data, CV_32F);
13 input_data = input_data /256.0f;
14 std::vector<std::vector<cv::Mat>> nChannels;
15 std::vector<cv::Mat> rgbChannels(3);
16 cv::split(input_data, rgbChannels);
17 nChannels.push_back(rgbChannels); // NHWC 转NCHW
18 auto *pvData = malloc(1 * 3 * 112 * 112 *sizeof(float));
19 int nPlaneSize = 112 * 112;
20 for (int c = 0; c < 3; ++c)
21 {
22 cv::Mat matPlane = nChannels[0][c];
23 memcpy((float *)(pvData) + c * nPlaneSize,\
24 matPlane.data, nPlaneSize * sizeof(float));
25 }
26 auto inTensor = net->getSessionInput(session, NULL);
27 net->resizeTensor(inTensor, {1, 3, 112,112});
28 net->resizeSession(session);
29 auto nchwTensor = new Tensor(inTensor, Tensor::CAFFE);
30 ::memcpy(nchwTensor->host<float>(), pvData, nPlaneSize * 3 * sizeof(float));
31 inTensor->copyFromHostTensor(nchwTensor);
32 // //推理
33 net->runSession(session);
34 auto output= net->getSessionOutput(session, NULL);
35
36 MNN::Tensor feat_tensor(output, output->getDimensionType());
37 output->copyToHostTensor(&feat_tensor);
38
39 vector<vector<float>> landmarks;
40 for(int idx =0;idx<106;++idx){
41 float x_= *(feat_tensor.host<float>()+2*idx)*w_r;
42 float y_= *(feat_tensor.host<float>()+2*idx+1)*h_r;
43 vector<float> tmp={x_,y_};
44 landmarks.push_back(tmp);
45 }
46 return landmarks;
47 }
48
49 vector<vector<float>> FaceLandmarks::detect_image_landmarks(Mat image){
50
51 Mat input_data_=image;
52 float w_r=float(input_data_.cols)/112.0f;
53 float h_r=float(input_data_.rows)/112.0f;
54
55 Mat input_data;
56 cv::resize(input_data_,input_data,Size2d(112,112));
57 input_data.convertTo(input_data, CV_32F);
58 input_data = input_data /256.0f;
59 std::vector<std::vector<cv::Mat>> nChannels;
60 std::vector<cv::Mat> rgbChannels(3);
61 cv::split(input_data, rgbChannels);
62 nChannels.push_back(rgbChannels); // NHWC 转NCHW
63 auto *pvData = malloc(1 * 3 * 112 * 112 *sizeof(float));
64 int nPlaneSize = 112 * 112;
65 for (int c = 0; c < 3; ++c)
66 {
67 cv::Mat matPlane = nChannels[0][c];
68 memcpy((float *)(pvData) + c * nPlaneSize,\
69 matPlane.data, nPlaneSize * sizeof(float));
70 }
71 auto inTensor = net->getSessionInput(session, NULL);
72 net->resizeTensor(inTensor, {1, 3, 112,112});
73 net->resizeSession(session);
74 auto nchwTensor = new Tensor(inTensor, Tensor::CAFFE);
75 ::memcpy(nchwTensor->host<float>(), pvData, nPlaneSize * 3 * sizeof(float));
76 inTensor->copyFromHostTensor(nchwTensor);
77 // //推理
78 net->runSession(session);
79 auto output= net->getSessionOutput(session, NULL);
80
81 MNN::Tensor feat_tensor(output, output->getDimensionType());
82 output->copyToHostTensor(&feat_tensor);
83
84 vector<vector<float>> landmarks;
85 for(int idx =0;idx<106;++idx){
86 float x_= *(feat_tensor.host<float>()+2*idx)*w_r;
87 float y_= *(feat_tensor.host<float>()+2*idx+1)*h_r;
88 vector<float> tmp={x_,y_};
89 landmarks.push_back(tmp);
90 }
91 return landmarks;
92 }
...\ No newline at end of file ...\ No newline at end of file
1 #include "facecomparison.h"
2
3
4 bool FaceComparison::face_compare(string image1_path,string image2_path){
5 bool result=false;
6 cv::Mat image1=cv::imread(image1_path);
7 cv::Mat image2=cv::imread(image2_path);
8 if(image1.empty()||image2.empty()){
9 return false;
10 }
11 vector<Bbox> box1=face_det.detect_image(image1);
12 vector<Bbox> box2=face_det.detect_image(image2);
13 if(box1.empty()||box2.empty()){
14 return false;
15 }
16 int max_box1=0;
17 double max_area1=0,max_area2=0;
18 for(int i=0;i<box1.size();++i){
19 double tmp_area1=(box1[i].ymax-box1[i].ymin)*(box1[i].xmax-box1[i].xmin);
20 if(tmp_area1>max_area1){
21 max_box1=i;
22 max_area1=tmp_area1;
23 }
24 }
25 Rect rect1=Rect(box1[max_box1].xmin,box1[max_box1].ymin,box1[max_box1].xmax-box1[max_box1].xmin,box1[max_box1].ymax-box1[max_box1].ymin);
26 Mat face_area1=image1(rect1);
27 vector<vector<float>> landms1=face_landm.detect_landmarks_image(face_area1);
28 vector<vector<float>> land1={
29 {float(landms1[104][0]),float(landms1[104][1])},
30 {float(landms1[105][0]),float(landms1[105][1])},
31 {float(landms1[46][0]),float(landms1[46][1])},
32 {float(landms1[84][0]),float(landms1[84][1])},
33 {float(landms1[90][0]),float(landms1[90][1])}
34 };
35 Mat align_resize_image1=face_rec.preprocess_face(face_area1,land1);
36 for(int j=0;j<box2.size();++j){
37 Rect rect2=Rect(box2[j].xmin,box2[j].ymin,box2[j].xmax-box2[j].xmin,box2[j].ymax-box2[j].ymin);
38 Mat face_area2=image2(rect2);
39 vector<vector<float>> landms2=face_landm.detect_landmarks_image(face_area2);
40 vector<vector<float>> land2={
41 {float(landms2[104][0]),float(landms2[104][1])},
42 {float(landms2[105][0]),float(landms2[105][1])},
43 {float(landms2[46][0]),float(landms2[46][1])},
44 {float(landms2[84][0]),float(landms2[84][1])},
45 {float(landms2[90][0]),float(landms2[90][1])}
46 };
47 Mat align_resize_image2=face_rec.preprocess_face(face_area2,land2);
48 double samilar_score=face_rec.get_samilar_image(align_resize_image1,align_resize_image2);
49 if(samilar_score>face_recongnize_thr){
50 result=true;
51 }
52 }
53 return result;
54 }
55
56 bool FaceComparison::face_compare_image(Mat image1,Mat image2){
57 bool result=false;
58 vector<Bbox> box1=face_det.detect_image(image1);
59 vector<Bbox> box2=face_det.detect_image(image2);
60 if(box1.empty()||box2.empty()){
61 return false;
62 }
63 int max_box1=0;
64 double max_area1=0,max_area2=0;
65 for(int i=0;i<box1.size();++i){
66 double tmp_area1=(box1[i].ymax-box1[i].ymin)*(box1[i].xmax-box1[i].xmin);
67 if(tmp_area1>max_area1){
68 max_box1=i;
69 max_area1=tmp_area1;
70 }
71 }
72 Rect rect1=Rect(box1[max_box1].xmin,box1[max_box1].ymin,box1[max_box1].xmax-box1[max_box1].xmin,box1[max_box1].ymax-box1[max_box1].ymin);
73 Mat face_area1=image1(rect1);
74 vector<vector<float>> landms1=face_landm.detect_landmarks_image(face_area1);
75 vector<vector<float>> land1={
76 {float(landms1[104][0]),float(landms1[104][1])},
77 {float(landms1[105][0]),float(landms1[105][1])},
78 {float(landms1[46][0]),float(landms1[46][1])},
79 {float(landms1[84][0]),float(landms1[84][1])},
80 {float(landms1[90][0]),float(landms1[90][1])}
81 };
82 Mat align_resize_image1=face_rec.preprocess_face(face_area1,land1);
83 for(int j=0;j<box2.size();++j){
84 Rect rect2=Rect(box2[j].xmin,box2[j].ymin,box2[j].xmax-box2[j].xmin,box2[j].ymax-box2[j].ymin);
85 Mat face_area2=image2(rect2);
86 vector<vector<float>> landms2=face_landm.detect_landmarks_image(face_area2);
87 vector<vector<float>> land2={
88 {float(landms2[104][0]),float(landms2[104][1])},
89 {float(landms2[105][0]),float(landms2[105][1])},
90 {float(landms2[46][0]),float(landms2[46][1])},
91 {float(landms2[84][0]),float(landms2[84][1])},
92 {float(landms2[90][0]),float(landms2[90][1])}
93 };
94 Mat align_resize_image2=face_rec.preprocess_face(face_area2,land2);
95 double samilar_score=face_rec.get_samilar_image(align_resize_image1,align_resize_image2);
96 if(samilar_score>face_recongnize_thr){
97 result=true;
98 }
99 }
100 return result;
101 }
...\ No newline at end of file ...\ No newline at end of file
1 #include "facelandmarks.h"
2
3 FaceLandmarks::FaceLandmarks(){
4 model_init=false;
5 }
6 // FaceLandmarks::~FaceLandmarks(){
7 // pfld_interpreter->releaseModel();
8 // pfld_interpreter->releaseSession(session);
9 // }
10
11 bool FaceLandmarks::init_model(string model_path){
12 pfld_interpreter = unique_ptr<MNN::Interpreter>(MNN::Interpreter::createFromFile(model_path.c_str()));
13 if(nullptr==pfld_interpreter){
14 return false;
15 }
16 //创建session
17 MNN::ScheduleConfig schedule_config;
18 schedule_config.type = MNN_FORWARD_CPU;
19 schedule_config.numThread = num_thread;
20 MNN::BackendConfig backend_config;
21 backend_config.memory = MNN::BackendConfig::Memory_Normal;
22 backend_config.power = MNN::BackendConfig::Power_Normal;
23 backend_config.precision = MNN::BackendConfig::Precision_Normal;
24 schedule_config.backendConfig = &backend_config;
25 session = pfld_interpreter->createSession(schedule_config);
26 input_tensor = pfld_interpreter->getSessionInput(session,NULL);
27 pfld_interpreter->resizeTensor(input_tensor,{1,3,112,112});
28 pfld_interpreter->resizeSession(session);
29
30 //数据预处理
31 MNN::CV::ImageProcess::Config image_config;
32 ::memcpy(image_config.normal,normal,sizeof(normal));
33 image_config.sourceFormat = MNN::CV::BGR;
34 image_config.destFormat = MNN::CV::BGR;
35
36 pretreat = shared_ptr<MNN::CV::ImageProcess>(MNN::CV::ImageProcess::create(image_config));
37 // pretreat->setMatrix(transforms);
38
39 model_init = true;
40 }
41
42 vector<vector<float>> FaceLandmarks::detect_landmarks(string image_path){
43 Mat image = cv::imread(image_path);
44 vector<vector<float>> landmarks;
45 int width = image.cols;
46 int height = image.rows;
47 Mat resize_image;
48 cv::resize(image,resize_image,Size(112,112));
49 float ws = float(width)/float(112.0);
50 float hs = float(height)/float(112.0);
51
52 pretreat->convert(resize_image.data,112,112,0,input_tensor);
53
54 pfld_interpreter->runSession(session);
55
56 auto output_landmark = pfld_interpreter->getSessionOutput(session, NULL);
57 MNN::Tensor landmark_tensor(output_landmark, output_landmark->getDimensionType());
58 output_landmark->copyToHostTensor(&landmark_tensor);
59 float* result = landmark_tensor.host<float>();
60 for (int i = 0; i < 106; ++i) {
61 vector<float> curr_pt={result[2 * i + 0] * ws,result[2 * i + 1] * hs};
62 landmarks.push_back(curr_pt);
63 }
64 return landmarks;
65 }
66
67 vector<vector<float>> FaceLandmarks::detect_landmarks_image(Mat image){
68 vector<vector<float>> landmarks;
69 int width = image.cols;
70 int height = image.rows;
71 Mat resize_image;
72 cv::resize(image,resize_image,Size(112,112));
73 float ws = float(width)/float(112.0);
74 float hs = float(height)/float(112.0);
75
76 pretreat->convert(resize_image.data,112,112,0,input_tensor);
77
78 pfld_interpreter->runSession(session);
79
80 auto output_landmark = pfld_interpreter->getSessionOutput(session, NULL);
81 MNN::Tensor landmark_tensor(output_landmark, output_landmark->getDimensionType());
82 output_landmark->copyToHostTensor(&landmark_tensor);
83 float* result = landmark_tensor.host<float>();
84 for (int i = 0; i < 106; ++i) {
85 vector<float> curr_pt={result[2 * i + 0] * ws,result[2 * i + 1] * hs};
86 landmarks.push_back(curr_pt);
87 }
88 return landmarks;
89 }
...\ No newline at end of file ...\ No newline at end of file
1 #include "facerecognize.h" 1 #include "facerecognize.h"
2 2
3 FaceRecognize::FaceRecognize(){}
4
5 // FaceRecognize::~FaceRecognize(){
6 // net->releaseModel();
7 // net->releaseSession(session1);
8 // net->releaseSession(session2);
9 // }
10
11 bool FaceRecognize::init_model(string model_path){
12 net=shared_ptr<MNN::Interpreter>(MNN::Interpreter::createFromFile(model_path.c_str()));
13
14 ScheduleConfig config;
15 config.numThread=num_thread;
16 config.type=MNN_FORWARD_CPU;
17
18 session1 = net->createSession(config);
19 session2 = net->createSession(config);
20
21 input_tensor1 = net->getSessionInput(session1,NULL);
22 input_tensor2 = net->getSessionInput(session2,NULL);
23 net->resizeTensor(input_tensor1,{1,3,input_size[1],input_size[0]});
24 net->resizeSession(session1);
25 net->resizeTensor(input_tensor2,{1,3,input_size[1],input_size[0]});
26 net->resizeSession(session2);
27
28 //数据预处理
29 MNN::CV::ImageProcess::Config image_config;
30 image_config.sourceFormat = MNN::CV::BGR;
31 image_config.destFormat = MNN::CV::BGR;
32 ::memcpy(image_config.mean,mean,sizeof(mean));
33 ::memcpy(image_config.normal,normal,sizeof(normal));
34 pretreat = shared_ptr<MNN::CV::ImageProcess>(MNN::CV::ImageProcess::create(image_config));
35 model_init = true;
36 return model_init;
37 }
38
39
3 cv::Mat FaceRecognize::meanAxis0(const cv::Mat &src) 40 cv::Mat FaceRecognize::meanAxis0(const cv::Mat &src)
4 { 41 {
5 int num = src.rows; 42 int num = src.rows;
...@@ -168,61 +205,52 @@ double FaceRecognize::cos_distance(const vector<double>& base, const vector<doub ...@@ -168,61 +205,52 @@ double FaceRecognize::cos_distance(const vector<double>& base, const vector<doub
168 return simility; 205 return simility;
169 } 206 }
170 207
171 double FaceRecognize::get_samilar(Mat image1,Mat image2){ 208 double FaceRecognize::get_samilar_image(Mat image1,Mat image2){
172 cv::resize(image1,image1,Size2d(input_size[0],input_size[1])); 209 cv::resize(image1,image1,Size2d(input_size[0],input_size[1]));
173 cv::resize(image2,image2,Size2d(input_size[0],input_size[1])); 210 cv::resize(image2,image2,Size2d(input_size[0],input_size[1]));
174 image1.convertTo(image1, CV_32F); 211 pretreat->convert(image1.data,input_size[0],input_size[1],0,input_tensor1);
175 image2.convertTo(image2, CV_32F); 212 pretreat->convert(image2.data,input_size[0],input_size[1],0,input_tensor2);
176 image1 = (image1-mean)*scale; 213 //推理
177 image2 = (image2-mean)*scale;
178
179 std::vector<std::vector<cv::Mat>> nChannels1;
180 std::vector<cv::Mat> rgbChannels1(3);
181 cv::split(image1, rgbChannels1);
182 nChannels1.push_back(rgbChannels1); // NHWC 转NCHW
183 auto *pvData1 = malloc(1 * 3 * input_size[1] * input_size[0] *sizeof(float));
184 int nPlaneSize = input_size[0] * input_size[1];
185 for (int c = 0; c < 3; ++c)
186 {
187 cv::Mat matPlane1 = nChannels1[0][c];
188 memcpy((float *)(pvData1) + c * nPlaneSize,\
189 matPlane1.data, nPlaneSize * sizeof(float));
190 }
191 auto inTensor1 = net->getSessionInput(session1, NULL);
192 net->resizeTensor(inTensor1, {1, 3, input_size[1],input_size[0]});
193 net->resizeSession(session1);
194
195 auto nchwTensor1 = new Tensor(inTensor1, Tensor::CAFFE);
196 ::memcpy(nchwTensor1->host<float>(), pvData1, nPlaneSize * 3 * sizeof(float));
197 inTensor1->copyFromHostTensor(nchwTensor1);
198 // //推理
199 net->runSession(session1); 214 net->runSession(session1);
200 auto output1= net->getSessionOutput(session1, NULL); 215 auto output1= net->getSessionOutput(session1, NULL);
216 //推理
217 net->runSession(session2);
218 auto output2= net->getSessionOutput(session2, NULL);
201 219
202 std::vector<std::vector<cv::Mat>> nChannels2; 220
203 std::vector<cv::Mat> rgbChannels2(3); 221 MNN::Tensor feat_tensor1(output1, output1->getDimensionType());
204 cv::split(image2, rgbChannels2); 222 MNN::Tensor feat_tensor2(output2, output2->getDimensionType());
205 nChannels2.push_back(rgbChannels2); // NHWC 转NCHW 223 output1->copyToHostTensor(&feat_tensor1);
206 auto *pvData2 = malloc(1 * 3 * input_size[1] * input_size[0] *sizeof(float)); 224 output2->copyToHostTensor(&feat_tensor2);
207 for (int c = 0; c < 3; ++c) 225 auto feature1 = feat_tensor1.host<float>();
208 { 226 auto feature2 = feat_tensor2.host<float>();
209 cv::Mat matPlane2 = nChannels2[0][c]; 227
210 memcpy((float *)(pvData2) + c * nPlaneSize,\ 228 vector<double> v1,v2;
211 matPlane2.data, nPlaneSize * sizeof(float)); 229 for(int i=0;i<int(feat_tensor1.size()/4);i++){
230 v1.push_back((double)feature1[i]);
231 v2.push_back((double)feature2[i]);
212 } 232 }
213 auto inTensor2 = net->getSessionInput(session2, NULL); 233 double cos_score=cos_distance(v1,v2);
214 net->resizeTensor(inTensor2, {1, 3, input_size[1],input_size[0]}); 234 return cos_score;
215 net->resizeSession(session2); 235 }
216 auto nchwTensor2 = new Tensor(inTensor2, Tensor::CAFFE); 236
217 ::memcpy(nchwTensor2->host<float>(), pvData2, nPlaneSize * 3 * sizeof(float)); 237 double FaceRecognize::get_samilar(string image_path1,string image_path2){
218 inTensor2->copyFromHostTensor(nchwTensor2); 238 Mat image1 = cv::imread(image_path1);
219 // //推理 239 Mat image2 = cv::imread(image_path2);
240 cv::resize(image1,image1,Size2d(input_size[0],input_size[1]));
241 cv::resize(image2,image2,Size2d(input_size[0],input_size[1]));
242 pretreat->convert(image1.data,input_size[0],input_size[1],0,input_tensor1);
243 pretreat->convert(image2.data,input_size[0],input_size[1],0,input_tensor2);
244 //推理
245 net->runSession(session1);
246 auto output1= net->getSessionOutput(session1, NULL);
247 //推理
220 net->runSession(session2); 248 net->runSession(session2);
221 auto output2= net->getSessionOutput(session2, NULL); 249 auto output2= net->getSessionOutput(session2, NULL);
222 250
223 251
224 MNN::Tensor feat_tensor1(output1, MNN::Tensor::CAFFE); 252 MNN::Tensor feat_tensor1(output1, output1->getDimensionType());
225 MNN::Tensor feat_tensor2(output2, MNN::Tensor::CAFFE); 253 MNN::Tensor feat_tensor2(output2, output2->getDimensionType());
226 output1->copyToHostTensor(&feat_tensor1); 254 output1->copyToHostTensor(&feat_tensor1);
227 output2->copyToHostTensor(&feat_tensor2); 255 output2->copyToHostTensor(&feat_tensor2);
228 auto feature1 = feat_tensor1.host<float>(); 256 auto feature1 = feat_tensor1.host<float>();
...@@ -236,4 +264,3 @@ double FaceRecognize::get_samilar(Mat image1,Mat image2){ ...@@ -236,4 +264,3 @@ double FaceRecognize::get_samilar(Mat image1,Mat image2){
236 double cos_score=cos_distance(v1,v2); 264 double cos_score=cos_distance(v1,v2);
237 return cos_score; 265 return cos_score;
238 } 266 }
239
......
1 #ifndef FACECOMPARISON_H
2 #define FACECOMPARISON_H
3
4
5 #include "facerecognize.h"
6 #include "retinaface.h"
7 #include "facelandmarks.h"
8
9
10 class FaceComparison{
11 public:
12 // 人脸检测阈值
13 float confidence_threshold = 0.2;
14 // 是否进行人脸外廓
15 bool is_bbox_process = true;
16
17 // 人脸比对相似度阈值
18 float face_recongnize_thr = 0.5;
19
20 //线程个数
21 int num_thread = 2;
22 //接口
23 bool face_compare(string image_path1,string image_path2);
24 bool face_compare_image(Mat image1,Mat image2);
25
26 private:
27 RetinaFace face_det;
28 FaceLandmarks face_landm;
29 FaceRecognize face_rec;
30
31 public:
32 FaceComparison(){};
33 FaceComparison(string face_det_model,string face_landm_model,string face_rec_model){
34 face_det = RetinaFace(face_det_model);
35 face_det.confidence_threshold = confidence_threshold;
36 face_det.is_bbox_process = is_bbox_process;
37 face_det.num_thread=num_thread;
38 face_landm =FaceLandmarks(face_landm_model);
39 face_landm.num_thread=num_thread;
40 face_rec =FaceRecognize(face_rec_model);
41 face_rec.num_thread=num_thread;
42 }
43
44
45
46
47 };
48 #endif
...\ No newline at end of file ...\ No newline at end of file
1 #ifndef FACELANDMARKS_H 1 #ifndef FACELANDMARKS_H
2 #define FACELANDMARKS_H 2 #define FACELANDMARKS_H
3
4 #include <opencv2/opencv.hpp> 3 #include <opencv2/opencv.hpp>
5 #include<MNN/Interpreter.hpp> 4 #include<MNN/Interpreter.hpp>
6 #include<MNN/ImageProcess.hpp> 5 #include<MNN/ImageProcess.hpp>
7 #include<iostream> 6 #include<iostream>
7 #include<memory>
8 8
9 using namespace std; 9 using namespace std;
10 using namespace cv; 10 using namespace cv;
11 using namespace MNN; 11 using namespace MNN;
12 12
13 class FaceLandmarks{ 13 class FaceLandmarks{
14 private: 14 public:
15 vector<float> input_size={112,112}; 15 int num_thread = 2;
16 std::shared_ptr<MNN::Interpreter> net;
17 Session *session = nullptr;
18 ScheduleConfig config;
19 16
20 public: 17 public:
21 FaceLandmarks(){}; 18 FaceLandmarks();
19 // ~FaceLandmarks();
22 FaceLandmarks(string model_path){ 20 FaceLandmarks(string model_path){
23 net = std::shared_ptr<MNN::Interpreter>(MNN::Interpreter::createFromFile(model_path.c_str()));//创建解释器 21 init_model(model_path);
24 config.numThread = 8; 22 };
25 config.type = MNN_FORWARD_CPU; 23 bool init_model(string model_path);
26 session = net->createSession(config);//创建session
27 }
28
29 vector<vector<float>> detect_landmarks(string image_path); 24 vector<vector<float>> detect_landmarks(string image_path);
30 vector<vector<float>> detect_image_landmarks(cv::Mat image); 25 vector<vector<float>> detect_landmarks_image(Mat image);
31 26
27 private:
28 bool model_init;
29 float normal[3]={1.0f/256.f,1.0f/256.f,1.0f/256.f};
30 std::shared_ptr<MNN::Interpreter> pfld_interpreter = nullptr;
31 MNN::Session* session = nullptr;
32 MNN::Tensor* input_tensor = nullptr;
33 shared_ptr<MNN::CV::ImageProcess> pretreat;
32 }; 34 };
33
34
35 #endif 35 #endif
......
...@@ -4,29 +4,40 @@ ...@@ -4,29 +4,40 @@
4 #include<MNN/Interpreter.hpp> 4 #include<MNN/Interpreter.hpp>
5 #include<MNN/ImageProcess.hpp> 5 #include<MNN/ImageProcess.hpp>
6 #include<iostream> 6 #include<iostream>
7 #include<memory>
7 8
8 using namespace MNN; 9 using namespace MNN;
9 using namespace std; 10 using namespace std;
10 using namespace cv; 11 using namespace cv;
11 class FaceRecognize{ 12 class FaceRecognize{
13 public:
14 int num_thread = 2;
15 // 推理
16 double get_samilar(string image_path1,string image_path2);
17 double get_samilar_image(Mat image1,Mat image2);
18
19
20
21
12 private: 22 private:
13 vector<float> input_size={112,112}; 23 vector<int> input_size={112,112};
24 bool model_init=false;
14 std::shared_ptr<MNN::Interpreter> net; 25 std::shared_ptr<MNN::Interpreter> net;
15 Session *session1 = nullptr; 26 Session *session1 = nullptr;
16 Session *session2 = nullptr; 27 Session *session2 = nullptr;
17 ScheduleConfig config; 28 MNN::Tensor* input_tensor1=nullptr;
18 Scalar mean=Scalar(127.5f,127.5f,127.5f); 29 MNN::Tensor* input_tensor2=nullptr;
19 float scale = 1.0f/127.5f; 30 shared_ptr<MNN::CV::ImageProcess> pretreat;
31 float mean[3]={127.5f,127.5f,127.5f};
32 float normal[3] = {1.0f/127.5f,1.0f/127.5f,1.0f/127.5f};
20 33
21 public: 34 public:
22 FaceRecognize(){}; 35 FaceRecognize();
36 // ~FaceRecognize();
23 FaceRecognize(string model_path){ 37 FaceRecognize(string model_path){
24 net = std::shared_ptr<MNN::Interpreter>(MNN::Interpreter::createFromFile(model_path.c_str()));//创建解释器 38 init_model(model_path);
25 config.numThread = 8;
26 config.type = MNN_FORWARD_CPU;
27 session1 = net->createSession(config);//创建session
28 session2 = net->createSession(config);//创建session
29 } 39 }
40 bool init_model(string model_path);
30 //预处理 41 //预处理
31 cv::Mat meanAxis0(const cv::Mat &src); 42 cv::Mat meanAxis0(const cv::Mat &src);
32 cv::Mat elementwiseMinus(const cv::Mat &A,const cv::Mat &B); 43 cv::Mat elementwiseMinus(const cv::Mat &A,const cv::Mat &B);
...@@ -36,7 +47,5 @@ class FaceRecognize{ ...@@ -36,7 +47,5 @@ class FaceRecognize{
36 Mat preprocess_face(Mat image,vector<vector<float>> land); 47 Mat preprocess_face(Mat image,vector<vector<float>> land);
37 double getMold(const vector<double>& vec); 48 double getMold(const vector<double>& vec);
38 double cos_distance(const vector<double>& base, const vector<double>& target); 49 double cos_distance(const vector<double>& base, const vector<double>& target);
39 // 推理
40 double get_samilar(Mat image1,Mat image2);
41 }; 50 };
42 #endif 51 #endif
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
4 #include<MNN/Interpreter.hpp> 4 #include<MNN/Interpreter.hpp>
5 #include<MNN/ImageProcess.hpp> 5 #include<MNN/ImageProcess.hpp>
6 #include<iostream> 6 #include<iostream>
7 #include<memory>
7 8
8 using namespace MNN; 9 using namespace MNN;
9 using namespace std; 10 using namespace std;
...@@ -29,24 +30,26 @@ class RetinaFace{ ...@@ -29,24 +30,26 @@ class RetinaFace{
29 public: 30 public:
30 float confidence_threshold = 0.5; 31 float confidence_threshold = 0.5;
31 bool is_bbox_process=true; 32 bool is_bbox_process=true;
33 int num_thread = 2;
32 34
33 private: 35 public:
34 bool use_gpu=true; 36 bool model_init=false;
35 vector<float> input_size={640,640}; 37 vector<int> input_size={640,640};
36 vector<float> variances={0.1,0.2}; 38 vector<float> variances={0.1,0.2};
37 Scalar mean = Scalar(104.0f, 117.0f, 123.0f); 39 float mean[3] = {104.0f, 117.0f, 123.0f};
38 float keep_top_k = 100; 40 float keep_top_k = 100;
39 float nms_threshold = 0.4; 41 float nms_threshold = 0.4;
40 float resize_scale = 1.0; 42 float resize_scale = 1.0;
41 43
42 std::shared_ptr<MNN::Interpreter> net; 44 std::shared_ptr<MNN::Interpreter> net;
43 Session *session = nullptr; 45 Session *session = nullptr;
44 ScheduleConfig config; 46 MNN::Tensor* input_tensor=nullptr;
47 shared_ptr<MNN::CV::ImageProcess> pretreat;
45 vector<vector<float>> anchors; 48 vector<vector<float>> anchors;
46 49
47 private: 50 private:
48 // 生成anchors 51 // 生成anchors
49 vector<vector<float>> priorBox(vector<float> image_size); 52 vector<vector<float>> priorBox(vector<int> image_size);
50 // 解析bounding box landmarks 包含置信度 53 // 解析bounding box landmarks 包含置信度
51 vector<Bbox> decode(float *loc,float *score,float *pre,vector<vector<float>> priors,vector<float> variances); 54 vector<Bbox> decode(float *loc,float *score,float *pre,vector<vector<float>> priors,vector<float> variances);
52 // 解析landmarks 55 // 解析landmarks
...@@ -60,14 +63,12 @@ class RetinaFace{ ...@@ -60,14 +63,12 @@ class RetinaFace{
60 63
61 public: 64 public:
62 65
63 RetinaFace(){}; 66 RetinaFace();
67 // ~RetinaFace();
64 RetinaFace(string model_path){ 68 RetinaFace(string model_path){
65 net = std::shared_ptr<MNN::Interpreter>(MNN::Interpreter::createFromFile(model_path.c_str()));//创建解释器 69 init_model(model_path);
66 config.numThread = 8;
67 config.type = MNN_FORWARD_CPU;
68 session = net->createSession(config);//创建session
69 anchors=priorBox(input_size);
70 } 70 }
71 bool init_model(string model_path);
71 72
72 // 推理 73 // 推理
73 vector<Bbox> detect(string image_path); 74 vector<Bbox> detect(string image_path);
......
No preview for this file type
1 #include "faceLandmarks.h" 1 #include "facecomparison.h"
2 int main(){ 2 int main(){
3 FaceLandmarks face_landmarks1 = FaceLandmarks("/home/situ/qfs/sdk_project/gitlab_demo/face_recognize_mnn/model/det_landmarks_106_v0.0.1.mnn"); 3 // FaceLandmarks face_landmarks1 = FaceLandmarks("/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn2/model/det_landmarks_106_v0.0.1.mnn");
4 vector<string> filenames; 4 // vector<string> filenames;
5 cv::glob("/home/situ/图片/img3", filenames, false); 5 // cv::glob("/home/situ/图片/img3", filenames, false);
6 for(auto path:filenames){ 6 // for(auto path:filenames){
7 7
8 // cout<<path<<endl; 8 // // cout<<path<<endl;
9 Mat img1 =cv::imread(path); 9 // Mat img1 =cv::imread(path);
10 auto landmarks1 = face_landmarks1.detect_landmarks(path); 10 // auto landmarks1 = face_landmarks1.detect_landmarks(path);
11 for(auto landm:landmarks1){ 11 // for(auto landm:landmarks1){
12 cv::circle(img1,Point2d(landm[0],landm[1]),2,Scalar(255,0,0)); 12 // cv::circle(img1,Point2d(landm[0],landm[1]),2,Scalar(255,0,0));
13 } 13 // }
14 cv::imshow("img",img1); 14 // cv::imshow("img",img1);
15 cv::waitKey(0); 15 // cv::waitKey(0);
16 } 16 // }
17 17
18 // Mat image1 = cv::imread("/home/situ/图片/4.jpg"); 18 Mat image1 = cv::imread("/data/face_recognize/pipeline_test/35326a760af111ec9f2300163e772630/310cardImageContent163047910320427.jpg");
19 // Mat image2 = cv::imread("/home/situ/图片/img3/1.jpg"); 19 Mat image2 = cv::imread("/data/face_recognize/pipeline_test/35326a760af111ec9f2300163e772630/310faceImageContent163047910353714.jpg");
20 // string face_det_model = "/home/situ/qfs/sdk_project/face_recognize_mnn/model/mnn/det_face_retina_mnn_1.0.0_v0.1.1.mnn"; 20 string face_det_model = "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/model/det_face_retina_mnn_1.0.0_v0.1.1.mnn";
21 // string face_landm_model = "/home/situ/qfs/sdk_project/face_recognize_mnn/model/mnn/det_landmarks_106_v0.0.1.mnn"; 21 string face_landm_model = "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/model/det_landmarks_106_v0.0.1.mnn";
22 // string face_rec_model = "/home/situ/qfs/mobile_face_recognize/models/cls_face_mnn_1.0.0_v0.1.0.mnn"; 22 // string face_rec_model = "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/model/cls_face_mnn_1.0.0_v0.0.2.mnn";
23 string face_rec_model = "/home/situ/qfs/sdk_project/mnn_projects/face_recognize_mnn/model/cls_face_mnn_1.0.0_v0.1.1.mnn";
23 24
24 // FaceComparison face_rec = FaceComparison(face_det_model,face_landm_model,face_rec_model); 25 FaceComparison face_rec = FaceComparison(face_det_model,face_landm_model,face_rec_model);
25 // bool result = face_rec.face_compare("/home/situ/图片/2.png","/home/situ/图片/2.png"); 26 bool result = face_rec.face_compare_image(image1,image2);
26 // cout<<result<<endl; 27 cout<<result<<endl;
28
29
30 // string model_path = "/home/situ/qfs/sdk_project/mnn_projects/face_retinaface_mnn/det_face_retina_mnn_1.0.0_v0.1.1.mnn";
31 // RetinaFace face_det = RetinaFace(model_path.c_str());
32 // Mat image = cv::imread("/home/situ/图片/2.png");
33
34 // vector<Bbox> result = face_det.detect_image(image);
35 // for(auto res:result){
36 // cv::rectangle(image,cv::Rect(res.xmin,res.ymin,res.xmax-res.xmin,res.ymax-res.ymin),Scalar(0,255,0),2);
37 // }
38 // cv::imshow("image",image);
39 // cv::waitKey(0);
40 return 0;
27 } 41 }
......
No preview for this file type
No preview for this file type
1 #include "retinaface.h" 1 #include "retinaface.h"
2
3 RetinaFace::RetinaFace(){}
4
5 // RetinaFace::~RetinaFace(){
6 // net->releaseModel();
7 // net->releaseSession(session);
8 // }
9
10 bool RetinaFace::init_model(string model_path){
11 net = std::shared_ptr<MNN::Interpreter>(MNN::Interpreter::createFromFile(model_path.c_str()));//创建解释器
12 if(nullptr==net){
13 return false;
14 }
15 ScheduleConfig config;
16 config.numThread = num_thread;
17 config.type = MNN_FORWARD_CPU;
18 session = net->createSession(config);//创建session
19 anchors=priorBox(input_size); //生成建议框
20 input_tensor = net->getSessionInput(session,NULL);
21 net->resizeTensor(input_tensor,{1,3,input_size[1],input_size[0]});
22 net->resizeSession(session);
23
24 //数据预处理
25 MNN::CV::ImageProcess::Config image_config;
26 image_config.sourceFormat = MNN::CV::BGR;
27 image_config.destFormat = MNN::CV::BGR;
28 ::memcpy(image_config.mean,mean,sizeof(mean));
29 pretreat = shared_ptr<MNN::CV::ImageProcess>(CV::ImageProcess::create(image_config));
30
31 model_init = true;
32 }
33
34
2 // 生成anchors 35 // 生成anchors
3 vector<vector<float>> RetinaFace::priorBox(vector<float> image_size){ 36 vector<vector<float>> RetinaFace::priorBox(vector<int> image_size){
4 vector<int> tmp1={16,32}; 37 vector<int> tmp1={16,32};
5 vector<int> tmp2={64,128}; 38 vector<int> tmp2={64,128};
6 vector<int> tmp3={256,512}; 39 vector<int> tmp3={256,512};
...@@ -171,27 +204,8 @@ vector<Bbox> RetinaFace::detect(string image_path){ ...@@ -171,27 +204,8 @@ vector<Bbox> RetinaFace::detect(string image_path){
171 float w_r=float(input_size[0])/float(image.cols); 204 float w_r=float(input_size[0])/float(image.cols);
172 float h_r=float(input_size[1])/float(image.rows); 205 float h_r=float(input_size[1])/float(image.rows);
173 Mat input_data; 206 Mat input_data;
174 cv::resize(image,input_data,Size(input_size[0],input_size[1])); 207 cv::resize(image,input_data,Size(input_size[1],input_size[0]));
175 input_data = input_data-mean; 208 pretreat->convert(input_data.data,input_size[0],input_size[1],0,input_tensor);
176 input_data.convertTo(input_data, CV_32F);
177 std::vector<std::vector<cv::Mat>> nChannels;
178 std::vector<cv::Mat> rgbChannels(3);
179 cv::split(input_data, rgbChannels);
180 nChannels.push_back(rgbChannels); // NHWC 转NCHW
181 auto *pvData = malloc(1 * 3 * input_size[1] * input_size[0] *sizeof(float));
182 int nPlaneSize = input_size[0] * input_size[1];
183 for (int c = 0; c < 3; ++c)
184 {
185 cv::Mat matPlane = nChannels[0][c];
186 memcpy((float *)(pvData) + c * nPlaneSize,\
187 matPlane.data, nPlaneSize * sizeof(float));
188 }
189 auto inTensor = net->getSessionInput(session, NULL);
190 net->resizeTensor(inTensor, {1, 3, input_size[1],input_size[0]});
191 net->resizeSession(session);
192 auto nchwTensor = new Tensor(inTensor, Tensor::CAFFE);
193 ::memcpy(nchwTensor->host<float>(), pvData, nPlaneSize * 3 * sizeof(float));
194 inTensor->copyFromHostTensor(nchwTensor);
195 // //推理 209 // //推理
196 net->runSession(session); 210 net->runSession(session);
197 auto output0= net->getSessionOutput(session, "output0"); 211 auto output0= net->getSessionOutput(session, "output0");
...@@ -222,36 +236,20 @@ vector<Bbox> RetinaFace::detect(string image_path){ ...@@ -222,36 +236,20 @@ vector<Bbox> RetinaFace::detect(string image_path){
222 vector<Bbox> RetinaFace::detect_image(Mat image){ 236 vector<Bbox> RetinaFace::detect_image(Mat image){
223 float w_r=float(input_size[0])/float(image.cols); 237 float w_r=float(input_size[0])/float(image.cols);
224 float h_r=float(input_size[1])/float(image.rows); 238 float h_r=float(input_size[1])/float(image.rows);
239
225 Mat input_data; 240 Mat input_data;
226 cv::resize(image,input_data,Size(input_size[0],input_size[1])); 241 cv::resize(image,input_data,Size(input_size[1],input_size[0]));
227 input_data = input_data-mean; 242 pretreat->convert(input_data.data,input_size[0],input_size[1],0,input_tensor);
228 input_data.convertTo(input_data, CV_32F);
229 std::vector<std::vector<cv::Mat>> nChannels;
230 std::vector<cv::Mat> rgbChannels(3);
231 cv::split(input_data, rgbChannels);
232 nChannels.push_back(rgbChannels); // NHWC 转NCHW
233 auto *pvData = malloc(1 * 3 * input_size[1] * input_size[0] *sizeof(float));
234 int nPlaneSize = input_size[0] * input_size[1];
235 for (int c = 0; c < 3; ++c)
236 {
237 cv::Mat matPlane = nChannels[0][c];
238 memcpy((float *)(pvData) + c * nPlaneSize,\
239 matPlane.data, nPlaneSize * sizeof(float));
240 }
241 auto inTensor = net->getSessionInput(session, NULL);
242 net->resizeTensor(inTensor, {1, 3, input_size[1],input_size[0]});
243 net->resizeSession(session);
244 auto nchwTensor = new Tensor(inTensor, Tensor::CAFFE);
245 ::memcpy(nchwTensor->host<float>(), pvData, nPlaneSize * 3 * sizeof(float));
246 inTensor->copyFromHostTensor(nchwTensor);
247 // //推理 243 // //推理
248 net->runSession(session); 244 net->runSession(session);
249 auto output0= net->getSessionOutput(session, "output0"); 245 auto output0= net->getSessionOutput(session, "output0");
250 auto output1= net->getSessionOutput(session, "output1"); 246 auto output1= net->getSessionOutput(session, "output1");
251 auto output2= net->getSessionOutput(session, "output2"); 247 auto output2= net->getSessionOutput(session, "output2");
252 MNN::Tensor feat_tensor0(output0, MNN::Tensor::CAFFE); 248
253 MNN::Tensor feat_tensor1(output1, MNN::Tensor::CAFFE); 249
254 MNN::Tensor feat_tensor2(output2, MNN::Tensor::CAFFE); 250 MNN::Tensor feat_tensor0(output0, output0->getDimensionType());
251 MNN::Tensor feat_tensor1(output1, output1->getDimensionType());
252 MNN::Tensor feat_tensor2(output2, output2->getDimensionType());
255 output0->copyToHostTensor(&feat_tensor0); 253 output0->copyToHostTensor(&feat_tensor0);
256 output1->copyToHostTensor(&feat_tensor1); 254 output1->copyToHostTensor(&feat_tensor1);
257 output2->copyToHostTensor(&feat_tensor2); 255 output2->copyToHostTensor(&feat_tensor2);
...@@ -261,7 +259,6 @@ vector<Bbox> RetinaFace::detect_image(Mat image){ ...@@ -261,7 +259,6 @@ vector<Bbox> RetinaFace::detect_image(Mat image){
261 259
262 vector<Bbox> result_boxes = decode(loc,score,landm,anchors,variances); 260 vector<Bbox> result_boxes = decode(loc,score,landm,anchors,variances);
263 vector<Bbox> results=select_score(result_boxes,confidence_threshold,w_r,h_r); 261 vector<Bbox> results=select_score(result_boxes,confidence_threshold,w_r,h_r);
264
265 nms_cpu(results,nms_threshold); 262 nms_cpu(results,nms_threshold);
266 if(is_bbox_process){ 263 if(is_bbox_process){
267 vector<Bbox> res_bboxes=bbox_process(results,image.cols,image.rows); 264 vector<Bbox> res_bboxes=bbox_process(results,image.cols,image.rows);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!