回答編集履歴

1

全面訂正。小さい画面だと見落とすな...

2018/11/29 10:33

投稿

CHERRY
CHERRY

スコア25171

test CHANGED
@@ -1,13 +1,81 @@
1
+ インストールしようとされているのは、[https://github.com/OpenNI/OpenNI/](https://github.com/OpenNI/OpenNI/) でしょうか?
2
+
3
+
4
+
5
+ ----
6
+
7
+
8
+
9
+ > * MacOSX: Only OSX 10.6 (Snow Leopard) and above with an Intel based CPU is currently supported.
10
+
11
+
12
+
1
- ターミナルで、入力しているパスが間違っているようです。
13
+ とあるので、一応、macOS もサポートしているようです
14
+
15
+
16
+
17
+ 5年更新されていないので、コンパイルできても動くかどうか微妙なところですが...
2
18
 
3
19
 
4
20
 
5
21
 
6
22
 
23
+ 必要なもの
24
+
25
+ > MacOSX:
26
+
27
+ > Requirements:
28
+
29
+ > 1) For Mac OSX 10.7, Xcode 4.3.2
30
+
7
- 上の Finder のキャプチャーをみると ` Desktop/kinect/OpenNI/Platform/Linux/CreateRedist ` となっていますが、ターミナルの画面では、` Desktop/kinect/OpenNI/Plattform/Linux/CreateRedist ` と入力しているようです。
31
+ > 2) LibUSB 1.0.x (The patched development tree)
8
32
 
9
33
 
10
34
 
11
- 誤: Plattform
35
+ `LibUSB 1.0.x ` は、インストールされましたか?
12
36
 
37
+
38
+
39
+
40
+
13
- 正: Platform
41
+ インストール方法
42
+
43
+ > Building OpenNI:
44
+
45
+ > 1) Go into the directory: "Platform/Linux-x86/CreateRedist".
46
+
47
+ > Run the script: "./RedistMaker".
48
+
49
+ > This will compile everything and create a redist package in the "Platform/Linux-x86/Redist" directory.
50
+
51
+ > It will also create a distribution in the "Platform/Linux-x86/CreateRedist/Final" directory.
52
+
53
+ > 2) Go into the directory: "Platform/Linux-x86/Redist".
54
+
55
+ > Run the script: "sudo ./install.sh" (needs to run as root)
56
+
57
+ >
58
+
59
+ > The install script copies key files to the following location:
60
+
61
+ > Libs into: /usr/lib
62
+
63
+ > Bins into: /usr/bin
64
+
65
+ > Includes into: /usr/include/ni
66
+
67
+ > Config files into: /var/lib/ni
68
+
69
+
70
+
71
+ となっていますが、`Linux-x86` は、 `Linux` の間違いなんだろうなぁ...
72
+
73
+
74
+
75
+ まず、`Platform/Linux/CreateRedist` ディレクトリで、 `./RedistMaker` を実行する必要があるようです。
76
+
77
+ このスクリプトが、 redist パッケージと ディストリビューション を作成するようです。
78
+
79
+
80
+
81
+ 上記 RedistMaker スクリプトで作成された Redist ディレクトリに移動してから、`sudo ./install.sh` を実行して、インストールするようです。