Page 1 of 2

Compilation error: exit status 2

Posted: 05 Aug 2023 14:44
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?

Re: Compilation error: exit status 2

Posted: 11 Aug 2023 15:00
by amatilda
Hello.
And if you try to compile RadioBlink.ino?

Re: Compilation error: exit status 2

Posted: 12 Aug 2023 15:10
by tjansteman
Dosent work, is there any other librarys that i have to install besides z_uno?

Re: Compilation error: exit status 2

Posted: 12 Aug 2023 15:36
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.

Re: Compilation error: exit status 2

Posted: 17 Aug 2023 20:52
by tjansteman
Arduino IDE 2.1.1
and Windows 10 Home

tryed reinstalling it and tried
Arduino IDE 1.8.19

Re: Compilation error: exit status 2

Posted: 17 Aug 2023 21:11
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.

Re: Compilation error: exit status 2

Posted: 18 Aug 2023 09:17
by tjansteman
Installed an older version of Arduino and the problem went away :)

Re: Compilation error: exit status 2

Posted: 12 Mar 2024 17:18
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.

Re: Compilation error: exit status 2

Posted: 13 Mar 2024 21:35
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

Re: Compilation error: exit status 2

Posted: 14 Mar 2024 04:02
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/