質問編集履歴
2
エラー詳細の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,6 +30,134 @@
|
|
30
30
|
|
31
31
|
|
32
32
|
|
33
|
+
###エラー詳細
|
34
|
+
|
35
|
+
```shell
|
36
|
+
|
37
|
+
/usr/local/include/memory.h:66:1: error: unknown type name 'EIGEN_DEVICE_FUNC'
|
38
|
+
|
39
|
+
EIGEN_DEVICE_FUNC
|
40
|
+
|
41
|
+
^
|
42
|
+
|
43
|
+
/usr/local/include/memory.h:67:1: error: expected unqualified-id
|
44
|
+
|
45
|
+
inline void throw_std_bad_alloc()
|
46
|
+
|
47
|
+
^
|
48
|
+
|
49
|
+
/usr/local/include/memory.h:86:43: error: no type named 'size_t' in namespace 'std'
|
50
|
+
|
51
|
+
inline void* handmade_aligned_malloc(std::size_t size)
|
52
|
+
|
53
|
+
~~~~~^
|
54
|
+
|
55
|
+
/usr/local/include/memory.h:88:37: error: use of undeclared identifier 'EIGEN_DEFAULT_ALIGN_BYTES'
|
56
|
+
|
57
|
+
void *original = std::malloc(size+EIGEN_DEFAULT_ALIGN_BYTES);
|
58
|
+
|
59
|
+
^
|
60
|
+
|
61
|
+
/usr/local/include/memory.h:88:25: error: no member named 'malloc' in namespace 'std'
|
62
|
+
|
63
|
+
void *original = std::malloc(size+EIGEN_DEFAULT_ALIGN_BYTES);
|
64
|
+
|
65
|
+
~~~~~^
|
66
|
+
|
67
|
+
/usr/local/include/memory.h:90:66: error: no type named 'size_t' in namespace 'std'
|
68
|
+
|
69
|
+
void *aligned = reinterpret_cast<void*>((reinterpret_cast<std::size_t>(original) & ~(std::size_t(EIGEN_DEFAULT_ALIGN_BYTES-1))) + EIGEN_DEFAULT_ALIGN_BYTES);
|
70
|
+
|
71
|
+
~~~~~^
|
72
|
+
|
73
|
+
/usr/local/include/memory.h:90:93: error: no member named 'size_t' in namespace 'std'
|
74
|
+
|
75
|
+
void *aligned = reinterpret_cast<void*>((reinterpret_cast<std::size_t>(original) & ~(std::size_t(EIGEN_DEFAULT_ALIGN_BYTES-1))) + EIGEN_DEFAULT_ALIGN_BYTES);
|
76
|
+
|
77
|
+
~~~~~^
|
78
|
+
|
79
|
+
/usr/local/include/memory.h:90:100: error: use of undeclared identifier 'EIGEN_DEFAULT_ALIGN_BYTES'
|
80
|
+
|
81
|
+
void *aligned = reinterpret_cast<void*>((reinterpret_cast<std::size_t>(original) & ~(std::size_t(EIGEN_DEFAULT_ALIGN_BYTES-1))) + EIGEN_DEFAULT_ALIGN_BYTES);
|
82
|
+
|
83
|
+
^
|
84
|
+
|
85
|
+
/usr/local/include/memory.h:90:133: error: use of undeclared identifier 'EIGEN_DEFAULT_ALIGN_BYTES'
|
86
|
+
|
87
|
+
void *aligned = reinterpret_cast<void*>((reinterpret_cast<std::size_t>(original) & ~(std::size_t(EIGEN_DEFAULT_ALIGN_BYTES-1))) + EIGEN_DEFAULT_ALIGN_BYTES);
|
88
|
+
|
89
|
+
^
|
90
|
+
|
91
|
+
/usr/local/include/memory.h:98:17: error: no member named 'free' in namespace 'std'
|
92
|
+
|
93
|
+
if (ptr) std::free(*(reinterpret_cast<void**>(ptr) - 1));
|
94
|
+
|
95
|
+
~~~~~^
|
96
|
+
|
97
|
+
/usr/local/include/memory.h:106:55: error: no type named 'size_t' in namespace 'std'
|
98
|
+
|
99
|
+
inline void* handmade_aligned_realloc(void* ptr, std::size_t size, std::size_t = 0)
|
100
|
+
|
101
|
+
~~~~~^
|
102
|
+
|
103
|
+
/usr/local/include/memory.h:106:73: error: no type named 'size_t' in namespace 'std'
|
104
|
+
|
105
|
+
inline void* handmade_aligned_realloc(void* ptr, std::size_t size, std::size_t = 0)
|
106
|
+
|
107
|
+
~~~~~^
|
108
|
+
|
109
|
+
/usr/local/include/memory.h:110:8: error: no type named 'ptrdiff_t' in namespace 'std'
|
110
|
+
|
111
|
+
std::ptrdiff_t previous_offset = static_cast<char *>(ptr)-static_cast<char *>(original);
|
112
|
+
|
113
|
+
~~~~~^
|
114
|
+
|
115
|
+
/usr/local/include/memory.h:111:41: error: use of undeclared identifier 'EIGEN_DEFAULT_ALIGN_BYTES'
|
116
|
+
|
117
|
+
original = std::realloc(original,size+EIGEN_DEFAULT_ALIGN_BYTES);
|
118
|
+
|
119
|
+
^
|
120
|
+
|
121
|
+
/usr/local/include/memory.h:111:19: error: no member named 'realloc' in namespace 'std'
|
122
|
+
|
123
|
+
original = std::realloc(original,size+EIGEN_DEFAULT_ALIGN_BYTES);
|
124
|
+
|
125
|
+
~~~~~^
|
126
|
+
|
127
|
+
/usr/local/include/memory.h:113:66: error: no type named 'size_t' in namespace 'std'
|
128
|
+
|
129
|
+
void *aligned = reinterpret_cast<void*>((reinterpret_cast<std::size_t>(original) & ~(std::size_t(EIGEN_DEFAULT_ALIGN_BYTES-1))) + EIGEN_DEFAULT_ALIGN_BYTES);
|
130
|
+
|
131
|
+
~~~~~^
|
132
|
+
|
133
|
+
/usr/local/include/memory.h:113:93: error: no member named 'size_t' in namespace 'std'
|
134
|
+
|
135
|
+
void *aligned = reinterpret_cast<void*>((reinterpret_cast<std::size_t>(original) & ~(std::size_t(EIGEN_DEFAULT_ALIGN_BYTES-1))) + EIGEN_DEFAULT_ALIGN_BYTES);
|
136
|
+
|
137
|
+
~~~~~^
|
138
|
+
|
139
|
+
/usr/local/include/memory.h:113:100: error: use of undeclared identifier 'EIGEN_DEFAULT_ALIGN_BYTES'
|
140
|
+
|
141
|
+
void *aligned = reinterpret_cast<void*>((reinterpret_cast<std::size_t>(original) & ~(std::size_t(EIGEN_DEFAULT_ALIGN_BYTES-1))) + EIGEN_DEFAULT_ALIGN_BYTES);
|
142
|
+
|
143
|
+
^
|
144
|
+
|
145
|
+
/usr/local/include/memory.h:113:133: error: use of undeclared identifier 'EIGEN_DEFAULT_ALIGN_BYTES'
|
146
|
+
|
147
|
+
void *aligned = reinterpret_cast<void*>((reinterpret_cast<std::size_t>(original) & ~(std::size_t(EIGEN_DEFAULT_ALIGN_BYTES-1))) + EIGEN_DEFAULT_ALIGN_BYTES);
|
148
|
+
|
149
|
+
^
|
150
|
+
|
151
|
+
fatal error: too many errors emitted, stopping now [-ferror-limit=]
|
152
|
+
|
153
|
+
20 errors generated.
|
154
|
+
|
155
|
+
Target //tensorflow/python/tools:freeze_graph failed to build
|
156
|
+
|
157
|
+
Use --verbose_failures to see the command lines of failed build steps.
|
158
|
+
|
159
|
+
```
|
160
|
+
|
33
161
|
|
34
162
|
|
35
163
|
###開発環境
|
1
開発環境情報の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -27,3 +27,13 @@
|
|
27
27
|
ローカルの環境が悪いということなのでしょうか?
|
28
28
|
|
29
29
|
詳しい方ご教授願います。
|
30
|
+
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
###開発環境
|
36
|
+
|
37
|
+
Mac OS HighSierra
|
38
|
+
|
39
|
+
Python 3.6
|