質問編集履歴
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -2,4 +2,79 @@
|
|
2
2
|
最終的にはタイトルのようなことをしたいのですがインストールの段階でもう詰まってます。まずtesseractをインストールしなければならないと思うのですが[サイト](https://qiita.com/bohemian916/items/67f22ee7aeac103dd205)のようにver3.0.4とかが表示されてるものが見当たりません。一応適当にダウンロードしてみたのが以下の画像のものです。
|
3
3
|
画像の通りでダウンロードすべきものは合っているのでしょうか?
|
4
4
|
#参考サイト
|
5
|
-
https://qiita.com/bohemian916/items/67f22ee7aeac103dd205
|
5
|
+
https://qiita.com/bohemian916/items/67f22ee7aeac103dd205
|
6
|
+
#追記
|
7
|
+
ダウンロードは出来たので次はOpenCVのビルドを行いたいのですが、[私が参考にしたサイト](http://whoopsidaisies.hatenablog.com/entry/2014/11/12/003100)が参考にしたサイトの通りに行きません。
|
8
|
+
#エラーメッセージ
|
9
|
+

|
10
|
+
CMake Deprecation Warning at CMakeLists.txt:72 (cmake_policy):
|
11
|
+
The OLD behavior for policy CMP0022 will be removed from a future version
|
12
|
+
of CMake.
|
13
|
+
|
14
|
+
The cmake-policies(7) manual explains that the OLD behaviors of all
|
15
|
+
policies are deprecated and that a policy should be set to OLD only under
|
16
|
+
specific short-term circumstances. Projects should be ported to the NEW
|
17
|
+
behavior and not rely on setting a policy to OLD.
|
18
|
+
|
19
|
+
|
20
|
+
CMake Deprecation Warning at CMakeLists.txt:77 (cmake_policy):
|
21
|
+
The OLD behavior for policy CMP0026 will be removed from a future version
|
22
|
+
of CMake.
|
23
|
+
|
24
|
+
The cmake-policies(7) manual explains that the OLD behaviors of all
|
25
|
+
policies are deprecated and that a policy should be set to OLD only under
|
26
|
+
specific short-term circumstances. Projects should be ported to the NEW
|
27
|
+
behavior and not rely on setting a policy to OLD.
|
28
|
+
|
29
|
+
|
30
|
+
CMake Error at CMakeLists.txt:93 (project):
|
31
|
+
Failed to run MSBuild command:
|
32
|
+
|
33
|
+
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe
|
34
|
+
|
35
|
+
to get the value of VCTargetsPath:
|
36
|
+
|
37
|
+
.NET Framework 向け Microsoft (R) Build Engine バージョン 15.4.8.50001
|
38
|
+
|
39
|
+
Copyright (C) Microsoft Corporation.All rights reserved.
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
2017/11/21 20:20:45 にビルドを開始しました。
|
44
|
+
|
45
|
+
ノード 1 上のプロジェクト "C:\Users\○○\Downloads\opencv-3.1.0\build\CMakeFiles\3.9.4\VCTargetsPath.vcxproj" (既定のターゲット)。
|
46
|
+
|
47
|
+
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\ARM\PlatformToolsets\v141\Toolset.targets(45,5): error MSB8036: Windows SDK バージョン 10.0.15063.0 が見つかりませんでした。必要なバージョンの Windows SDK をインストールするか、プロジェクト プロパティ ページで SDK バージョンを変更するか、ソリューションを右クリックして [ソリューションの再ターゲット] を選択してください。 [C:\Users\○○\Downloads\opencv-3.1.0\build\CMakeFiles\3.9.4\VCTargetsPath.vcxproj]
|
48
|
+
|
49
|
+
プロジェクト "C:\Users\○○\Downloads\opencv-3.1.0\build\CMakeFiles\3.9.4\VCTargetsPath.vcxproj" (既定のターゲット) のビルドが終了しました -- 失敗。
|
50
|
+
|
51
|
+
|
52
|
+
|
53
|
+
ビルドに失敗しました。
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
"C:\Users\tatsuya\Downloads\opencv-3.1.0\build\CMakeFiles\3.9.4\VCTargetsPath.vcxproj" (既定のターゲット) (1) ->
|
58
|
+
|
59
|
+
(Desktop_PlatformPrepareForBuild ターゲット) ->
|
60
|
+
|
61
|
+
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Platforms\ARM\PlatformToolsets\v141\Toolset.targets(45,5): error MSB8036: Windows SDK バージョン 10.0.15063.0 が見つかりませんでした。必要なバージョンの Windows SDK をインストールするか、プロジェクト プロパティ ページで SDK バージョンを変更するか、ソリューションを右クリックして [ソリューションの再ターゲット] を選択してください。 [C:\Users\○○\Downloads\opencv-3.1.0\build\CMakeFiles\3.9.4\VCTargetsPath.vcxproj]
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
0 個の警告
|
66
|
+
|
67
|
+
1 エラー
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
経過時間 00:00:00.18
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
Exit code: 1
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
Configuring incomplete, errors occurred!
|
80
|
+
See also "C:/Users/○○/Downloads/opencv-3.1.0/build/CMakeFiles/CMakeOutput.log".
|