I need opencv_contrib's tracking module for my app.
I tried building extra modules using the instructions here https://github.com/opencv/opencv_contrib I can configure opencv 320 successfully in cmake-gui. But pressing Configure after setting OPENCV_EXTRA_MODULES_PATH, I get the error Lost of it!
My Environment: Windows 10 x64 VS 2017 (Anaconda) Python 3
Could anybody help me on getting 'tracking' module work with opencv please?
I am pasting the content of "C:/opencv320/build/CMakeFiles/CMakeError.log".
Build output check failed: Regex: 'unknown .*option' Output line: 'cl : Command line warning D9002: ignoring unknown option '-fsigned-char' [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_0735a.vcxproj] ' Compilation failed: source file: 'C:/opencv320/build/CMakeFiles/CMakeTmp/src.cxx' check option: ' -fsigned-char' ===== BUILD LOG ===== Change Dir: C:/opencv320/build/CMakeFiles/CMakeTmp
Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_0735a.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0" Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 8/10/2017 7:39:57 PM.
Project "C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_0735a.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "cmTC_0735a.dir\Debug\".
Creating directory "C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\".
Creating directory "cmTC_0735a.dir\Debug\cmTC_0735a.tlog\".
InitializeBuildStatus:
Creating "cmTC_0735a.dir\Debug\cmTC_0735a.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHa /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_0735a.dir\Debug\" /Fd"cmTC_0735a.dir\Debug\vc141.pdb" /Gd /TP /errorReport:queue -fsigned-char C:\opencv320\build\CMakeFiles\CMakeTmp\src.cxx
Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHa /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_0735a.dir\Debug\" /Fd"cmTC_0735a.dir\Debug\vc141.pdb" /Gd /TP /errorReport:queue -fsigned-char C:\opencv320\build\CMakeFiles\CMakeTmp\src.cxx
src.cxx
cl : Command line warning D9002: ignoring unknown option '-fsigned-char' [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_0735a.vcxproj]
Link:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\cmTC_0735a.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/opencv320/build/CMakeFiles/CMakeTmp/Debug/cmTC_0735a.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/opencv320/build/CMakeFiles/CMakeTmp/Debug/cmTC_0735a.lib" /MACHINE:X64 /machine:x64 cmTC_0735a.dir\Debug\src.obj
cmTC_0735a.vcxproj -> C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\cmTC_0735a.exe
FinalizeBuildStatus:
Deleting file "cmTC_0735a.dir\Debug\cmTC_0735a.tlog\unsuccessfulbuild".
Touching "cmTC_0735a.dir\Debug\cmTC_0735a.tlog\cmTC_0735a.lastbuildstate".
Done Building Project "C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_0735a.vcxproj" (default targets).
Build succeeded.
"C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_0735a.vcxproj" (default target) (1) ->
(ClCompile target) ->
cl : Command line warning D9002: ignoring unknown option '-fsigned-char' [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_0735a.vcxproj]
1 Warning(s) 0 Error(s)
Time Elapsed 00:00:01.70
===== END =====
Build output check failed: Regex: 'unknown .*option' Output line: 'cl : Command line warning D9002: ignoring unknown option '-fsigned-char' [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_51d11.vcxproj] ' Compilation failed: source file: 'C:/opencv320/build/CMakeFiles/CMakeTmp/src.c' check option: ' -fsigned-char' ===== BUILD LOG ===== Change Dir: C:/opencv320/build/CMakeFiles/CMakeTmp
Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_51d11.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0" Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 8/10/2017 7:39:59 PM.
Project "C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_51d11.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "cmTC_51d11.dir\Debug\".
Creating directory "C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\".
Creating directory "cmTC_51d11.dir\Debug\cmTC_51d11.tlog\".
InitializeBuildStatus:
Creating "cmTC_51d11.dir\Debug\cmTC_51d11.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_51d11.dir\Debug\" /Fd"cmTC_51d11.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue -fsigned-char C:\opencv320\build\CMakeFiles\CMakeTmp\src.c
Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
src.c
cl /c /Zi /W3 /WX- /diagnostics:classic /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_51d11.dir\Debug\" /Fd"cmTC_51d11.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue -fsigned-char C:\opencv320\build\CMakeFiles\CMakeTmp\src.c
cl : Command line warning D9002: ignoring unknown option '-fsigned-char' [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_51d11.vcxproj]
Link:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\cmTC_51d11.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/opencv320/build/CMakeFiles/CMakeTmp/Debug/cmTC_51d11.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/opencv320/build/CMakeFiles/CMakeTmp/Debug/cmTC_51d11.lib" /MACHINE:X64 /machine:x64 cmTC_51d11.dir\Debug\src.obj
cmTC_51d11.vcxproj -> C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\cmTC_51d11.exe
FinalizeBuildStatus:
Deleting file "cmTC_51d11.dir\Debug\cmTC_51d11.tlog\unsuccessfulbuild".
Touching "cmTC_51d11.dir\Debug\cmTC_51d11.tlog\cmTC_51d11.lastbuildstate".
Done Building Project "C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_51d11.vcxproj" (default targets).
Build succeeded.
"C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_51d11.vcxproj" (default target) (1) ->
(ClCompile target) ->
cl : Command line warning D9002: ignoring unknown option '-fsigned-char' [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_51d11.vcxproj]
1 Warning(s) 0 Error(s)
Time Elapsed 00:00:01.20
===== END =====
Determining if the function fseeko exists failed with the following output: Change Dir: C:/opencv320/build/CMakeFiles/CMakeTmp
Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_d5f78.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0" Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 8/10/2017 7:40:12 PM.
Project "C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_d5f78.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "cmTC_d5f78.dir\Debug\".
Creating directory "C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\".
Creating directory "cmTC_d5f78.dir\Debug\cmTC_d5f78.tlog\".
InitializeBuildStatus:
Creating "cmTC_d5f78.dir\Debug\cmTC_d5f78.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /MP12 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D CHECK_FUNCTION_EXISTS=fseeko /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_d5f78.dir\Debug\" /Fd"cmTC_d5f78.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue /bigobj "E:\Programs\cmake\share\cmake-3.9\Modules\CheckFunctionExists.c"
Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
CheckFunctionExists.c
cl /c /Zi /W3 /WX- /diagnostics:classic /MP12 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D CHECK_FUNCTION_EXISTS=fseeko /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_d5f78.dir\Debug\" /Fd"cmTC_d5f78.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue /bigobj "E:\Programs\cmake\share\cmake-3.9\Modules\CheckFunctionExists.c"
Link:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\cmTC_d5f78.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/opencv320/build/CMakeFiles/CMakeTmp/Debug/cmTC_d5f78.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/opencv320/build/CMakeFiles/CMakeTmp/Debug/cmTC_d5f78.lib" /MACHINE:X64 /machine:x64 cmTC_d5f78.dir\Debug\CheckFunctionExists.obj
CheckFunctionExists.obj : error LNK2019: unresolved external symbol fseeko referenced in function main [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_d5f78.vcxproj]
C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\cmTC_d5f78.exe : fatal error LNK1120: 1 unresolved externals [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_d5f78.vcxproj]
Done Building Project "C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_d5f78.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_d5f78.vcxproj" (default target) (1) ->
(Link target) ->
CheckFunctionExists.obj : error LNK2019: unresolved external symbol fseeko referenced in function main [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_d5f78.vcxproj]
C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\cmTC_d5f78.exe : fatal error LNK1120: 1 unresolved externals [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_d5f78.vcxproj]
0 Warning(s) 2 Error(s)
Time Elapsed 00:00:01.19
Determining if the include file unistd.h exists failed with the following output: Change Dir: C:/opencv320/build/CMakeFiles/CMakeTmp
Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_4c78d.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0" Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 8/10/2017 7:40:14 PM.
Project "C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_4c78d.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "cmTC_4c78d.dir\Debug\".
Creating directory "C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\".
Creating directory "cmTC_4c78d.dir\Debug\cmTC_4c78d.tlog\".
InitializeBuildStatus:
Creating "cmTC_4c78d.dir\Debug\cmTC_4c78d.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /MP12 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_4c78d.dir\Debug\" /Fd"cmTC_4c78d.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue /bigobj C:\opencv320\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c
Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W3 /WX- /diagnostics:classic /MP12 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_4c78d.dir\Debug\" /Fd"cmTC_4c78d.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue /bigobj C:\opencv320\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c
CheckIncludeFile.c
C:\opencv320\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_4c78d.vcxproj]
Done Building Project "C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_4c78d.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_4c78d.vcxproj" (default target) (1) ->
(ClCompile target) ->
C:\opencv320\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_4c78d.vcxproj]
0 Warning(s) 1 Error(s)
Time Elapsed 00:00:01.68
Determining size of off64_t failed with the following output: Change Dir: C:/opencv320/build/CMakeFiles/CMakeTmp
Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_e52e5.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0" Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 8/10/2017 7:40:16 PM.
Project "C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_e52e5.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "cmTC_e52e5.dir\Debug\".
Creating directory "C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\".
Creating directory "cmTC_e52e5.dir\Debug\cmTC_e52e5.tlog\".
InitializeBuildStatus:
Creating "cmTC_e52e5.dir\Debug\cmTC_e52e5.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /MP12 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_e52e5.dir\Debug\" /Fd"cmTC_e52e5.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue /bigobj C:\opencv320\build\CMakeFiles\CheckTypeSize\OFF64_T.c
Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
OFF64_T.c
cl /c /Zi /W3 /WX- /diagnostics:classic /MP12 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_e52e5.dir\Debug\" /Fd"cmTC_e52e5.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue /bigobj C:\opencv320\build\CMakeFiles\CheckTypeSize\OFF64_T.c
C:\opencv320\build\CMakeFiles\CheckTypeSize\OFF64_T.c(19): error C2065: 'off64_t': undeclared identifier [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_e52e5.vcxproj]
C:\opencv320\build\CMakeFiles\CheckTypeSize\OFF64_T.c(20): error C2065: 'off64_t': undeclared identifier [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_e52e5.vcxproj]
C:\opencv320\build\CMakeFiles\CheckTypeSize\OFF64_T.c(21): error C2065: 'off64_t': undeclared identifier [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_e52e5.vcxproj]
C:\opencv320\build\CMakeFiles\CheckTypeSize\OFF64_T.c(22): error C2065: 'off64_t': undeclared identifier [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_e52e5.vcxproj]
C:\opencv320\build\CMakeFiles\CheckTypeSize\OFF64_T.c(23): error C2065: 'off64_t': undeclared identifier [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_e52e5.vcxproj]
Done Building Project "C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_e52e5.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_e52e5.vcxproj" (default target) (1) ->
(ClCompile target) ->
C:\opencv320\build\CMakeFiles\CheckTypeSize\OFF64_T.c(19): error C2065: 'off64_t': undeclared identifier [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_e52e5.vcxproj]
C:\opencv320\build\CMakeFiles\CheckTypeSize\OFF64_T.c(20): error C2065: 'off64_t': undeclared identifier [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_e52e5.vcxproj]
C:\opencv320\build\CMakeFiles\CheckTypeSize\OFF64_T.c(21): error C2065: 'off64_t': undeclared identifier [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_e52e5.vcxproj]
C:\opencv320\build\CMakeFiles\CheckTypeSize\OFF64_T.c(22): error C2065: 'off64_t': undeclared identifier [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_e52e5.vcxproj]
C:\opencv320\build\CMakeFiles\CheckTypeSize\OFF64_T.c(23): error C2065: 'off64_t': undeclared identifier [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_e52e5.vcxproj]
0 Warning(s) 5 Error(s)
Time Elapsed 00:00:00.94
C:/opencv320/build/CMakeFiles/CheckTypeSize/OFF64_T.c:
include <sys types.h="">
include <stdint.h>
include <stddef.h>
undef KEY
if defined(__i386)
define KEY '_','_','i','3','8','6'
elif defined(__x86_64)
define KEY '_','_','x','8','6','_','6','4'
elif defined(__ppc__)
define KEY '_','_','p','p','c','_','_'
elif defined(__ppc64__)
define KEY '_','_','p','p','c','6','4','_','_'
endif
define SIZE (sizeof(off64_t)) char info_size[] = {'I', 'N', 'F', 'O',
':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']',
ifdef KEY ' ','k','e','y','[', KEY, ']',
endif '\0'};
ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[];
else int main(int argc, char *argv[])
endif { int require = 0; require += info_size[argc]; (void)argv; return require; }
Determining if the function jbg_newlen exists failed with the following output: Change Dir: C:/opencv320/build/CMakeFiles/CMakeTmp
Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_6eea6.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0" Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 8/10/2017 7:40:22 PM.
Project "C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_6eea6.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "cmTC_6eea6.dir\Debug\".
Creating directory "C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\".
Creating directory "cmTC_6eea6.dir\Debug\cmTC_6eea6.tlog\".
InitializeBuildStatus:
Creating "cmTC_6eea6.dir\Debug\cmTC_6eea6.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /MP12 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D CHECK_FUNCTION_EXISTS=jbg_newlen /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_6eea6.dir\Debug\" /Fd"cmTC_6eea6.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue /bigobj "E:\Programs\cmake\share\cmake-3.9\Modules\CheckFunctionExists.c"
Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
CheckFunctionExists.c
cl /c /Zi /W3 /WX- /diagnostics:classic /MP12 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D CHECK_FUNCTION_EXISTS=jbg_newlen /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_6eea6.dir\Debug\" /Fd"cmTC_6eea6.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue /bigobj "E:\Programs\cmake\share\cmake-3.9\Modules\CheckFunctionExists.c"
Link:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\cmTC_6eea6.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/opencv320/build/CMakeFiles/CMakeTmp/Debug/cmTC_6eea6.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/opencv320/build/CMakeFiles/CMakeTmp/Debug/cmTC_6eea6.lib" /MACHINE:X64 /machine:x64 cmTC_6eea6.dir\Debug\CheckFunctionExists.obj
CheckFunctionExists.obj : error LNK2019: unresolved external symbol jbg_newlen referenced in function main [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_6eea6.vcxproj]
C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\cmTC_6eea6.exe : fatal error LNK1120: 1 unresolved externals [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_6eea6.vcxproj]
Done Building Project "C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_6eea6.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_6eea6.vcxproj" (default target) (1) ->
(Link target) ->
CheckFunctionExists.obj : error LNK2019: unresolved external symbol jbg_newlen referenced in function main [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_6eea6.vcxproj]
C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\cmTC_6eea6.exe : fatal error LNK1120: 1 unresolved externals [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_6eea6.vcxproj]
0 Warning(s) 2 Error(s)
Time Elapsed 00:00:01.51
Determining if the function mmap exists failed with the following output: Change Dir: C:/opencv320/build/CMakeFiles/CMakeTmp
Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_d8e82.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0" Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 8/10/2017 7:40:24 PM.
Project "C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_d8e82.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "cmTC_d8e82.dir\Debug\".
Creating directory "C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\".
Creating directory "cmTC_d8e82.dir\Debug\cmTC_d8e82.tlog\".
InitializeBuildStatus:
Creating "cmTC_d8e82.dir\Debug\cmTC_d8e82.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /MP12 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D CHECK_FUNCTION_EXISTS=mmap /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_d8e82.dir\Debug\" /Fd"cmTC_d8e82.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue /bigobj "E:\Programs\cmake\share\cmake-3.9\Modules\CheckFunctionExists.c"
Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
CheckFunctionExists.c
cl /c /Zi /W3 /WX- /diagnostics:classic /MP12 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D CHECK_FUNCTION_EXISTS=mmap /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_d8e82.dir\Debug\" /Fd"cmTC_d8e82.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue /bigobj "E:\Programs\cmake\share\cmake-3.9\Modules\CheckFunctionExists.c"
Link:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\cmTC_d8e82.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/opencv320/build/CMakeFiles/CMakeTmp/Debug/cmTC_d8e82.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/opencv320/build/CMakeFiles/CMakeTmp/Debug/cmTC_d8e82.lib" /MACHINE:X64 /machine:x64 cmTC_d8e82.dir\Debug\CheckFunctionExists.obj
CheckFunctionExists.obj : error LNK2019: unresolved external symbol mmap referenced in function main [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_d8e82.vcxproj]
C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\cmTC_d8e82.exe : fatal error LNK1120: 1 unresolved externals [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_d8e82.vcxproj]
Done Building Project "C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_d8e82.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_d8e82.vcxproj" (default target) (1) ->
(Link target) ->
CheckFunctionExists.obj : error LNK2019: unresolved external symbol mmap referenced in function main [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_d8e82.vcxproj]
C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\cmTC_d8e82.exe : fatal error LNK1120: 1 unresolved externals [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_d8e82.vcxproj]
0 Warning(s) 2 Error(s)
Time Elapsed 00:00:01.07
Determining if the include file unistd.h exists failed with the following output: Change Dir: C:/opencv320/build/CMakeFiles/CMakeTmp
Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_ffb69.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0" Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 8/10/2017 7:40:29 PM.
Project "C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_ffb69.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "cmTC_ffb69.dir\Debug\".
Creating directory "C:\opencv320\build\CMakeFiles\CMakeTmp\Debug\".
Creating directory "cmTC_ffb69.dir\Debug\cmTC_ffb69.tlog\".
InitializeBuildStatus:
Creating "cmTC_ffb69.dir\Debug\cmTC_ffb69.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\CL.exe /c /Zi /W3 /WX- /diagnostics:classic /MP12 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_ffb69.dir\Debug\" /Fd"cmTC_ffb69.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue /bigobj C:\opencv320\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c
Microsoft (R) C/C++ Optimizing Compiler Version 19.10.25019 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
CheckIncludeFile.c
cl /c /Zi /W3 /WX- /diagnostics:classic /MP12 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_ffb69.dir\Debug\" /Fd"cmTC_ffb69.dir\Debug\vc141.pdb" /Gd /TC /errorReport:queue /bigobj C:\opencv320\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c
C:\opencv320\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_ffb69.vcxproj]
Done Building Project "C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_ffb69.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_ffb69.vcxproj" (default target) (1) ->
(ClCompile target) ->
C:\opencv320\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\opencv320\build\CMakeFiles\CMakeTmp\cmTC_ffb69.vcxproj]
0 Warning(s) 1 Error(s)
Time Elapsed 00:00:01.00