Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error on Hello World application #4

Open
KKempen opened this issue Oct 15, 2022 · 1 comment
Open

Compile error on Hello World application #4

KKempen opened this issue Oct 15, 2022 · 1 comment
Assignees

Comments

@KKempen
Copy link

KKempen commented Oct 15, 2022

Hi,

Compiling the example program at the helloworld application for NodeMCU32S I get:
ID:\OneDrive\Documenten\Arduino\libraries\ArduinoJson\src" "C:\Users\User\AppData\Local\Temp\arduino-sketch-E39A2C87A98C2FFB47B4919F05599D9D\sketch\ESP32-AllthingsTalkTest.ino.cpp" -o "C:\Users\User\AppData\Local\Temp\arduino-sketch-E39A2C87A98C2FFB47B4919F05599D9D\sketch\ESP32-AllthingsTalkTest.ino.cpp.o"
In file included from D:\OneDrive\Documenten\Arduino\libraries\AllThingsTalk_WiFi_SDK\src/CborPayload.h:4,
from D:\OneDrive\Documenten\Arduino\libraries\AllThingsTalk_WiFi_SDK\src/AllThingsTalk_WiFi.h:31,
from D:\OneDrive\Documenten\Arduino\ESP32-AllthingsTalkTest\ESP32-AllthingsTalkTest.ino:1:
D:\OneDrive\Documenten\Arduino\libraries\AllThingsTalk_WiFi_SDK\src/CborEncoder.h:74:7: error: 'void CborWriter::writeInt(int32_t)' cannot be overloaded with 'void CborWriter::writeInt(int)'
void writeInt(const int32_t value);
^~~~~~~~
D:\OneDrive\Documenten\Arduino\libraries\AllThingsTalk_WiFi_SDK\src/CborEncoder.h:72:7: note: previous declaration 'void CborWriter::writeInt(int)'
void writeInt(const int value);
^~~~~~~~

Using library AllThingsTalk_WiFi_SDK at version 2.1.2 in folder: D:\OneDrive\Documenten\Arduino\libraries\AllThingsTalk_WiFi_SDK
Using library ArduinoJson at version 6.19.4 in folder: D:\OneDrive\Documenten\Arduino\libraries\ArduinoJson
exit status 1

Compilation error: exit status 1

@epiller
Copy link
Collaborator

epiller commented Nov 18, 2022

The newest commit fixes this issue. Please try again and report back!
I can see you're using version 2.1.2 of this library. Make sure to download this repo as .zip as the newest version 2.2.0 isn't yet published to Arduino Library Manager.

@epiller epiller self-assigned this Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants