Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can't install opencv320 with opencv_contrib

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

Can't install opencv320 with opencv_contribbuild opencv_contrib for opencv3.2.0

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

Can't build opencv_contrib for opencv3.2.0

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!

image description

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

Can't build opencv_contrib for opencv3.2.0

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!

FP16: Compiler support is available Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) (Required is at least version "1.2.3") found IPP (ICV version): 9.0.1 [9.0.1] at: C:/opencv320/build/3rdparty/ippicv/ippicv_win CUDA detected: 8.0 CUDA NVCC target flags: -gencode;arch=compute_20,code=sm_20;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-D_FORCE_INLINES Could not find OpenBLAS include. Turning OpenBLAS_FOUND off Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file Caffe: NO Protobuf: NO Glog: NO CMake Deprecation Warning at C:/opencv_contrib/modules/dnn_modern/CMakeLists.txt:9 (cmake_policy): The OLD behavior for policy CMP0028 will be removed from a future version of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

Downloading ... CMake Error at C:/opencv320/sources/cmake/OpenCVUtils.cmake:1043 (file): file DOWNLOAD cannot open file for write. Call Stack (most recent call first):
C:/opencv_contrib/modules/dnn_modern/CMakeLists.txt:20 (ocv_download)

CMake Error at C:/opencv320/sources/cmake/OpenCVUtils.cmake:1047 (message): Failed to download . Status= Call Stack (most recent call first):
C:/opencv_contrib/modules/dnn_modern/CMakeLists.txt:20 (ocv_download)

Configuring incomplete, errors occurred! See also "C:/opencv320/build/CMakeFiles/CMakeOutput.log". See also "C:/opencv320/build/CMakeFiles/CMakeError.log".

image description

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