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

HMG announcements; Latest HMG-related news, releases, fixes and updates.

Moderator: Rathinagiri

User avatar
raumi75
Posts: 135
Joined: Wed Dec 17, 2008 2:31 am
Location: Lünen, Germany
Contact:

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

Post 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? ;-)
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

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

Post by Rathinagiri »

Hi Raumi,

What is the problem you have got in tree?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
raumi75
Posts: 135
Joined: Wed Dec 17, 2008 2:31 am
Location: Lünen, Germany
Contact:

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

Post 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
Attachments
Screenshot of tree-control on Ubuntu Linux 10.04
Screenshot of tree-control on Ubuntu Linux 10.04
tree.png (64.82 KiB) Viewed 9303 times
User avatar
Rathinagiri
Posts: 5481
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

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

Post by Rathinagiri »

I think you are using the old version.

Please update to the new version. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

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

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Steed
Posts: 439
Joined: Sat Dec 12, 2009 3:40 pm

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

Post 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
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

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

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Steed
Posts: 439
Joined: Sat Dec 12, 2009 3:40 pm

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

Post 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
User avatar
Roberto Lopez
HMG Founder
Posts: 4023
Joined: Wed Jul 30, 2008 6:43 pm

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

Post 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.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
Post Reply