質問編集履歴

2

追記を記載

2021/12/21 10:05

投稿

J_Igarashi
J_Igarashi

スコア1

test CHANGED
File without changes
test CHANGED
@@ -209,3 +209,123 @@
209
209
 
210
210
 
211
211
  Ruby+Devkit 2.7.5-1 (x64) でも試してみましたが、同様の箇所でエラーが出てしまいました。
212
+
213
+
214
+
215
+ ### 追記 ~gem_make.out~
216
+
217
+
218
+
219
+ current directory: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/eventmachine-1.0.9.1/ext/fastfilereader
220
+
221
+ C:/Ruby30-x64/bin/ruby.exe -I C:/Ruby30-x64/lib/ruby/3.0.0 -r ./siteconf20211221-24968-d6emd4.rb extconf.rb
222
+
223
+ checking for windows.h... yes
224
+
225
+ checking for winsock.h... yes
226
+
227
+ checking for -lkernel32... yes
228
+
229
+ checking for -lrpcrt4... yes
230
+
231
+ checking for -lgdi32... yes
232
+
233
+ creating Makefile
234
+
235
+
236
+
237
+ current directory: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/eventmachine-1.0.9.1/ext/fastfilereader
238
+
239
+ make DESTDIR\= clean
240
+
241
+
242
+
243
+ current directory: C:/Ruby30-x64/lib/ruby/gems/3.0.0/gems/eventmachine-1.0.9.1/ext/fastfilereader
244
+
245
+ make DESTDIR\=
246
+
247
+ generating fastfilereaderext-x64-mingw32.def
248
+
249
+ compiling mapper.cpp
250
+
251
+ compiling rubymain.cpp
252
+
253
+ In file included from C:/Ruby30-x64/msys64/mingw64/x86_64-w64-mingw32/include/wtypes.h:8,
254
+
255
+ from C:/Ruby30-x64/msys64/mingw64/x86_64-w64-mingw32/include/winscard.h:10,
256
+
257
+ from C:/Ruby30-x64/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:97,
258
+
259
+ from C:/Ruby30-x64/msys64/mingw64/x86_64-w64-mingw32/include/winsock2.h:23,
260
+
261
+ from C:/Ruby30-x64/include/ruby-3.0.0/ruby/win32.h:41,
262
+
263
+ from C:/Ruby30-x64/include/ruby-3.0.0/ruby/internal/dosish.h:38,
264
+
265
+ from C:/Ruby30-x64/include/ruby-3.0.0/ruby/defines.h:79,
266
+
267
+ from C:/Ruby30-x64/include/ruby-3.0.0/ruby/ruby.h:23,
268
+
269
+ from C:/Ruby30-x64/include/ruby-3.0.0/ruby.h:38,
270
+
271
+ from rubymain.cpp:26:
272
+
273
+ C:/Ruby30-x64/msys64/mingw64/x86_64-w64-mingw32/include/rpcndr.h:64:11: error: reference to 'byte' is ambiguous
274
+
275
+ 64 | typedef byte cs_byte;
276
+
277
+ | ^~~~
278
+
279
+ In file included from C:/Ruby30-x64/msys64/mingw64/include/c++/11.2.0/bits/stl_algobase.h:61,
280
+
281
+ from C:/Ruby30-x64/msys64/mingw64/include/c++/11.2.0/bits/char_traits.h:39,
282
+
283
+ from C:/Ruby30-x64/msys64/mingw64/include/c++/11.2.0/ios:40,
284
+
285
+ from C:/Ruby30-x64/msys64/mingw64/include/c++/11.2.0/ostream:38,
286
+
287
+ from C:/Ruby30-x64/msys64/mingw64/include/c++/11.2.0/iostream:39,
288
+
289
+ from rubymain.cpp:22:
290
+
291
+ ~(中略)~
292
+
293
+
294
+
295
+ C:/Ruby30-x64/msys64/mingw64/include/c++/11.2.0/bits/cpp_type_traits.h:404:30: note: candidates are: 'enum class std::byte'
296
+
297
+ 404 | enum class byte : unsigned char;
298
+
299
+ | ^~~~
300
+
301
+ In file included from C:/Ruby30-x64/msys64/mingw64/x86_64-w64-mingw32/include/wtypes.h:8,
302
+
303
+ from C:/Ruby30-x64/msys64/mingw64/x86_64-w64-mingw32/include/winscard.h:10,
304
+
305
+ from C:/Ruby30-x64/msys64/mingw64/x86_64-w64-mingw32/include/windows.h:97,
306
+
307
+ from C:/Ruby30-x64/msys64/mingw64/x86_64-w64-mingw32/include/winsock2.h:23,
308
+
309
+ from C:/Ruby30-x64/include/ruby-3.0.0/ruby/win32.h:41,
310
+
311
+ from C:/Ruby30-x64/include/ruby-3.0.0/ruby/internal/dosish.h:38,
312
+
313
+ from C:/Ruby30-x64/include/ruby-3.0.0/ruby/defines.h:79,
314
+
315
+ from C:/Ruby30-x64/include/ruby-3.0.0/ruby/ruby.h:23,
316
+
317
+ from C:/Ruby30-x64/include/ruby-3.0.0/ruby.h:38,
318
+
319
+ from rubymain.cpp:26:
320
+
321
+ C:/Ruby30-x64/msys64/mingw64/x86_64-w64-mingw32/include/rpcndr.h:63:25: note: 'typedef unsigned char byte'
322
+
323
+ 63 | typedef unsigned char byte;
324
+
325
+ | ^~~~
326
+
327
+ make: *** [Makefile:237: rubymain.o] 繧ィ繝ゥ繝シ 1
328
+
329
+
330
+
331
+ make failed, exit code 2

1

初心者マークの追加

2021/12/21 10:05

投稿

J_Igarashi
J_Igarashi

スコア1

test CHANGED
@@ -1 +1 @@
1
- WindowsのRubyにてmailcatcherがインストールできない。
1
+ ????WindowsのRubyにてmailcatcherがインストールできない。
test CHANGED
File without changes