[Gambas-user] program return error value 1

Jussi Lahtinen jussi.lahtinen at gmail.com
Wed Oct 25 15:06:13 CEST 2023


IDE --> Project --> Compile All
Then try again. Otherwise the problem might be in the Qt or in the Gambas
installation. Successfully running something proves nothing. Try to run the
unit test.

Jussi

On Tue, Oct 24, 2023 at 5:03 PM <roberto.premoli at tiscali.it> wrote:

> Hello all
> igot a new conputer with he follow:
> distro: devuan 5.0 "Dedalus" (the current stable)
> linux: Linux AM 6.1.0-13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1
> (2023-09-29) x86_64 GNU/Linux
> gambas: 3.18.0
> I create FROM ZERO (i choose QT) a demo program.
> How the programm works:
> there are one label and 2 buttons:
>  press button 1 => label1.text = "hello word"
>  press button 2 => label1.text = "happy birtday"
> no more, very easy demo program
> When I try to run it, it return "error 1" and it does not run.
> I tried also "compile" and "compile all" berore run, no success.
> Really I dont know what i did wrong: i change nothing in configuration, i
> change nothing in Fmain attributes, the only bold attribute are height and
> width (both = 448).
> I only created label, 2 buttons an place code into button as follow:
> Public Sub Button1_Click()
>   Label1.Text = "hello world!"
> End
>
> Public Sub Button2_Click()
>   Label1.Text = "happy birtday!"
> End
>
> I attached here the demo program if someone want to investigate and find
> my error.
> Thanks,
>  Roberto
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231025/32b9e96a/attachment.htm>


More information about the User mailing list