Issues with image samples on Linux

Moderator: Rathinagiri

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

Issues with image samples on Linux

Post by raumi75 » Sat Sep 04, 2010 8:55 am

samples/image/demo_1 does not compile on Linux because of Windows-style path. Instead of Backslash \, please use / for the path

Code: Select all

#include "../../include/hmg.ch"
Set Procedure To ../../source/hmg
After these changes, it compiles and displays all three images.

samples/image/demo_2 compiles and runs on Linux.

But it does not display the .gif-file. That is because Linux is more case sensitive than Windows. There is a difference between "plecy.gif" and "plecy.GIF"

The file is named "plecy.GIF" so line 224 of demo_2.prg needs to read
oImgGIF:Picture := 'plecy.GIF'
I could not commit because I am not a developer and don't have a svn-password.

Raumi

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

Post by Rathinagiri » Sat Sep 04, 2010 9:10 am

Hi Raumi,

If you have sourceforge.net userid, you can also join the team.

If you don't have one, please register and give your id here. :)
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:

Post by raumi75 » Sat Sep 04, 2010 10:25 am

I just created an account. My username is raumi75.

Is there a policy of what I can commit? I don't want anybody to be angry, because I messed with their code...

Raumi

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

Post by Rathinagiri » Sat Sep 04, 2010 11:30 am

I am sure at this stage of development we need to complete backward compatibility of HMG previous version to the maximum possible extent.

I think nobody would get angry! If something goes wrong, it is always possible to revert back at any time, since all the versions are stored in SVN.

You have been added to sourceforge project.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
Roberto Lopez
HMG Founder
Posts: 3900
Joined: Wed Jul 30, 2008 6:43 pm
Has thanked: 13 times
Been thanked: 136 times

Post by Roberto Lopez » Sat Sep 04, 2010 12:17 pm

raumi75 wrote:I just created an account. My username is raumi75.

Is there a policy of what I can commit? I don't want anybody to be angry, because I messed with their code...

Raumi
Please, do not forget to announce in what thing are you working on to the team and Welcome!

PS: make your posts at: "Welcome to the Project Developers' Table" thread. The main action is there.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)

Post Reply