i downloaded latest repo from GitHub (Master branch OpenCv 3.2).
i'm building with tbb and world [Cmake gui, located tbb header file and tbb.lib, tbb_debug.lib ]
used visual studio 2015 community [x86 release mode]
build failed, what could ahve gone wrong?
Below is the output from visual studio (here's CMakeCache.txt and cvconfig.h)
Thanks
1>------ Build started: Project: opencv_world_AVX, Configuration: Release Win32 ------
2>------ Build started: Project: opencv_world_AVX2, Configuration: Release Win32 ------
3>------ Skipped Build: Project: RUN_TESTS, Configuration: Release Win32 ------
3>Project not selected to build for this solution configuration
4>------ Skipped Build: Project: uninstall, Configuration: Release Win32 ------
4>Project not selected to build for this solution configuration
1> mathfuncs_core.avx.cpp
2> mathfuncs_core.avx2.cpp
1>C:\OpenCv_3.2\Source\modules\core\include\opencv2/core/private.hpp(63): fatal error C1083: Cannot open
include file: 'tbb/tbb.h': No such file or directory
2>C:\OpenCv_3.2\Source\modules\core\include\opencv2/core/private.hpp(63): fatal error C1083: Cannot open include file: 'tbb/tbb.h': No such file or directory
5>------ Build started: Project: opencv_world, Configuration: Release Win32 ------
5>LINK : fatal error LNK1181: cannot open input file 'C:\OpenCv_3.2\Build\modules\world\opencv_world_AVX.dir\Release\mathfuncs_core.avx.obj'
6>------ Build started: Project: opencv_createsamples, Configuration: Release Win32 ------
7>------ Build started: Project: opencv_interactive-calibration, Configuration: Release Win32 ------
8>------ Build started: Project: opencv_python3, Configuration: Release Win32 ------
9>------ Build started: Project: opencv_test_highgui, Configuration: Release Win32 ------
6>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
7>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
8>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
10>------ Build started: Project: opencv_perf_calib3d, Configuration: Release Win32 ------
11>------ Build started: Project: opencv_perf_core, Configuration: Release Win32 ------
12>------ Build started: Project: opencv_perf_features2d, Configuration: Release Win32 ------
9>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
13>------ Build started: Project: opencv_perf_imgcodecs, Configuration: Release Win32 ------
10>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
14>------ Build started: Project: opencv_perf_imgproc, Configuration: Release Win32 ------
11>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
12>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
15>------ Build started: Project: opencv_perf_objdetect, Configuration: Release Win32 ------
16>------ Build started: Project: opencv_perf_photo, Configuration: Release Win32 ------
13>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
17>------ Build started: Project: opencv_perf_stitching, Configuration: Release Win32 ------
15>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
16>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
18>------ Build started: Project: opencv_perf_superres, Configuration: Release Win32 ------
14>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
19>------ Build started: Project: opencv_test_flann, Configuration: Release Win32 ------
20>------ Build started: Project: opencv_perf_video, Configuration: Release Win32 ------
17>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
21>------ Build started: Project: opencv_perf_videoio, Configuration: Release Win32 ------
18>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
22>------ Build started: Project: opencv_test_calib3d, Configuration: Release Win32 ------
19>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
23>------ Build started: Project: opencv_test_core, Configuration: Release Win32 ------
21>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib
'
24>------ Build started: Project: opencv_test_objdetect, Configuration: Release Win32 ------
25>------ Build started: Project: opencv_test_photo, Configuration: Release Win32 ------
22>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
26>------ Build started: Project: opencv_test_shape, Configuration: Release Win32 ------
25>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
24>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
27>------ Build started: Project: opencv_test_stitching, Configuration: Release Win32 ------
28>------ Build started: Project: opencv_test_ml, Configuration: Release Win32 ------
23>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
29>------ Build started: Project: opencv_test_video, Configuration: Release Win32 ------
26>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
30>------ Build started: Project: opencv_test_videoio, Configuration: Release Win32 ------
27>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
31>------ Build started: Project: opencv_traincascade, Configuration: Release Win32 ------
28>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
32>------ Build started: Project: opencv_test_imgproc, Configuration: Release Win32 ------
29>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
33>------ Build started: Project: opencv_test_superres, Configuration: Release Win32 ------
30>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
34>------ Build started: Project: opencv_visualisation, Configuration: Release Win32 ------
31>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
35>------ Build started: Project: opencv_test_imgcodecs, Configuration: Release Win32 ------
33>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
36>------ Build started: Project: opencv_test_features2d, Configuration: Release Win32 ------
32>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
37>------ Build started: Project: opencv_annotation, Configuration: Release Win32 ------
34>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
35>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
38>------ Build started: Project: opencv_version, Configuration: Release Win32 ------
39>------ Skipped Build: Project: opencv_perf_tests, Configuration: Release Win32 ------
39>Project not selected to build for this solution configuration
40>------ Build started: Project: opencv_modules, Configuration: Release Win32 ------
40> Building Custom Rule C:/OpenCv_3.2/Source/CMakeLists.txt
36>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
41>------ Skipped Build: Project: opencv_tests, Configuration: Release Win32 ------
41>Project not selected to build for this solution configuration
37>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
38>LINK : fatal error LNK1181: cannot open input file '....\lib\Release\opencv_world320.lib'
42>------ Skipped Build: Project: INSTALL, Configuration: Release Win32 ------
42>Project not selected to build for this solution configuration
43>------ Build started: Project: PACKAGE, Configuration: Release Win32 ------
40> CMake does not need to re-run because C:\OpenCv_3.2\Build\CMakeFiles\generate.stamp is up-to-date.
43>EXEC : CPack error : Cannot find NSIS compiler makensis: likely it is not installed, or not in your PATH
43>EXEC : CPack error : Could not read NSIS registry value. This is usually caused by NSIS not being installed. Please install NSIS from http://nsis.sourceforge.net
43>EXEC : CPack error : Cannot initialize the generator NSIS
43>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: The command "setlocal
43>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: cd C:\OpenCv_3.2\Build
43>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
43>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: C:
43>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
43>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: "C:\Program Files (x86)\CMake\bin\cpack.exe" -C Release --config ./CPackConfig.cmake
43>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
43>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd
43>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
43>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel
43>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1
43>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone
43>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
43>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :VCEnd" exited with code 1.
========== Build: 1 succeeded, 37 failed, 10 up-to-date, 5 skipped ==========