forked from hirotakaster/pcl-superbuild
-
Notifications
You must be signed in to change notification settings - Fork 2
/
memo.txt
162 lines (112 loc) · 4.5 KB
/
memo.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
http://www.boost.org/users/history/version_1_64_0.html
Android のビルド用のパッチについて
https://svn.boost.org/trac10/ticket/13230
--- boost_1_65_1/libs/filesystem/src/operations.cpp.orig 2017-12-07 11:22:32.309329635 +0100
+++ boost_1_65_1/libs/filesystem/src/operations.cpp 2017-12-07 11:24:26.662849955 +0100
@@ -10,6 +10,8 @@
//--------------------------------------------------------------------------------------//
+
+#if !(defined(__ANDROID__) && __ANDROID_API__ < 21)
// define 64-bit offset macros BEFORE including boost/config.hpp (see ticket #5355)
#if !(defined(__HP_aCC) && defined(_ILP32) && !defined(_STATVFS_ACPP_PROBLEMS_FIXED))
#define _FILE_OFFSET_BITS 64 // at worst, these defines may have no effect,
@@ -28,6 +30,7 @@
#else
#define _FILE_OFFSET_BITS 64
#endif
+#endif
// define BOOST_FILESYSTEM_SOURCE so that <boost/filesystem/config.hpp> knows
// the library is being built (possibly exporting rather than importing code)
---
use;
https://github.com/leetal/ios-cmake
Travis Status
https://www.traviscistatus.com/
---
flannでのビルドエラー
https://github.com/android-ndk/ndk/issues/520
[00:08:08] C:/projects/android-ndk-r15c/sources/cxx-stl/gnu-libstdc++/4.9/include/cstdio:107:11: error: '::fgetpos' has not been declared
[00:08:08] using ::fgetpos;
[00:08:08] ^
[00:08:08] C:/projects/android-ndk-r15c/sources/cxx-stl/gnu-libstdc++/4.9/include/cstdio:117:11: error: '::fsetpos' has not been declared
[00:08:08] using ::fsetpos;
---
cmake rule
cmake -H. -Bbuild -G "MSYS Makefiles"
What task does the -H. option perform here? cmake --help says that -H prints the help...
https://stackoverflow.com/questions/31090821/what-does-the-h-option-means-for-cmake
---
Travis CI 上での cache の設定について
https://github.com/travis-ci/travis-ci/issues/7902
Upload 時の失敗検出について
https://github.com/travis-ci/travis-ci/issues/6410
参考例
https://github.com/vgvassilev/cling/blob/master/.travis.yml
universal-framework.sh
https://gist.github.com/cromandini/1a9c4aeab27ca84f5d79
https://medium.com/@syshen/create-an-ios-universal-framework-148eb130a46c
https://robots.thoughtbot.com/creating-your-first-ios-framework
dlib での設定
http://prabhu.xyz/2017/05/29/getting-started-with-dlib-on-ios.html
https://github.com/zweigraf/face-landmarking-ios
https://stackoverflow.com/questions/24622495/relocatable-dylibs-e-g-embedded-frameworks-are-only-supported-on-ios-8-0-and
拡張機能の実装方法について(Apple)
https://developer.apple.com/library/content/documentation/General/Conceptual/ExtensibilityPG/ExtensionScenarios.html
---
iOS 証明書更新
http://mattsudev.hatenablog.com/entry/2015/09/30/152037
---
iOS のバインディングについて
https://developer.apple.com/library/content/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html
---
use;
https://github.com/leetal/ios-cmake
Travis Status
https://www.traviscistatus.com/
---
C構造体とのやり取りについて
struct aStruct
{
int a;
int b;
};
typedef struct aStruct aStruct;
aStruct struct;
struct.a = 0; struct.b = 0;
NSValue *anObj = [NSValue value:&struct withObjCType:@encode(aStruct)];
NSArray *array = @[anObj];
NSMutableArray *pointArray = [[NSMutableArray alloc] init];
for(int i=0; i< data.size; i++){
[pointArray addObject:getData(i)];
}
[mar addObject:@anObj];
---
Swift 4.1 でのやり取り
https://developer.apple.com/library/content/documentation/Swift/Conceptual/BuildingCocoaApps/InteractingWithCAPIs.html#//apple_ref/doc/uid/TP40014216-CH8-ID17
Framework から呼び出すヘッダーは Umbrella Header とする。
https://developer.apple.com/library/content/documentation/Swift/Conceptual/BuildingCocoaApps/MixandMatch.html#//apple_ref/doc/uid/TP40014216-CH10-ID122
---
ObjectSharpie の使い方?
https://docs.microsoft.com/en-us/xamarin/ios/platform/binding-objective-c/walkthrough?tabs=vsmac
---
ARCore(?.?) が対応している項目について
・モーショントラッキング
・水平・垂直面の検出(認識)
・光源の推測(環境光)
・特徴点抽出(PointCloud)
・空間共有
・マーカー画像検知
ARKit が対応している項目について
---
http://pointclouds.org/documentation/tutorials/normal_estimation_using_integral_images.php#normal-estimation-using-integral-images
---
Docker 作成 - Mac 上での対応。
・全環境(Android/iOS/Xamarin)のビルドができるようにする。
---
setup-superbuild.cmake
環境変数の設定
・source/build/install のフォルダ先設定
/usr/local/share/cmake-3.9/Modules/FindPackageHandleStandardArgs.cmake:137 (message)
Error
EIGEN_INCLUDE_DIR に参照先をを設定していないと 標準が持っている cmake からエラーが発生する。
※ CMake 側は EIGEN_INCLUDE_DIRS になっているが