Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unsuccessful in installing OPenCV 2.4.10-Python in Windows from source

Hi,

I tried installing OpenCV-2.4.10 for Python-3.4.1 (Anaconda distribution) for Windows-7, 64-bit from the source.

I used CMake and Visual Studio 2012. The whole process went well with no errors in building ALL-BUILD and INSTALL projects. However, I don't see the cv2 module working in Python yet. Is there something more I need to do before I can import the cv2 module in Python? Any help is highly appreciated.

Unsuccessful in installing OPenCV 2.4.10-Python in Windows from source

Hi,

I tried installing OpenCV-2.4.10 for Python-3.4.1 (Anaconda distribution) for Windows-7, 64-bit from the source.

I used CMake and Visual Studio 2012. The whole process went well with no errors in building ALL-BUILD and INSTALL projects. However, I don't see the cv2 module working in Python yet. Is there something more I need to do before I can import the cv2 module in Python? Any help is highly appreciated.

The log file CMakeErrors.log is attached for troubleshooting.

Unsuccessful in installing OPenCV 2.4.10-Python in Windows from source

Hi,

I tried installing OpenCV-2.4.10 for Python-3.4.1 (Anaconda distribution) for Windows-7, 64-bit from the source.

I used CMake and Visual Studio 2012. The whole process went well with no errors in building ALL-BUILD and INSTALL projects. However, I don't see the cv2 module working in Python yet. Is there something more I need to do before I can import the cv2 module in Python? Any help is highly appreciated.

The log file CMakeErrors.log is attached for troubleshooting.troubleshooting. I can't attach a log file, so I am cutting and pasting the content of the CMakeError.log:

Determining if the system is big endian passed with the following output: Change Dir: C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec408104936 Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.50727.1. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec408104936, Configuration: Debug Win32 ------ 1> Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86 1> Copyright (C) Microsoft Corporation. All rights reserved. 1>
1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oi /Oy- /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 /arch:SSE2 /fp:fast /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec408104936.dir\Debug\" /Fd"C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec408104936.pdb" /Gd /TC /analyze- /errorReport:prompt /bigobj TestEndianess.c 1>
1> TestEndianess.c 1> cmTryCompileExec408104936.vcxproj -> C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec408104936.exe ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== 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:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2303162215 Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.50727.1. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec2303162215, Configuration: Debug Win32 ------ 1> Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86 1> Copyright (C) Microsoft Corporation. All rights reserved. 1>
1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oi /Oy- /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 /arch:SSE2 /fp:fast /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec2303162215.dir\Debug\" /Fd"C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2303162215.pdb" /Gd /TC /analyze- /errorReport:prompt /bigobj "C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CheckFunctionExists.c" 1>
1> CheckFunctionExists.c 1>CheckFunctionExists.obj : error LNK2019: unresolved external symbol _fseeko referenced in function _main 1>C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec2303162215.exe : fatal error LNK1120: 1 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Determining if the include file unistd.h exists failed with the following output: Change Dir: C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec193557343 Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.50727.1. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec193557343, Configuration: Debug Win32 ------ 1> Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86 1> Copyright (C) Microsoft Corporation. All rights reserved. 1>
1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oi /Oy- /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 /arch:SSE2 /fp:fast /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec193557343.dir\Debug\" /Fd"C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec193557343.pdb" /Gd /TC /analyze- /errorReport:prompt /bigobj CheckIncludeFile.c 1>
1> CheckIncludeFile.c 1>CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Determining size of off64_t failed with the following output: Change Dir: C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2488369229 Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.50727.1. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec2488369229, Configuration: Debug Win32 ------ 1> Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86 1> Copyright (C) Microsoft Corporation. All rights reserved. 1>
1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oi /Oy- /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 /arch:SSE2 /fp:fast /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec2488369229.dir\Debug\" /Fd"C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2488369229.pdb" /Gd /TC /analyze- /errorReport:prompt /bigobj "C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CheckTypeSize\OFF64_T.c" 1>
1> OFF64_T.c 1>C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CheckTypeSize\OFF64_T.c(19): error C2065: 'off64_t' : undeclared identifier 1>C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CheckTypeSize\OFF64_T.c(20): error C2065: 'off64_t' : undeclared identifier 1>C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CheckTypeSize\OFF64_T.c(21): error C2065: 'off64_t' : undeclared identifier 1>C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CheckTypeSize\OFF64_T.c(22): error C2065: 'off64_t' : undeclared identifier 1>C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CheckTypeSize\OFF64_T.c(23): error C2065: 'off64_t' : undeclared identifier ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/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:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2207784042 Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.50727.1. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec2207784042, Configuration: Debug Win32 ------ 1> Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86 1> Copyright (C) Microsoft Corporation. All rights reserved. 1>
1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oi /Oy- /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 /arch:SSE2 /fp:fast /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec2207784042.dir\Debug\" /Fd"C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2207784042.pdb" /Gd /TC /analyze- /errorReport:prompt /bigobj "C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CheckFunctionExists.c" 1>
1> CheckFunctionExists.c 1>CheckFunctionExists.obj : error LNK2019: unresolved external symbol _jbg_newlen referenced in function _main 1>C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec2207784042.exe : fatal error LNK1120: 1 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Determining if the function mmap exists failed with the following output: Change Dir: C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec3050177747 Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.50727.1. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec3050177747, Configuration: Debug Win32 ------ 1> Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86 1> Copyright (C) Microsoft Corporation. All rights reserved. 1>
1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oi /Oy- /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 _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /arch:SSE2 /fp:fast /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec3050177747.dir\Debug\" /Fd"C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3050177747.pdb" /Gd /TC /analyze- /errorReport:prompt /bigobj "C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CheckFunctionExists.c" 1>
1> CheckFunctionExists.c 1>CheckFunctionExists.obj : error LNK2019: unresolved external symbol _mmap referenced in function _main 1>C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec3050177747.exe : fatal error LNK1120: 1 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Determining if the include file unistd.h exists failed with the following output: Change Dir: C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec79571658 Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.50727.1. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec79571658, Configuration: Debug Win32 ------ 1> Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86 1> Copyright (C) Microsoft Corporation. All rights reserved. 1>
1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oi /Oy- /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 /arch:SSE2 /fp:fast /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec79571658.dir\Debug\" /Fd"C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec79571658.pdb" /Gd /TC /analyze- /errorReport:prompt /bigobj CheckIncludeFile.c 1>
1> CheckIncludeFile.c 1>CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========*

click to hide/show revision 4
No.4 Revision

updated 2015-02-08 12:43:22 -0600

berak gravatar image

Unsuccessful in installing OPenCV 2.4.10-Python in Windows from source

Hi,

I tried installing OpenCV-2.4.10 for Python-3.4.1 (Anaconda distribution) for Windows-7, 64-bit from the source.

I used CMake and Visual Studio 2012. The whole process went well with no errors in building ALL-BUILD and INSTALL projects. However, I don't see the cv2 module working in Python yet. Is there something more I need to do before I can import the cv2 module in Python? Any help is highly appreciated.

The log file CMakeErrors.log is attached for troubleshooting. I can't attach a log file, so I am cutting and pasting the content of the CMakeError.log:

Determining

*Determining if the system is big endian passed with the following output:
Change Dir: C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp
Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec408104936
Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.50727.1.
Copyright (C) Microsoft Corp. All rights reserved.
1>------ Build started: Project: cmTryCompileExec408104936, Configuration: Debug Win32 ------
1>  Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86
1>  Copyright (C) Microsoft Corporation.  All rights reserved.
1> 
1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oi /Oy- /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 /arch:SSE2 /fp:fast /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec408104936.dir\Debug\" /Fo"cmTryCompileExec408104936.dir\Debug\\" /Fd"C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec408104936.pdb" /Gd /TC /analyze- /errorReport:prompt /bigobj TestEndianess.c 1>
1> TestEndianess.c 1> cmTryCompileExec408104936.vcxproj -> C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec408104936.exe ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== 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__

0x0000}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[];

else

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

endif

*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:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2303162215 Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.50727.1. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec2303162215, Configuration: Debug Win32 ------ 1> Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86 1> Copyright (C) Microsoft Corporation. All rights reserved. 1>
1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oi /Oy- /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 /arch:SSE2 /fp:fast /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec2303162215.dir\Debug\" /Fo"cmTryCompileExec2303162215.dir\Debug\\" /Fd"C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2303162215.pdb" /Gd /TC /analyze- /errorReport:prompt /bigobj "C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CheckFunctionExists.c" 1>
1> CheckFunctionExists.c 1>CheckFunctionExists.obj : error LNK2019: unresolved external symbol _fseeko referenced in function _main 1>C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec2303162215.exe : fatal error LNK1120: 1 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Determining if the include file unistd.h exists failed with the following output: Change Dir: C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec193557343 Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.50727.1. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec193557343, Configuration: Debug Win32 ------ 1> Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86 1> Copyright (C) Microsoft Corporation. All rights reserved. 1>
1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oi /Oy- /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 /arch:SSE2 /fp:fast /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec193557343.dir\Debug\" /Fo"cmTryCompileExec193557343.dir\Debug\\" /Fd"C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec193557343.pdb" /Gd /TC /analyze- /errorReport:prompt /bigobj CheckIncludeFile.c 1>
1> CheckIncludeFile.c 1>CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Determining size of off64_t failed with the following output: Change Dir: C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2488369229 Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.50727.1. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec2488369229, Configuration: Debug Win32 ------ 1> Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86 1> Copyright (C) Microsoft Corporation. All rights reserved. 1>
1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oi /Oy- /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 /arch:SSE2 /fp:fast /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec2488369229.dir\Debug\" /Fo"cmTryCompileExec2488369229.dir\Debug\\" /Fd"C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2488369229.pdb" /Gd /TC /analyze- /errorReport:prompt /bigobj "C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CheckTypeSize\OFF64_T.c" 1>
1> OFF64_T.c 1>C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CheckTypeSize\OFF64_T.c(19): error C2065: 'off64_t' : undeclared identifier 1>C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CheckTypeSize\OFF64_T.c(20): error C2065: 'off64_t' : undeclared identifier 1>C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CheckTypeSize\OFF64_T.c(21): error C2065: 'off64_t' : undeclared identifier 1>C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CheckTypeSize\OFF64_T.c(22): error C2065: 'off64_t' : undeclared identifier 1>C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CheckTypeSize\OFF64_T.c(23): error C2065: 'off64_t' : undeclared identifier ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CheckTypeSize/OFF64_T.c:

include <sys types.h="">

include <stdint.h>

include <stddef.h>

undef KEY

if defined(__i386)

C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/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)

'_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4'

elif defined(__ppc__)

'_','_','x','8','6','_','6','4' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_'

elif defined(__ppc64__)

'_','_','p','p','c','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_'

endif

define '_','_','p','p','c','6','4','_','_' #endif #define SIZE (sizeof(off64_t))

(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

']', #ifdef KEY ' ','k','e','y','[', KEY, ']',

endif

'\0'};

ifdef __CLASSIC_C__

']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[];

else

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

endif

*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:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec2207784042 Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.50727.1. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec2207784042, Configuration: Debug Win32 ------ 1> Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86 1> Copyright (C) Microsoft Corporation. All rights reserved. 1>
1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oi /Oy- /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 /arch:SSE2 /fp:fast /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec2207784042.dir\Debug\" /Fo"cmTryCompileExec2207784042.dir\Debug\\" /Fd"C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec2207784042.pdb" /Gd /TC /analyze- /errorReport:prompt /bigobj "C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CheckFunctionExists.c" 1>
1> CheckFunctionExists.c 1>CheckFunctionExists.obj : error LNK2019: unresolved external symbol _jbg_newlen referenced in function _main 1>C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec2207784042.exe : fatal error LNK1120: 1 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Determining if the function mmap exists failed with the following output: Change Dir: C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec3050177747 Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.50727.1. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec3050177747, Configuration: Debug Win32 ------ 1> Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86 1> Copyright (C) Microsoft Corporation. All rights reserved. 1>
1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oi /Oy- /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 _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /Gy /arch:SSE2 /fp:fast /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec3050177747.dir\Debug\" /Fo"cmTryCompileExec3050177747.dir\Debug\\" /Fd"C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3050177747.pdb" /Gd /TC /analyze- /errorReport:prompt /bigobj "C:\Program Files (x86)\CMake 2.8\share\cmake-2.8\Modules\CheckFunctionExists.c" 1>
1> CheckFunctionExists.c 1>CheckFunctionExists.obj : error LNK2019: unresolved external symbol _mmap referenced in function _main 1>C:\Users\Desri\Downloads\opencv-2.4.10\opencv-2.4.10\build\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec3050177747.exe : fatal error LNK1120: 1 unresolved externals ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Determining if the include file unistd.h exists failed with the following output: Change Dir: C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp Run Build Command:C:\PROGRA~2\MICROS~1.0\Common7\IDE\devenv.com CMAKE_TRY_COMPILE.sln /build Debug /project cmTryCompileExec79571658 Microsoft (R) Microsoft Visual Studio 2012 Version 11.0.50727.1. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec79571658, Configuration: Debug Win32 ------ 1> Microsoft (R) C/C++ Optimizing Compiler Version 17.00.50727.1 for x86 1> Copyright (C) Microsoft Corporation. All rights reserved. 1>
1> cl /c /Zi /W3 /WX- /Od /Ob0 /Oi /Oy- /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 /arch:SSE2 /fp:fast /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec79571658.dir\Debug\" /Fo"cmTryCompileExec79571658.dir\Debug\\" /Fd"C:/Users/Desri/Downloads/opencv-2.4.10/opencv-2.4.10/build/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec79571658.pdb" /Gd /TC /analyze- /errorReport:prompt /bigobj CheckIncludeFile.c 1>
1> CheckIncludeFile.c 1>CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========*

==========*