Page 1 of 2

HMG-Linux warning of sample hmglow.c are removed...

Posted: Mon Nov 17, 2008 7:32 pm
by marcobra
I use only Linux so i need http://harbourminigui.googlepages.com/linux harbour_minigui to works...
I dressed the warnings of hmg/source/hmglow.c, and it works, in attach the hmglow_marcobra.c modified...

Open a terminal and type:

cd $HOME/hmg/source
mv hmglow.c hmglow_old.c
mv hmglow_marcobra.c hmglow.c

and build the test.prg

cd ../samples/
./compile.sh test

Still some warning to dress into hmghigh.prg

But cannot attach the file here or i don't see the attached file so i put the file also here:
http://www.elart.it/harbour/hmg-linux/hmglow_marcobra.c

Thank you

Re: HMG-Linux warning of sample hmglow.c are removed...

Posted: Tue Nov 18, 2008 7:53 pm
by marcobra
I added all the hmg for linux structure with latest Harbour in it dev version..
No more warnings and it compile and run...

I have put the entire tar.gz file here...
http://www.elart.it/harbour/hmg-linux/h ... 01a.tar.gz

Please try, open a terminal and type:

wget http://www.elart.it/harbour/hmg-linux/h ... 01a.tar.gz
tar -xvzf hmg-linux-001a.tar.gz
cd hmg/samples
./compile.sh test
./test

i have only a terminal issue after exit from test so i must to (blind) type:

reset

into terminal window to reset it...

Thank you

Re: HMG-Linux warning of sample hmglow.c are removed...

Posted: Tue Nov 18, 2008 9:39 pm
by apais
Can you post some screenshots.
I'd like to see how HMG looks like under linux.

Thanks in advance !

Re: HMG-Linux warning of sample hmglow.c are removed...

Posted: Tue Nov 18, 2008 9:45 pm
by marcobra
Here a screenshot of test app:... the hmg/samples/test running...

Re: HMG-Linux warning of sample hmglow.c are removed...

Posted: Tue Nov 18, 2008 10:49 pm
by apais
very nice !!
will have to put my ubuntu notebook partition to do something productive :P

Re: HMG-Linux warning of sample hmglow.c are removed...

Posted: Tue Nov 18, 2008 11:08 pm
by marcobra
Yes i suggest you to install the Ubuntu 8.04 LTS (Long Time Support) standard desktop 32 bit, dont' install it using Wubi ( Windows UBuntu Installer ) simply boot from your self made Ubuntu cd here the torrent files http://torrent.ubuntu.com:6969/

Here the easy steps to install Ubuntu 8.04.1 https://help.ubuntu.com/community/GraphicalInstall

Download and burn your Ubuntu live install cd from the ubuntu-8.04.1-desktop-i386.iso

Or if you want the latest Ubuntu 8.10 the ubuntu-8.10-desktop-i386.iso

Please refer for any questions and to submit bugs to the wonderful Launchpad platform https://launchpad.net/

For Ubuntu --- https://launchpad.net/ubuntu

and for your questions and answers to https://answers.launchpad.net/ubuntu

Thank you

Re: HMG-Linux warning of sample hmglow.c are removed...

Posted: Wed Nov 19, 2008 3:43 am
by Rathinagiri
Just great to see HMG in Linux. :)

Can you connect a MySQL database?

Re: HMG-Linux warning of sample hmglow.c are removed...

Posted: Wed Nov 19, 2008 12:53 pm
by apais
I have ubuntu 8.04 installed since months, and even have compiled harbour itself on it.
The only thing i've not done is testing either gui library on it yet.
Hwgui is only available from svn i I don't undestand it.
xhGTK remains a mistery for me.
HMG on its linux version could be a starting point to gui programming under ubuntu.

Let's see what can be done...

Re: HMG-Linux warning of sample hmglow.c are removed...

Posted: Wed Nov 19, 2008 8:18 pm
by Roberto Lopez
marcobra wrote:I use only Linux so i need http://harbourminigui.googlepages.com/linux harbour_minigui to works...
I dressed the warnings of hmg/source/hmglow.c, and it works, in attach the hmglow_marcobra.c modified...

Open a terminal and type:

cd $HOME/hmg/source
mv hmglow.c hmglow_old.c
mv hmglow_marcobra.c hmglow.c

and build the test.prg

cd ../samples/
./compile.sh test

Still some warning to dress into hmghigh.prg

But cannot attach the file here or i don't see the attached file so i put the file also here:
http://www.elart.it/harbour/hmg-linux/hmglow_marcobra.c

Thank you
I've made HMG-LINUX two years ago, when I've discovered Ubuntu (6.06 at that time).

It was a mere experiment. I've worked on it by about two weeks.

It was a very big surprise to me how easy and powerful is GTK compared to Win32API.

A basic MiniGUI library compatible version for GTK could be done in relatively short time.

Regards,

Roberto.

Re: HMG-Linux warning of sample hmglow.c are removed...

Posted: Thu Nov 20, 2008 12:07 am
by marcobra
@Roberto i will glad to help you (i use only Linux) it in my spare time, but i need some starting point to begin. Do you have some suggestion...
My skill are (Unix, dos, clipper->visual object->harbour some c and other...)
My fav Linux distribution, which i contribute every day (answering to the users on Launchpad) is Ubuntu ( Gnome Desktop Environment )
Is about 3 year that i use it, i'm very glad and i don't use Window anymore.
I think porting your lib under Gnu Linux will be wonderful.
Here my question on about HMG_Linux on the Harbour developer mailing list:
http://lists.harbour-project.org/piperm ... 13570.html

Thank you

@rathinagiri Yes with Ubuntu using Harbour i'm able to connect to, in order of interest:
Postgresql
sqllite
mysql
...

Take a look into harbour/contrib/... sources there are contrib library with samples.
Here from harbour trunk svn:
http://harbour-project.svn.sourceforge. ... r/contrib/

Thank you