質問編集履歴
1
エラーの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,41 +10,203 @@
|
|
10
10
|
|
11
11
|
### 発生している問題・エラーメッセージ
|
12
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
|
-
|
13
|
+
```
|
14
|
+
|
15
|
+
Arduino:1.8.13 (Windows Store 1.8.42.0) (Windows 10), ボード:"Arduino Uno"
|
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
|
+
C:\Users\81905\OneDrive\�h�L�������g\Arduino\libraries\Ambient_ESP32_ESP8266_lib\src\Ambient.cpp: In member function 'bool Ambient::send(uint32_t)':
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
C:\Users\81905\OneDrive\�h�L�������g\Arduino\libraries\Ambient_ESP32_ESP8266_lib\src\Ambient.cpp:102:66: error: no matching function for call to 'WiFiClient::connect(char [18], int&, uint32_t&)'
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
ret = this->client->connect(this->host, this->port, tmout);
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
^
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFi.h:31:0,
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
from C:\Users\81905\OneDrive\�h�L�������g\Arduino\libraries\Ambient_ESP32_ESP8266_lib\src\Ambient.h:12,
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
from C:\Users\81905\OneDrive\�h�L�������g\Arduino\libraries\Ambient_ESP32_ESP8266_lib\src\Ambient.cpp:5:
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFiClient.h:34:15: note: candidate: virtual int WiFiClient::connect(IPAddress, uint16_t)
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
virtual int connect(IPAddress ip, uint16_t port);
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
^~~~~~~
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFiClient.h:34:15: note: candidate expects 2 arguments, 3 provided
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFiClient.h:35:15: note: candidate: virtual int WiFiClient::connect(const char*, uint16_t)
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
virtual int connect(const char *host, uint16_t port);
|
108
|
+
|
109
|
+
|
110
|
+
|
111
|
+
^~~~~~~
|
112
|
+
|
113
|
+
|
114
|
+
|
115
|
+
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFiClient.h:35:15: note: candidate expects 2 arguments, 3 provided
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
C:\Users\81905\OneDrive\�h�L�������g\Arduino\libraries\Ambient_ESP32_ESP8266_lib\src\Ambient.cpp: In member function 'int Ambient::bulk_send(char*, uint32_t)':
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
C:\Users\81905\OneDrive\�h�L�������g\Arduino\libraries\Ambient_ESP32_ESP8266_lib\src\Ambient.cpp:186:66: error: no matching function for call to 'WiFiClient::connect(char [18], int&, uint32_t&)'
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
ret = this->client->connect(this->host, this->port, tmout);
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
^
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFi.h:31:0,
|
136
|
+
|
137
|
+
|
138
|
+
|
139
|
+
from C:\Users\81905\OneDrive\�h�L�������g\Arduino\libraries\Ambient_ESP32_ESP8266_lib\src\Ambient.h:12,
|
140
|
+
|
141
|
+
|
142
|
+
|
143
|
+
from C:\Users\81905\OneDrive\�h�L�������g\Arduino\libraries\Ambient_ESP32_ESP8266_lib\src\Ambient.cpp:5:
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFiClient.h:34:15: note: candidate: virtual int WiFiClient::connect(IPAddress, uint16_t)
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
virtual int connect(IPAddress ip, uint16_t port);
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
^~~~~~~
|
156
|
+
|
157
|
+
|
158
|
+
|
159
|
+
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFiClient.h:34:15: note: candidate expects 2 arguments, 3 provided
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFiClient.h:35:15: note: candidate: virtual int WiFiClient::connect(const char*, uint16_t)
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
virtual int connect(const char *host, uint16_t port);
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
^~~~~~~
|
172
|
+
|
173
|
+
|
174
|
+
|
175
|
+
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.42.0_x86__mdqgnx93n4wtt\libraries\WiFi\src/WiFiClient.h:35:15: note: candidate expects 2 arguments, 3 provided
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
exit status 1
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
ボードArduino Unoに対するコンパイル時にエラーが発生しました。
|
184
|
+
|
185
|
+
|
186
|
+
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
「ファイル」メニューの「環境設定」から
|
192
|
+
|
193
|
+
「より詳細な情報を表示する:コンパイル」を有効にすると
|
194
|
+
|
195
|
+
より詳しい情報が表示されます。
|
196
|
+
|
197
|
+
|
198
|
+
|
199
|
+
```
|
200
|
+
|
201
|
+
|
40
202
|
|
41
203
|
### ソースコード
|
42
204
|
|
43
205
|
|
44
206
|
|
207
|
+
|
208
|
+
|
45
|
-
|
209
|
+
```
|
46
|
-
|
47
|
-
```ここに言語を入力
|
48
210
|
|
49
211
|
#include <ESP8266.h>
|
50
212
|
|