Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problems with CMAKE and OpenCL

After generate a project the Visual Studio 14 does not find opencl_kernels..

I looked in cmakeerror.log and i found some erros with the fseeko funcion, and all opencl_*.cpp.rules are emptys.

Can anyone help me?

Thx

Problems with CMAKE and OpenCL

After generate a project the Visual Studio 14 does not find opencl_kernels..

I looked in cmakeerror.log and i found some erros with the fseeko funcion, and all opencl_*.cpp.rules are emptys.

Can anyone help me?

Thx

Build output check failed: Regex: 'unknown .*option' Output line: 'cl : Command line warning D9002: ignoring unknown option '-fsigned-char' [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_9f2ab.vcxproj] ' Compilation failed: source file: 'C:/opencv/install/CMakeFiles/CMakeTmp/src.cxx' check option: ' -fsigned-char' ===== BUILD LOG ===== Change Dir: C:/opencv/install/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_9f2ab.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0" Microsoft (R) Build Engine version 14.0.25420.1

Copyright (C) Microsoft Corporation. All rights reserved.

Build started 22/09/2017 10:53:20.

Project "C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_9f2ab.vcxproj" on node 1 (default targets).

PrepareForBuild:

Creating directory "cmTC_9f2ab.dir\Debug\".

Creating directory "C:\opencv\install\CMakeFiles\CMakeTmp\Debug\".

Creating directory "cmTC_9f2ab.dir\Debug\cmTC_9f2ab.tlog\".

InitializeBuildStatus:

Creating "cmTC_9f2ab.dir\Debug\cmTC_9f2ab.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHa /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_9f2ab.dir\Debug\" /Fd"cmTC_9f2ab.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue -fsigned-char C:\opencv\install\CMakeFiles\CMakeTmp\src.cxx

Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24213.1 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHa /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_9f2ab.dir\Debug\" /Fd"cmTC_9f2ab.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue -fsigned-char C:\opencv\install\CMakeFiles\CMakeTmp\src.cxx

cl : Command line warning D9002: ignoring unknown option '-fsigned-char' [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_9f2ab.vcxproj]

src.cxx

Link:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\opencv\install\CMakeFiles\CMakeTmp\Debug\cmTC_9f2ab.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:/opencv/install/CMakeFiles/CMakeTmp/Debug/cmTC_9f2ab.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/opencv/install/CMakeFiles/CMakeTmp/Debug/cmTC_9f2ab.lib" /MACHINE:X64 /machine:x64 cmTC_9f2ab.dir\Debug\src.obj

cmTC_9f2ab.vcxproj -> C:\opencv\install\CMakeFiles\CMakeTmp\Debug\cmTC_9f2ab.exe

FinalizeBuildStatus:

Deleting file "cmTC_9f2ab.dir\Debug\cmTC_9f2ab.tlog\unsuccessfulbuild".

Touching "cmTC_9f2ab.dir\Debug\cmTC_9f2ab.tlog\cmTC_9f2ab.lastbuildstate".

Done Building Project "C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_9f2ab.vcxproj" (default targets).

Build succeeded.

"C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_9f2ab.vcxproj" (default target) (1) ->

(ClCompile target) ->

cl : Command line warning D9002: ignoring unknown option '-fsigned-char' [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_9f2ab.vcxproj]

1 Warning(s)

0 Error(s)

Time Elapsed 00:00:01.02

===== END =====

Build output check failed: Regex: 'unknown .*option' Output line: 'cl : Command line warning D9002: ignoring unknown option '-fsigned-char' [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_d3dec.vcxproj] ' Compilation failed: source file: 'C:/opencv/install/CMakeFiles/CMakeTmp/src.c' check option: ' -fsigned-char' ===== BUILD LOG ===== Change Dir: C:/opencv/install/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_d3dec.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0" Microsoft (R) Build Engine version 14.0.25420.1

Copyright (C) Microsoft Corporation. All rights reserved.

Build started 22/09/2017 10:53:22.

Project "C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_d3dec.vcxproj" on node 1 (default targets).

PrepareForBuild:

Creating directory "cmTC_d3dec.dir\Debug\".

Creating directory "C:\opencv\install\CMakeFiles\CMakeTmp\Debug\".

Creating directory "cmTC_d3dec.dir\Debug\cmTC_d3dec.tlog\".

InitializeBuildStatus:

Creating "cmTC_d3dec.dir\Debug\cmTC_d3dec.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_d3dec.dir\Debug\" /Fd"cmTC_d3dec.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue -fsigned-char C:\opencv\install\CMakeFiles\CMakeTmp\src.c

Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24213.1 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_d3dec.dir\Debug\" /Fd"cmTC_d3dec.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue -fsigned-char C:\opencv\install\CMakeFiles\CMakeTmp\src.c

cl : Command line warning D9002: ignoring unknown option '-fsigned-char' [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_d3dec.vcxproj]

src.c

Link:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\opencv\install\CMakeFiles\CMakeTmp\Debug\cmTC_d3dec.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:/opencv/install/CMakeFiles/CMakeTmp/Debug/cmTC_d3dec.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/opencv/install/CMakeFiles/CMakeTmp/Debug/cmTC_d3dec.lib" /MACHINE:X64 /machine:x64 cmTC_d3dec.dir\Debug\src.obj

cmTC_d3dec.vcxproj -> C:\opencv\install\CMakeFiles\CMakeTmp\Debug\cmTC_d3dec.exe

FinalizeBuildStatus:

Deleting file "cmTC_d3dec.dir\Debug\cmTC_d3dec.tlog\unsuccessfulbuild".

Touching "cmTC_d3dec.dir\Debug\cmTC_d3dec.tlog\cmTC_d3dec.lastbuildstate".

Done Building Project "C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_d3dec.vcxproj" (default targets).

Build succeeded.

"C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_d3dec.vcxproj" (default target) (1) ->

(ClCompile target) ->

cl : Command line warning D9002: ignoring unknown option '-fsigned-char' [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_d3dec.vcxproj]

1 Warning(s)

0 Error(s)

Time Elapsed 00:00:00.78

===== END =====

Determining if the system is big endian passed with the following output: Change Dir: C:/opencv/install/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_4b996.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0" Microsoft (R) Build Engine version 14.0.25420.1

Copyright (C) Microsoft Corporation. All rights reserved.

Build started 22/09/2017 10:53:40.

Project "C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_4b996.vcxproj" on node 1 (default targets).

PrepareForBuild:

Creating directory "cmTC_4b996.dir\Debug\".

Creating directory "C:\opencv\install\CMakeFiles\CMakeTmp\Debug\".

Creating directory "cmTC_4b996.dir\Debug\cmTC_4b996.tlog\".

InitializeBuildStatus:

Creating "cmTC_4b996.dir\Debug\cmTC_4b996.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /MP4 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_4b996.dir\Debug\" /Fd"cmTC_4b996.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue /bigobj C:\opencv\install\CMakeFiles\CMakeTmp\TestEndianess.c

Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24213.1 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl /c /Zi /W3 /WX- /MP4 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_4b996.dir\Debug\" /Fd"cmTC_4b996.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue /bigobj C:\opencv\install\CMakeFiles\CMakeTmp\TestEndianess.c

TestEndianess.c

Link:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\opencv\install\CMakeFiles\CMakeTmp\Debug\cmTC_4b996.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:/opencv/install/CMakeFiles/CMakeTmp/Debug/cmTC_4b996.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/opencv/install/CMakeFiles/CMakeTmp/Debug/cmTC_4b996.lib" /MACHINE:X64 /machine:x64 cmTC_4b996.dir\Debug\TestEndianess.obj

cmTC_4b996.vcxproj -> C:\opencv\install\CMakeFiles\CMakeTmp\Debug\cmTC_4b996.exe

FinalizeBuildStatus:

Deleting file "cmTC_4b996.dir\Debug\cmTC_4b996.tlog\unsuccessfulbuild".

Touching "cmTC_4b996.dir\Debug\cmTC_4b996.tlog\cmTC_4b996.lastbuildstate".

Done Building Project "C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_4b996.vcxproj" (default targets).

Build succeeded.

0 Warning(s)

0 Error(s)

Time Elapsed 00:00:00.60

TestEndianess.c: /* A 16 bit integer is required. */ typedef unsigned short cmakeint16;

/* On a little endian machine, these 16bit ints will give "THIS IS LITTLE ENDIAN." On a big endian machine the characters will be exchanged pairwise. */ const cmakeint16 info_little[] = {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000};

/* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN." On a little endian machine the characters will be exchanged pairwise. */ const cmakeint16 info_big[] = {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000};

ifdef __CLASSIC_C__

int main(argc, argv) int argc; char *argv[];

else

int main(int argc, char *argv[])

endif

{ int require = 0; require += info_little[argc]; require += info_big[argc]; (void)argv; return require; }

Determining if the function fseeko exists failed with the following output: Change Dir: C:/opencv/install/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_e5495.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0" Microsoft (R) Build Engine version 14.0.25420.1

Copyright (C) Microsoft Corporation. All rights reserved.

Build started 22/09/2017 10:53:41.

Project "C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_e5495.vcxproj" on node 1 (default targets).

PrepareForBuild:

Creating directory "cmTC_e5495.dir\Debug\".

Creating directory "C:\opencv\install\CMakeFiles\CMakeTmp\Debug\".

Creating directory "cmTC_e5495.dir\Debug\cmTC_e5495.tlog\".

InitializeBuildStatus:

Creating "cmTC_e5495.dir\Debug\cmTC_e5495.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /MP4 /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 _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_e5495.dir\Debug\" /Fd"cmTC_e5495.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue /bigobj "C:\Program Files (x86)\CMake\share\cmake-3.5\Modules\CheckFunctionExists.c"

Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24213.1 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl /c /Zi /W3 /WX- /MP4 /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 _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_e5495.dir\Debug\" /Fd"cmTC_e5495.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue /bigobj "C:\Program Files (x86)\CMake\share\cmake-3.5\Modules\CheckFunctionExists.c"

CheckFunctionExists.c

Link:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\opencv\install\CMakeFiles\CMakeTmp\Debug\cmTC_e5495.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:/opencv/install/CMakeFiles/CMakeTmp/Debug/cmTC_e5495.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/opencv/install/CMakeFiles/CMakeTmp/Debug/cmTC_e5495.lib" /MACHINE:X64 /machine:x64 cmTC_e5495.dir\Debug\CheckFunctionExists.obj

CheckFunctionExists.obj : error LNK2019: unresolved external symbol fseeko referenced in function main [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_e5495.vcxproj]

C:\opencv\install\CMakeFiles\CMakeTmp\Debug\cmTC_e5495.exe : fatal error LNK1120: 1 unresolved externals [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_e5495.vcxproj]

Done Building Project "C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_e5495.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_e5495.vcxproj" (default target) (1) ->

(Link target) ->

CheckFunctionExists.obj : error LNK2019: unresolved external symbol fseeko referenced in function main [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_e5495.vcxproj]

C:\opencv\install\CMakeFiles\CMakeTmp\Debug\cmTC_e5495.exe : fatal error LNK1120: 1 unresolved externals [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_e5495.vcxproj]

0 Warning(s)

2 Error(s)

Time Elapsed 00:00:00.60

Determining size of off64_t failed with the following output: Change Dir: C:/opencv/install/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_b6831.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0" Microsoft (R) Build Engine version 14.0.25420.1

Copyright (C) Microsoft Corporation. All rights reserved.

Build started 22/09/2017 10:53:42.

Project "C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_b6831.vcxproj" on node 1 (default targets).

PrepareForBuild:

Creating directory "cmTC_b6831.dir\Debug\".

Creating directory "C:\opencv\install\CMakeFiles\CMakeTmp\Debug\".

Creating directory "cmTC_b6831.dir\Debug\cmTC_b6831.tlog\".

InitializeBuildStatus:

Creating "cmTC_b6831.dir\Debug\cmTC_b6831.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /MP4 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_b6831.dir\Debug\" /Fd"cmTC_b6831.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue /bigobj C:\opencv\install\CMakeFiles\CheckTypeSize\OFF64_T.c

Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24213.1 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl /c /Zi /W3 /WX- /MP4 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_b6831.dir\Debug\" /Fd"cmTC_b6831.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue /bigobj C:\opencv\install\CMakeFiles\CheckTypeSize\OFF64_T.c

OFF64_T.c

C:\opencv\install\CMakeFiles\CheckTypeSize\OFF64_T.c(19): error C2065: 'off64_t': undeclared identifier [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_b6831.vcxproj]

C:\opencv\install\CMakeFiles\CheckTypeSize\OFF64_T.c(20): error C2065: 'off64_t': undeclared identifier [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_b6831.vcxproj]

C:\opencv\install\CMakeFiles\CheckTypeSize\OFF64_T.c(21): error C2065: 'off64_t': undeclared identifier [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_b6831.vcxproj]

C:\opencv\install\CMakeFiles\CheckTypeSize\OFF64_T.c(22): error C2065: 'off64_t': undeclared identifier [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_b6831.vcxproj]

C:\opencv\install\CMakeFiles\CheckTypeSize\OFF64_T.c(23): error C2065: 'off64_t': undeclared identifier [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_b6831.vcxproj]

Done Building Project "C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_b6831.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_b6831.vcxproj" (default target) (1) ->

(ClCompile target) ->

C:\opencv\install\CMakeFiles\CheckTypeSize\OFF64_T.c(19): error C2065: 'off64_t': undeclared identifier [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_b6831.vcxproj]

C:\opencv\install\CMakeFiles\CheckTypeSize\OFF64_T.c(20): error C2065: 'off64_t': undeclared identifier [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_b6831.vcxproj]

C:\opencv\install\CMakeFiles\CheckTypeSize\OFF64_T.c(21): error C2065: 'off64_t': undeclared identifier [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_b6831.vcxproj]

C:\opencv\install\CMakeFiles\CheckTypeSize\OFF64_T.c(22): error C2065: 'off64_t': undeclared identifier [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_b6831.vcxproj]

C:\opencv\install\CMakeFiles\CheckTypeSize\OFF64_T.c(23): error C2065: 'off64_t': undeclared identifier [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_b6831.vcxproj]

0 Warning(s)

5 Error(s)

Time Elapsed 00:00:00.38

C:/opencv/install/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:/opencv/install/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_f3625.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0" Microsoft (R) Build Engine version 14.0.25420.1

Copyright (C) Microsoft Corporation. All rights reserved.

Build started 22/09/2017 10:53:46.

Project "C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_f3625.vcxproj" on node 1 (default targets).

PrepareForBuild:

Creating directory "cmTC_f3625.dir\Debug\".

Creating directory "C:\opencv\install\CMakeFiles\CMakeTmp\Debug\".

Creating directory "cmTC_f3625.dir\Debug\cmTC_f3625.tlog\".

InitializeBuildStatus:

Creating "cmTC_f3625.dir\Debug\cmTC_f3625.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /MP4 /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 _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_f3625.dir\Debug\" /Fd"cmTC_f3625.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue /bigobj "C:\Program Files (x86)\CMake\share\cmake-3.5\Modules\CheckFunctionExists.c"

Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24213.1 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl /c /Zi /W3 /WX- /MP4 /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 _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_f3625.dir\Debug\" /Fd"cmTC_f3625.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue /bigobj "C:\Program Files (x86)\CMake\share\cmake-3.5\Modules\CheckFunctionExists.c"

CheckFunctionExists.c

Link:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\opencv\install\CMakeFiles\CMakeTmp\Debug\cmTC_f3625.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:/opencv/install/CMakeFiles/CMakeTmp/Debug/cmTC_f3625.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/opencv/install/CMakeFiles/CMakeTmp/Debug/cmTC_f3625.lib" /MACHINE:X64 /machine:x64 cmTC_f3625.dir\Debug\CheckFunctionExists.obj

CheckFunctionExists.obj : error LNK2019: unresolved external symbol jbg_newlen referenced in function main [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_f3625.vcxproj]

C:\opencv\install\CMakeFiles\CMakeTmp\Debug\cmTC_f3625.exe : fatal error LNK1120: 1 unresolved externals [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_f3625.vcxproj]

Done Building Project "C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_f3625.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_f3625.vcxproj" (default target) (1) ->

(Link target) ->

CheckFunctionExists.obj : error LNK2019: unresolved external symbol jbg_newlen referenced in function main [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_f3625.vcxproj]

C:\opencv\install\CMakeFiles\CMakeTmp\Debug\cmTC_f3625.exe : fatal error LNK1120: 1 unresolved externals [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_f3625.vcxproj]

0 Warning(s)

2 Error(s)

Time Elapsed 00:00:00.60

Determining if the include file pthread.h exists failed with the following output: Change Dir: C:/opencv/install/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_cae06.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0" Microsoft (R) Build Engine version 14.0.25420.1

Copyright (C) Microsoft Corporation. All rights reserved.

Build started 22/09/2017 10:53:55.

Project "C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_cae06.vcxproj" on node 1 (default targets).

PrepareForBuild:

Creating directory "cmTC_cae06.dir\Debug\".

Creating directory "C:\opencv\install\CMakeFiles\CMakeTmp\Debug\".

Creating directory "cmTC_cae06.dir\Debug\cmTC_cae06.tlog\".

InitializeBuildStatus:

Creating "cmTC_cae06.dir\Debug\cmTC_cae06.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /MP4 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_cae06.dir\Debug\" /Fd"cmTC_cae06.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue /bigobj C:\opencv\install\CMakeFiles\CMakeTmp\CheckIncludeFile.c

Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24213.1 for x64

Copyright (C) Microsoft Corporation. All rights reserved.

cl /c /Zi /W3 /WX- /MP4 /Od /Ob0 /Oi /D WIN32 /D _WINDOWS /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_cae06.dir\Debug\" /Fd"cmTC_cae06.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue /bigobj C:\opencv\install\CMakeFiles\CMakeTmp\CheckIncludeFile.c

CheckIncludeFile.c

C:\opencv\install\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_cae06.vcxproj]

Done Building Project "C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_cae06.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_cae06.vcxproj" (default target) (1) ->

(ClCompile target) ->

C:\opencv\install\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\opencv\install\CMakeFiles\CMakeTmp\cmTC_cae06.vcxproj]

0 Warning(s)

1 Error(s)

Time Elapsed 00:00:00.50