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 »

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: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Issues with image samples on Linux

Post by Rathinagiri »

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:

Re: Issues with image samples on Linux

Post by raumi75 »

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: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: Issues with image samples on Linux

Post by Rathinagiri »

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: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: Issues with image samples on Linux

Post by Roberto Lopez »

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