Compilation error: exit status 2

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
tjansteman
Posts: 13
Joined: 26 Jan 2021 00:20

Compilation error: exit status 2

Post by tjansteman »

I have a promblem when i try to compile or uppload in arduino i get an error, i´ve tried on two different computers and still get the same error.

Code: Select all

FQBN: Z-Uno:zw8051:zuno
Using board 'zuno' from platform in folder: C:\Users\i_gal\AppData\Local\Arduino15\packages\Z-Uno\hardware\zw8051\2.1.8
Using core 'zuno' from platform in folder: C:\Users\i_gal\AppData\Local\Arduino15\packages\Z-Uno\hardware\zw8051\2.1.8

Detecting libraries used...
"C:\\Users\\i_gal\\AppData\\Local\\Arduino15\\packages\\Z-Uno\\tools\\zuno_toolchain\\00.08.83/zuno_toolchain/compiler" arduino_preproc "C:\\Users\\i_gal\\AppData\\Local\\Temp\\arduino\\sketches\\1C04F7837F068ACD56E0914CA749D464\\sketch\\sketch_aug5c.ino.cpp" -r "C:\\Users\\i_gal\\AppData\\Local\\Arduino15\\packages\\Z-Uno\\hardware\\zw8051\\2.1.8"
C:\Users\i_gal\AppData\Local\Temp\arduino\sketches\1C04F7837F068ACD56E0914CA749D464
Found 1.8.x project structure (File:sketch_aug5c.ino.cpp). Converting it...
           
Generating function prototypes...
"C:\\Users\\i_gal\\AppData\\Local\\Arduino15\\packages\\Z-Uno\\tools\\zuno_toolchain\\00.08.83/zuno_toolchain/compiler" arduino_preproc "C:\\Users\\i_gal\\AppData\\Local\\Temp\\arduino\\sketches\\1C04F7837F068ACD56E0914CA749D464\\sketch\\sketch_aug5c.ino.cpp" -r "C:\\Users\\i_gal\\AppData\\Local\\Arduino15\\packages\\Z-Uno\\hardware\\zw8051\\2.1.8"
C:\Users\i_gal\AppData\Local\Temp\arduino\sketches\1C04F7837F068ACD56E0914CA749D464
Found 1.8.x project structure (File:sketch_aug5c.ino.cpp). Converting it...
           
"C:\\Users\\i_gal\\AppData\\Local\\Arduino15\\packages\\builtin\\tools\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\i_gal\\AppData\\Local\\Temp\\arduino\\sketches\\1C04F7837F068ACD56E0914CA749D464\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\i_gal\\AppData\\Local\\Arduino15\\packages\\Z-Uno\\tools\\zuno_toolchain\\00.08.83/zuno_toolchain/compiler" build "C:\\Users\\i_gal\\AppData\\Local\\Temp\\arduino\\sketches\\1C04F7837F068ACD56E0914CA749D464/sketch_aug5c.ino" -r "C:\\Users\\i_gal\\AppData\\Local\\Arduino15\\packages\\Z-Uno\\hardware\\zw8051\\2.1.8" -i1_8 -idv 10607
Exception:

	************* Building Arduino Sketch *************
	C:\Users\i_gal\AppData\Local\Temp\arduino\sketches\1C04F7837F068ACD56E0914CA749D464/sketch_aug5c.ino
	***************************************************

	 --- USING a list of libraries from:
		C:\Users\i_gal\AppData\Local\Arduino15\packages\Z-Uno\hardware\zw8051\2.1.8\libraries
		d:\arduino\libraries
exit status 2

Compilation error: exit status 2

Can someone tell me what the problem is?
amatilda
Posts: 68
Joined: 26 Sep 2021 22:09

Re: Compilation error: exit status 2

Post by amatilda »

Hello.
And if you try to compile RadioBlink.ino?
tjansteman
Posts: 13
Joined: 26 Jan 2021 00:20

Re: Compilation error: exit status 2

Post by tjansteman »

Dosent work, is there any other librarys that i have to install besides z_uno?
amatilda
Posts: 68
Joined: 26 Sep 2021 22:09

Re: Compilation error: exit status 2

Post by amatilda »

tjansteman wrote:
12 Aug 2023 15:10
Dosent work, is there any other librarys that i have to install besides z_uno?
No no need.


What version of Arduino?
What operating system and version?

Try reinstalling z_uno.
tjansteman
Posts: 13
Joined: 26 Jan 2021 00:20

Re: Compilation error: exit status 2

Post by tjansteman »

Arduino IDE 2.1.1
and Windows 10 Home

tryed reinstalling it and tried
Arduino IDE 1.8.19
lanbrown
Posts: 333
Joined: 01 Jun 2021 08:06

Re: Compilation error: exit status 2

Post by lanbrown »

What version to use depends on what version of Z-Uno you're trying to use. Make sure the add-on in the Arduino IDE is the right one for what Z-Uno board version you have, otherwise you will run into issues.
tjansteman
Posts: 13
Joined: 26 Jan 2021 00:20

Re: Compilation error: exit status 2

Post by tjansteman »

Installed an older version of Arduino and the problem went away :)
Manurev
Posts: 24
Joined: 30 Apr 2023 19:35

Re: Compilation error: exit status 2

Post by Manurev »

Hello I am Manuel. I have a similar problem.
May I know what the procedure is to install the above Arduino software? In my case the Arduino 2.0 was working fine for me but when I updated to 2.3.2 it no longer works. How can I go back to a previous version? Thank you.
amatilda
Posts: 68
Joined: 26 Sep 2021 22:09

Re: Compilation error: exit status 2

Post by amatilda »

Manurev wrote:
12 Mar 2024 17:18
Hello I am Manuel. I have a similar problem.
May I know what the procedure is to install the above Arduino software? In my case the Arduino 2.0 was working fine for me but when I updated to 2.3.2 it no longer works. How can I go back to a previous version? Thank you.
Hello.
You can select the version from 2.x.x here https://github.com/arduino/arduino-ide/releases

1.x.x https://github.com/arduino/Arduino/releases
User avatar
PoltoS
Posts: 7624
Joined: 26 Jan 2011 19:36

Re: Compilation error: exit status 2

Post by PoltoS »

Do you know that from now you can upload any sketch right from our website using Google Chrome - by clicking on the Upload button (check it here https://z-uno.z-wave.me/examples/SimpleSwitch/). You can also open the online editor https://z-uno.z-wave.me/editor/
Post Reply