discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem loading a picture.


From: Tima Vaisburd
Subject: Re: Problem loading a picture.
Date: Thu, 11 Mar 2004 20:55:51 -0800
User-agent: KMail/1.4.3

On Wednesday 10 March 2004 05:13, Nicolas SANCHEZ wrote:
> I've a picture in my app directory (included in GNUmakefile), when I
> exec my prog in the src dir, the picture is loaded, but after doing a
> make install and executing the prog anywhere the picture is not loaded.
>
> Is it necessary to tell the complete path when loading the picture ?

Hi,

I guess you load picture with its relative path name, like "picture.jpg"
Relative path names are relative to the current directory of the process,
so the program will always look for "./picture.jpg". If it's not what you 
want, use absolute path.

Tima.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]