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

Source code related resources

Moderator: Rathinagiri

marcobra

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

Post 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

marcobra

Post 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

User avatar
apais
Posts: 425
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 96 times
Been thanked: 87 times
Contact:

Post by apais »

Can you post some screenshots.
I'd like to see how HMG looks like under linux.

Thanks in advance !
Angel Pais
Web Apps consultant/architect/developper.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com

marcobra

Post by marcobra »

Here a screenshot of test app:... the hmg/samples/test running...
Attachments
Screenshot.png
Screenshot.png (64.91 KiB) Viewed 9322 times

User avatar
apais
Posts: 425
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 96 times
Been thanked: 87 times
Contact:

Post by apais »

very nice !!
will have to put my ubuntu notebook partition to do something productive :P
Angel Pais
Web Apps consultant/architect/developper.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com

marcobra

Post 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

User avatar
Rathinagiri
Posts: 5411
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 252 times
Been thanked: 305 times
Contact:

Post by Rathinagiri »

Just great to see HMG in Linux. :)

Can you connect a MySQL database?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
apais
Posts: 425
Joined: Fri Aug 01, 2008 6:03 pm
Location: uruguay
Has thanked: 96 times
Been thanked: 87 times
Contact:

Post 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...
Angel Pais
Web Apps consultant/architect/developper.
HW_apache (webserver modules) co-developer.
HbTron (Html GUI for harbour desktop hybrid apps) co-developer.
https://www.hbtron.com

User avatar
Roberto Lopez
HMG Founder
Posts: 3991
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 85 times
Been thanked: 184 times

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

Roberto


(Veritas Filia Temporis)

marcobra

Post 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

Post Reply