Page 1 of 1

Issues with image samples on Linux

Posted: Sat Sep 04, 2010 8:55 am
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

Re: Issues with image samples on Linux

Posted: Sat Sep 04, 2010 9:10 am
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. :)

Re: Issues with image samples on Linux

Posted: Sat Sep 04, 2010 10:25 am
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

Re: Issues with image samples on Linux

Posted: Sat Sep 04, 2010 11:30 am
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.

Re: Issues with image samples on Linux

Posted: Sat Sep 04, 2010 12:17 pm
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.