Page 2 of 2

Re: HMG.4 For Linux New Binaries+Source Release [RE-RELEASED

Posted: Sat Sep 04, 2010 9:20 am
by raumi75
OK. I have compiled and checked all samples. Only two controls did not work right right away. I posted the issues on the developer table. Tree and slider had problems, but that has nothing to do with Linux. It is just, because the HMG-code is not completed.

This is very exciting. It looks like HMG will be a great tool for building cross-platform applications without the need for slow scripting languages or interpreters on the client machine.

Does anybody have any experience with Mac OS and QT4? ;-)

Re: HMG.4 For Linux New Binaries+Source Release [RE-RELEASED

Posted: Sat Sep 04, 2010 9:49 am
by Rathinagiri
Hi Raumi,

What is the problem you have got in tree?

Re: HMG.4 For Linux New Binaries+Source Release [RE-RELEASED

Posted: Sat Sep 04, 2010 10:10 am
by raumi75
rathinagiri wrote:Hi Raumi,

What is the problem you have got in tree?
Hi Rathinagiri,

1. Pushing the button GetItem leads to runtime error:

Code: Select all

Error BASE/1004  No exported method: SETTEXT

Called from SETTEXT(0)
Called from TREE:ITEM(144)
Called from (b)MAIN(104)
Called from QT_QAPPLICATION_EXEC(0)
Called from QAPPLICATION:EXEC(0)
Called from WINDOW:ACTIVATE(1853)
Called from MAIN(109)
2. Delete Item / Delete All Items does not do anything

3. Get Value Tree Value always returns 0

Other than that, it looks great in Ubuntu 10.04!

By the way: I like your new picture.

Raumi

Re: HMG.4 For Linux New Binaries+Source Release [RE-RELEASED

Posted: Sat Sep 04, 2010 11:33 am
by Rathinagiri
I think you are using the old version.

Please update to the new version. :)

Re: HMG.4 For Linux New Binaries+Source Release [RE-RELEASED

Posted: Sat Sep 04, 2010 12:13 pm
by Roberto Lopez
raumi75 wrote:One more thing. All files have the UNIX-properties rwx (read, write, execute) for everybody (owner, group, other).

That means, that double-clicking on non-executable-files like hmg4.html or changelog.txt leaves the computer confused.

files like that need to be (rw-)

Code: Select all

chmod a-x hmg.4.html
will fix that.

Also .prg should not be marked as executeable.

To recursively do this in all directories try

Code: Select all

find . -type f -name '*.prg' -exec chmod a-x {} \;
Raumi
Ok. I've simply copied the files from my Windows volume :)

I'll follow your suggestions for the next releases.

Thanks.

Re: HMG.4 For Linux New Binaries+Source Release [RE-RELEASED

Posted: Sun Sep 05, 2010 3:04 am
by Steed
Hello,

I have error above, when i tryed to compile any example in Ubuntu 1.04 64 bits:

Lines 61979, Functions/Procedures 382
Generating C source output to '/tmp/hbmk_szbiz4.dir/demo_1.c'... Done.
/usr/bin/ld: skipping incompatible /home/ed/Escritorio/hmg.4/harbour/lib/linux/gcc/libhbqtcore.a when searching for -lhbqtcore
/usr/bin/ld: cannot find -lhbqtcore
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1


Regards,

Ed

Re: HMG.4 For Linux New Binaries+Source Release [RE-RELEASED

Posted: Sun Sep 05, 2010 3:35 am
by Roberto Lopez
Steed wrote:Hello,

I have error above, when i tryed to compile any example in Ubuntu 1.04 64 bits:

Lines 61979, Functions/Procedures 382
Generating C source output to '/tmp/hbmk_szbiz4.dir/demo_1.c'... Done.
/usr/bin/ld: skipping incompatible /home/ed/Escritorio/hmg.4/harbour/lib/linux/gcc/libhbqtcore.a when searching for -lhbqtcore
/usr/bin/ld: cannot find -lhbqtcore
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1


Regards,

Ed
Maybe you have harbour already installed. If so, please uninstall.

Re: HMG.4 For Linux New Binaries+Source Release [RE-RELEASED

Posted: Sun Sep 05, 2010 4:26 am
by Steed
No, I haven't harbour installed, i think is sometihing related with the 64 bits, regarding the message "skipping incompatible /home/ed/Escritorio/hmg.4/harbour/lib/linux/gcc/libhbqtcore.a when searching for -lhbqtcore"


Regards,

Ed
hbmk2: Processing local make script: hbmk.hbm
Harbour 2.1.0beta2 (Rev. 15420)
Copyright (c) 1999-2010, http://harbour-project.org/
Compiling 'demo_1.prg'...
Compiling '../../source/hmg.prg'...
Compiling '../../source/application.prg'...
Compiling '../../source/window.prg'...
Compiling '../../source/misc.prg'...
Compiling '../../source/button.prg'...
Compiling '../../source/checkbutton.prg'...
Compiling '../../source/control.prg'...
Compiling '../../source/textbox.prg'...
Compiling '../../source/label.prg'...
Compiling '../../source/checkbox.prg'...
Compiling '../../source/progressbar.prg'...
Compiling '../../source/frame.prg'...
Compiling '../../source/spinner.prg'...
Compiling '../../source/editbox.prg'...
Compiling '../../source/grid.prg'...
Compiling '../../source/datepicker.prg'...
Compiling '../../source/combobox.prg'...
Compiling '../../source/listbox.prg'...
Compiling '../../source/radiogroup.prg'...
Compiling '../../source/toolbar.prg'...
Compiling '../../source/toolbutton.prg'...
Compiling '../../source/tree.prg'...
Compiling '../../source/tab.prg'...
Compiling '../../source/tabpage.prg'...
Compiling '../../source/image.prg'...
Compiling '../../source/mainmenu.prg'...
Compiling '../../source/menupopup.prg'...
Compiling '../../source/menuitem.prg'...
Compiling '../../source/printer.prg'...
Compiling '../../source/slider.prg'...
Lines 61979, Functions/Procedures 382
Generating C source output to '/tmp/hbmk_t3dwi0.dir/demo_1.c'... Done.
/usr/bin/ld: skipping incompatible /home/ed/Escritorio/hmg.4/harbour/lib/linux/gcc/libhbqtcore.a when searching for -lhbqtcore
/usr/bin/ld: cannot find -lhbqtcore
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc '/tmp/hbmk_t3dwi0.dir/demo_1.o' '/tmp/hbmk_t3dwi0.dir/hbmk_zmlnw0.o' -Wl,--start-group -l'supc++' -l'hbqtcore' -l'QtCore' -l'QtGui' -l'hbqtgui' -l'QtUiTools' -l'hbqtnetwork' -l'QtNetwork' -l'hbct' -l'hbextern' -l'hbdebug' -l'hbvm' -l'hbrtl' -l'hblang' -l'hbcpage' -l'gtcgi' -l'gtpca' -l'gtstd' -l'gttrm' -l'hbrdd' -l'hbuddall' -l'hbusrrdd' -l'rddntx' -l'rddcdx' -l'rddnsx' -l'rddfpt' -l'hbrdd' -l'hbhsx' -l'hbsix' -l'hbmacro' -l'hbcplr' -l'hbpp' -l'hbcommon' -l'm' -l'dl' -l'rt' -l'hbpcre' -l'hbzlib' -Wl,--end-group -o'demo_1' -L'/home/ed/Escritorio/hmg.4/harbour/lib/linux/gcc'
./build.sh: lĂ­nea 4: ./demo_1: No existe el archivo o directorio

Re: HMG.4 For Linux New Binaries+Source Release [RE-RELEASED

Posted: Sun Sep 05, 2010 12:23 pm
by Roberto Lopez
Steed wrote:No, I haven't harbour installed, i think is sometihing related with the 64 bits, regarding the message "skipping incompatible /home/ed/Escritorio/hmg.4/harbour/lib/linux/gcc/libhbqtcore.a when searching for -lhbqtcore"


Regards,

Ed
I have not a 64 bits system to make tests.