質問編集履歴

5

追加

2018/03/24 09:26

投稿

aiueoaiueoaiue
aiueoaiueoaiue

スコア94

test CHANGED
File without changes
test CHANGED
@@ -330,7 +330,73 @@
330
330
 
331
331
  ```
332
332
 
333
-
333
+ ###プログラムコンパイル時のエラー
334
+
335
+ ```
336
+
337
+ Hello.java:1: エラー: パッケージorg.opencv.coreは存在しません
338
+
339
+ import org.opencv.core.Core;
340
+
341
+ ^
342
+
343
+ Hello.java:2: エラー: パッケージorg.opencv.coreは存在しません
344
+
345
+ import org.opencv.core.CvType;
346
+
347
+ ^
348
+
349
+ Hello.java:3: エラー: パッケージorg.opencv.coreは存在しません
350
+
351
+ import org.opencv.core.Mat;
352
+
353
+ ^
354
+
355
+ Hello.java:7: エラー: シンボルを見つけられません
356
+
357
+ System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
358
+
359
+ ^
360
+
361
+ シンボル: 変数 Core
362
+
363
+ 場所: クラス Hello
364
+
365
+ Hello.java:8: エラー: シンボルを見つけられません
366
+
367
+ Mat mat = Mat.eye(3, 3, CvType.CV_8UC1);
368
+
369
+ ^
370
+
371
+ シンボル: クラス Mat
372
+
373
+ 場所: クラス Hello
374
+
375
+ Hello.java:8: エラー: シンボルを見つけられません
376
+
377
+ Mat mat = Mat.eye(3, 3, CvType.CV_8UC1);
378
+
379
+ ^
380
+
381
+ シンボル: 変数 CvType
382
+
383
+ 場所: クラス Hello
384
+
385
+ Hello.java:8: エラー: シンボルを見つけられません
386
+
387
+ Mat mat = Mat.eye(3, 3, CvType.CV_8UC1);
388
+
389
+ ^
390
+
391
+ シンボル: 変数 Mat
392
+
393
+ 場所: クラス Hello
394
+
395
+ エラー7個
396
+
397
+
398
+
399
+ ```
334
400
 
335
401
  ### ダウンロードの手順
336
402
 

4

追加

2018/03/24 09:26

投稿

aiueoaiueoaiue
aiueoaiueoaiue

スコア94

test CHANGED
File without changes
test CHANGED
File without changes

3

修正

2018/03/24 08:30

投稿

aiueoaiueoaiue
aiueoaiueoaiue

スコア94

test CHANGED
File without changes
test CHANGED
@@ -196,7 +196,7 @@
196
196
 
197
197
  -- Use IPP: 9.0.1 [9.0.1]
198
198
 
199
- -- at: /home/seigyo/support/src/opencv/opencv-3.1.0/3rdparty/ippicv/unpack/ippicv_lnx
199
+ -- at: /home/ユーザ名/support/src/opencv/opencv-3.1.0/3rdparty/ippicv/unpack/ippicv_lnx
200
200
 
201
201
  -- Use IPP Async: NO
202
202
 
@@ -218,7 +218,7 @@
218
218
 
219
219
  -- Version: dynamic
220
220
 
221
- -- Include path: /home/seigyo/support/src/opencv/opencv-3.1.0/3rdparty/include/opencl/1.2
221
+ -- Include path: /home/ユーザ名/support/src/opencv/opencv-3.1.0/3rdparty/include/opencl/1.2
222
222
 
223
223
  -- Use AMDFFT: NO
224
224
 
@@ -280,7 +280,7 @@
280
280
 
281
281
  --
282
282
 
283
- -- cvconfig.h is in: /home/seigyo/support/src/opencv/opencv-3.1.0/build
283
+ -- cvconfig.h is in: /home/ユーザ名/support/src/opencv/opencv-3.1.0/build
284
284
 
285
285
  -- -----------------------------------------------------------------
286
286
 
@@ -288,9 +288,9 @@
288
288
 
289
289
  -- Configuring incomplete, errors occurred!
290
290
 
291
- See also "/home/seigyo/support/src/opencv/opencv-3.1.0/build/CMakeFiles/CMakeOutput.log".
291
+ See also "/home/ユーザ名/support/src/opencv/opencv-3.1.0/build/CMakeFiles/CMakeOutput.log".
292
-
292
+
293
- See also "/home/seigyo/support/src/opencv/opencv-3.1.0/build/CMakeFiles/CMakeError.log".
293
+ See also "/home/ユーザ名/support/src/opencv/opencv-3.1.0/build/CMakeFiles/CMakeError.log".
294
294
 
295
295
 
296
296
 

2

追記

2018/03/24 07:10

投稿

aiueoaiueoaiue
aiueoaiueoaiue

スコア94

test CHANGED
File without changes
test CHANGED
@@ -14,47 +14,15 @@
14
14
 
15
15
  ```
16
16
 
17
- CMake Deprecation Warning at CMakeLists.txt:72 (cmake_policy):
18
-
19
- The OLD behavior for policy CMP0022 will be removed from a future version
20
-
21
- of CMake.
22
-
23
-
24
-
25
- The cmake-policies(7) manual explains that the OLD behaviors of all
26
-
27
- policies are deprecated and that a policy should be set to OLD only under
28
-
29
- specific short-term circumstances. Projects should be ported to the NEW
30
-
31
- behavior and not rely on setting a policy to OLD.
17
+ ImportError: No module named numpy.distutils
18
+
32
-
19
+ -- Found PythonInterp: /usr/local/bin/python3.6 (found suitable version "3.6.4", minimum required is "3.4")
20
+
33
-
21
+ -- Found PythonLibs: /usr/local/lib/libpython3.6m.so (found suitable exact version "3.6.4")
22
+
34
-
23
+ Traceback (most recent call last):
35
-
36
-
24
+
37
- CMake Deprecation Warning at CMakeLists.txt:77 (cmake_policy):
25
+ File "<string>", line 1, in <module>
38
-
39
- The OLD behavior for policy CMP0026 will be removed from a future version
40
-
41
- of CMake.
42
-
43
-
44
-
45
- The cmake-policies(7) manual explains that the OLD behaviors of all
46
-
47
- policies are deprecated and that a policy should be set to OLD only under
48
-
49
- specific short-term circumstances. Projects should be ported to the NEW
50
-
51
- behavior and not rely on setting a policy to OLD.
52
-
53
-
54
-
55
-
56
-
57
-
58
26
 
59
27
  ModuleNotFoundError: No module named 'numpy'
60
28
 
@@ -64,19 +32,11 @@
64
32
 
65
33
  -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
66
34
 
67
- -- Performing Test HAVE_CXX_WNO_UNDEF
68
-
69
- -- Performing Test HAVE_CXX_WNO_UNDEF - Success
70
-
71
- -- Performing Test HAVE_CXX_WNO_SHADOW
72
-
73
- -- Performing Test HAVE_CXX_WNO_SHADOW - Success
74
-
75
35
  CMake Error at cmake/OpenCVModule.cmake:295 (message):
76
36
 
77
37
  No extra modules found in folder:
78
38
 
79
- /home/ユーザ名/support/src/opencv/opencv-3.1.0/opencv_contrib/modules
39
+ /home/seigyo/support/src/opencv/opencv-3.1.0/opencv_contrib/modules
80
40
 
81
41
 
82
42
 
@@ -90,7 +50,237 @@
90
50
 
91
51
 
92
52
 
93
-
53
+ --
54
+
55
+ -- General configuration for OpenCV 3.1.0 =====================================
56
+
57
+ -- Version control: unknown
58
+
59
+ --
60
+
61
+ -- Platform:
62
+
63
+ -- Host: FreeBSD 11.1-RELEASE-p7 amd64
64
+
65
+ -- CMake: 3.10.2
66
+
67
+ -- CMake generator: Unix Makefiles
68
+
69
+ -- CMake build tool: /usr/local/bin/gmake
70
+
71
+ -- Configuration: RELEASE
72
+
73
+ --
74
+
75
+ -- C/C++:
76
+
77
+ -- Built as dynamic libs?: YES
78
+
79
+ -- C++ Compiler: /usr/bin/c++ (ver 4.0.0)
80
+
81
+ -- C++ flags (Release): -fsigned-char -W -Werror=return-type -Werror=non-virtual-
82
+
83
+ -- 3rdparty dependencies:
84
+
85
+ --
86
+
87
+ -- OpenCV modules:
88
+
89
+ -- To be built: core flann imgproc ml photo video imgcodecs shape videoio highgui objdetect superres ts features2d calib3d stitching videostab
90
+
91
+ -- Disabled: world
92
+
93
+ -- Disabled by dependency: -
94
+
95
+ -- Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python2 python3 viz
96
+
97
+ --
98
+
99
+ -- GUI:
100
+
101
+ -- QT: NO
102
+
103
+ -- GTK+ 3.x: YES (ver 3.22.15)
104
+
105
+ -- GThread : YES (ver 2.50.3)
106
+
107
+ -- GtkGlExt: NO
108
+
109
+ -- OpenGL support: NO
110
+
111
+ -- VTK support: NO
112
+
113
+ --
114
+
115
+ -- Media I/O:
116
+
117
+ -- ZLib: /usr/lib/libz.so (ver 1.2.11)
118
+
119
+ -- JPEG: /usr/local/lib/libjpeg.so (ver )
120
+
121
+ -- WEBP: /usr/local/lib/libwebp.so (ver encoder: 0x020e)
122
+
123
+ -- PNG: /usr/local/lib/libpng.so (ver 1.6.34)
124
+
125
+ -- TIFF: /usr/local/lib/libtiff.so (ver 42 - 4.0.9)
126
+
127
+ -- JPEG 2000: /usr/local/lib/libjasper.so (ver 1.900.1)
128
+
129
+ -- OpenEXR: /usr/local/lib/libImath.so /usr/local/lib/libIlmImf.so /usr/local/lib/libIex.so /usr/local/lib/libHalf.so /usr/local/lib/libIlmThread.so (ver Unknown)
130
+
131
+ -- GDAL: NO
132
+
133
+ --
134
+
135
+ -- Video I/O:
136
+
137
+ -- DC1394 1.x: NO
138
+
139
+ -- DC1394 2.x: YES (ver 2.2.5)
140
+
141
+ -- FFMPEG: YES
142
+
143
+ -- codec: YES (ver 57.107.100)
144
+
145
+ -- format: YES (ver 57.83.100)
146
+
147
+ -- util: YES (ver 55.78.100)
148
+
149
+ -- swscale: YES (ver 4.8.100)
150
+
151
+ -- resample: YES (ver 3.7.0)
152
+
153
+ -- gentoo-style: YES
154
+
155
+ -- GStreamer:
156
+
157
+ -- base: YES (ver 1.12.3)
158
+
159
+ -- video: YES (ver 1.12.3)
160
+
161
+ -- app: YES (ver 1.12.3)
162
+
163
+ -- riff: YES (ver 1.12.3)
164
+
165
+ -- pbutils: YES (ver 1.12.3)
166
+
167
+ -- OpenNI: NO
168
+
169
+ -- OpenNI PrimeSensor Modules: NO
170
+
171
+ -- OpenNI2: NO
172
+
173
+ -- PvAPI: NO
174
+
175
+ -- GigEVisionSDK: NO
176
+
177
+ -- UniCap: NO
178
+
179
+ -- UniCap ucil: NO
180
+
181
+ -- V4L/V4L2: Using libv4l1 (ver 1.6.3) / libv4l2 (ver 1.6.3)
182
+
183
+ -- XIMEA: NO
184
+
185
+ -- Xine: NO
186
+
187
+ -- gPhoto2: YES
188
+
189
+ --
190
+
191
+ -- Parallel framework: pthreads
192
+
193
+ --
194
+
195
+ -- Other third-party libraries:
196
+
197
+ -- Use IPP: 9.0.1 [9.0.1]
198
+
199
+ -- at: /home/seigyo/support/src/opencv/opencv-3.1.0/3rdparty/ippicv/unpack/ippicv_lnx
200
+
201
+ -- Use IPP Async: NO
202
+
203
+ -- Use VA: NO
204
+
205
+ -- Use Intel VA-API/OpenCL: NO
206
+
207
+ -- Use Eigen: YES (ver 3.3.4)
208
+
209
+ -- Use Cuda: NO
210
+
211
+ -- Use OpenCL: YES
212
+
213
+ -- Use custom HAL: NO
214
+
215
+ --
216
+
217
+ -- OpenCL:
218
+
219
+ -- Version: dynamic
220
+
221
+ -- Include path: /home/seigyo/support/src/opencv/opencv-3.1.0/3rdparty/include/opencl/1.2
222
+
223
+ -- Use AMDFFT: NO
224
+
225
+ -- Use AMDBLAS: NO
226
+
227
+ --
228
+
229
+ -- Python 2:
230
+
231
+ -- Interpreter: /usr/local/bin/python2.7 (ver 2.7.14)
232
+
233
+ --
234
+
235
+ -- Python 3:
236
+
237
+ -- Interpreter: /usr/local/bin/python3.6 (ver 3.6.4)
238
+
239
+ --
240
+
241
+ -- Python (for build): /usr/local/bin/python2.7
242
+
243
+ --
244
+
245
+ -- Java:
246
+
247
+ -- ant: NO
248
+
249
+ -- JNI: NO
250
+
251
+ -- Java wrappers: NO
252
+
253
+ -- Java tests: NO
254
+
255
+ --
256
+
257
+ -- Matlab: Matlab not found or implicitly disabled
258
+
259
+ --
260
+
261
+ -- Documentation:
262
+
263
+ -- Doxygen: /usr/local/bin/doxygen (ver 1.8.14)
264
+
265
+ -- PlantUML: NO
266
+
267
+ --
268
+
269
+ -- Tests and samples:
270
+
271
+ -- Tests: YES
272
+
273
+ -- Performance tests: YES
274
+
275
+ -- C/C++ Examples: NO
276
+
277
+ --
278
+
279
+ -- Install path: /usr/local
280
+
281
+ --
282
+
283
+ -- cvconfig.h is in: /home/seigyo/support/src/opencv/opencv-3.1.0/build
94
284
 
95
285
  -- -----------------------------------------------------------------
96
286
 
@@ -98,9 +288,11 @@
98
288
 
99
289
  -- Configuring incomplete, errors occurred!
100
290
 
101
- See also "/home/ユーザ名/support/src/opencv/opencv-3.1.0/build/CMakeFiles/CMakeOutput.log".
291
+ See also "/home/seigyo/support/src/opencv/opencv-3.1.0/build/CMakeFiles/CMakeOutput.log".
102
-
292
+
103
- See also "/home/ユーザ名/support/src/opencv/opencv-3.1.0/build/CMakeFiles/CMakeError.log".
293
+ See also "/home/seigyo/support/src/opencv/opencv-3.1.0/build/CMakeFiles/CMakeError.log".
294
+
295
+
104
296
 
105
297
  ```
106
298
 

1

追記

2018/03/24 07:09

投稿

aiueoaiueoaiue
aiueoaiueoaiue

スコア94

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- ### エラーメッセージ
9
+ ### build実行時のエラーメッセージ
10
10
 
11
11
 
12
12
 
@@ -14,65 +14,93 @@
14
14
 
15
15
  ```
16
16
 
17
- Hello.java:1: エラー: パッケージorg.opencv.coreは存在しません
17
+ CMake Deprecation Warning at CMakeLists.txt:72 (cmake_policy):
18
18
 
19
- import org.opencv.core.Core;
19
+ The OLD behavior for policy CMP0022 will be removed from a future version
20
20
 
21
- ^
21
+ of CMake.
22
22
 
23
- Hello.java:2: エラー: パッケージorg.opencv.coreは存在しません
24
23
 
25
- import org.opencv.core.CvType;
26
24
 
27
- ^
25
+ The cmake-policies(7) manual explains that the OLD behaviors of all
28
26
 
29
- Hello.java:3: エラー: パッケージorg.opencv.coreは存在しません
27
+ policies are deprecated and that a policy should be set to OLD only under
30
28
 
31
- import org.opencv.core.Mat;
29
+ specific short-term circumstances. Projects should be ported to the NEW
32
30
 
33
- ^
31
+ behavior and not rely on setting a policy to OLD.
34
32
 
35
- Hello.java:7: エラー: シンボルを見つけられません
36
33
 
37
- System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
38
34
 
39
- ^
40
35
 
41
- シンボル: 変数 Core
42
36
 
43
- 場所: クラス Hello
37
+ CMake Deprecation Warning at CMakeLists.txt:77 (cmake_policy):
44
38
 
45
- Hello.java:8: エラー: シンボルを見つけられません
39
+ The OLD behavior for policy CMP0026 will be removed from a future version
46
40
 
47
- Mat mat = Mat.eye(3, 3, CvType.CV_8UC1);
41
+ of CMake.
48
42
 
49
- ^
50
43
 
51
- シンボル: クラス Mat
52
44
 
53
- 場所: クラス Hello
45
+ The cmake-policies(7) manual explains that the OLD behaviors of all
54
46
 
55
- Hello.java:8: エラー: シンボルを見つけられません
47
+ policies are deprecated and that a policy should be set to OLD only under
56
48
 
57
- Mat mat = Mat.eye(3, 3, CvType.CV_8UC1);
49
+ specific short-term circumstances. Projects should be ported to the NEW
58
50
 
59
- ^
51
+ behavior and not rely on setting a policy to OLD.
60
52
 
61
- シンボル: 変数 CvType
62
53
 
63
- 場所: クラス Hello
64
54
 
65
- Hello.java:8: エラー: シンボルを見つけられません
66
55
 
67
- Mat mat = Mat.eye(3, 3, CvType.CV_8UC1);
68
56
 
69
- ^
70
57
 
71
- シンボル: 変数 Mat
72
58
 
73
- 場所: クラス Hello
59
+ ModuleNotFoundError: No module named 'numpy'
74
60
 
61
+ -- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
62
+
63
+ -- Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN)
64
+
65
+ -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
66
+
67
+ -- Performing Test HAVE_CXX_WNO_UNDEF
68
+
69
+ -- Performing Test HAVE_CXX_WNO_UNDEF - Success
70
+
71
+ -- Performing Test HAVE_CXX_WNO_SHADOW
72
+
73
+ -- Performing Test HAVE_CXX_WNO_SHADOW - Success
74
+
75
+ CMake Error at cmake/OpenCVModule.cmake:295 (message):
76
+
77
+ No extra modules found in folder:
78
+
79
+ /home/ユーザ名/support/src/opencv/opencv-3.1.0/opencv_contrib/modules
80
+
81
+
82
+
83
+ Please provide path to 'opencv_contrib/modules' folder.
84
+
85
+ Call Stack (most recent call first):
86
+
87
+ modules/CMakeLists.txt:7 (ocv_glob_modules)
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+ -- -----------------------------------------------------------------
96
+
75
- エラー7個
97
+ --
98
+
99
+ -- Configuring incomplete, errors occurred!
100
+
101
+ See also "/home/ユーザ名/support/src/opencv/opencv-3.1.0/build/CMakeFiles/CMakeOutput.log".
102
+
103
+ See also "/home/ユーザ名/support/src/opencv/opencv-3.1.0/build/CMakeFiles/CMakeError.log".
76
104
 
77
105
  ```
78
106