C++ requires a type specifier for all declarations

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
amatilda
Posts: 61
Joined: 26 Sep 2021 22:09

Re: C++ requires a type specifier for all declarations

Post by amatilda »

lanbrown wrote:
30 Aug 2022 20:44
If I click verify, the only error is that it cannot determine the size.

I've attached screenshots for the verify and the upload.

Code: Select all

Couldn't determine program size
Needed file "C:\Users\ADMINI~1\AppData\Local\Temp\2\arduino_build_929741\sketch_aug26a_ino_signed.bin" doesn't exist. Build the sketch first!
An error occurred while uploading the sketch
I suspect that the problem is with the Arduino from the store - for example, I have this error:
Image

Try installing this version:
https://downloads.arduino.cc/arduino-ni ... indows.zip
Attachments
image1.jpg
image1.jpg (525.06 KiB) Viewed 2430 times
lanbrown
Posts: 305
Joined: 01 Jun 2021 08:06

Re: C++ requires a type specifier for all declarations

Post by lanbrown »

amatilda wrote:
30 Aug 2022 21:20
Try installing this version:
https://downloads.arduino.cc/arduino-ni ... indows.zip
I tried it and the same error. What version of the IDE are you running? I'm not tied to any particular release. This is my first Z-Uno board. I plan on getting a few more if I get it working and happy with the results. I'm mainly looking at using them as temp sensors.
amatilda
Posts: 61
Joined: 26 Sep 2021 22:09

Re: C++ requires a type specifier for all declarations

Post by amatilda »

lanbrown wrote:
31 Aug 2022 00:03
amatilda wrote:
30 Aug 2022 21:20
Try installing this version:
https://downloads.arduino.cc/arduino-ni ... indows.zip
I tried it and the same error. What version of the IDE are you running? I'm not tied to any particular release. This is my first Z-Uno board. I plan on getting a few more if I get it working and happy with the results. I'm mainly looking at using them as temp sensors.
Interesting...

It looks like your Arduino for some reason does not want to work with the z-uno.

"What version of the IDE are you running?" - https://downloads.arduino.cc/arduino-ni ... indows.zip

Can you see after it gives an error again, what is in the folder there? - maybe you have a strict antivirus or something like that.
I mean when trying to upload a sketch:

Code: Select all

Couldn't determine program size
Needed file "C:\Users\user\AppData\Local\Temp\2\arduino_build_253281\OneWire_temperature_sensor_DS18B20_ino_signed.bin" doesn't exist. Build the sketch first!
An error occurred while uploading the sketch
lanbrown
Posts: 305
Joined: 01 Jun 2021 08:06

Re: C++ requires a type specifier for all declarations

Post by lanbrown »

amatilda wrote:
31 Aug 2022 00:28
The only file is sketch_aug26a.ino but not the signed version.

Only the Microsoft provided protection is used; so Windows Defender. The firewall portion is disabled though. No threats have been logged according to the dashboard.

Up in the temp directory if I perform the upload, it does create another directory and then it quickly vanishes though.
amatilda
Posts: 61
Joined: 26 Sep 2021 22:09

Re: C++ requires a type specifier for all declarations

Post by amatilda »

lanbrown wrote:
31 Aug 2022 01:03
amatilda wrote:
31 Aug 2022 00:28
The only file is sketch_aug26a.ino but not the signed version.

Only the Microsoft provided protection is used; so Windows Defender. The firewall portion is disabled though. No threats have been logged according to the dashboard.

Up in the temp directory if I perform the upload, it does create another directory and then it quickly vanishes though.
Let's try another way where there is more control.

Try with Vs Code:

https://z-uno.z-wave.me/vs-code-install/
lanbrown
Posts: 305
Joined: 01 Jun 2021 08:06

Re: C++ requires a type specifier for all declarations

Post by lanbrown »

I tried under macOS and it would upload. I'll try the Vs code either later today or tomorrow.
Post Reply