Path for graphics dont work (Linux)
Posted: Wed Dec 28, 2005 12:46 pm
Hi !
I have made a little program with some ButtonImageGadgets.
The graphics are stored in a folder named "graphics" that is placed in the folder where the .pb file is.
I load the graphics with"graphics/" before the filename and it works from the IDE with compile and run (with and without Debugger).
If i create an executable (in the same folder) it does not find the graphics.
If i use the complete path ("/home/zoidberg/purebasic/ownprograms/graphics") it works.
On windows it works with only "graphics/" also in the executable.
Seems that is not a known problem, because i did not find something in the forum. What can i do?
P.S.: The samples that come with Purebasic are working, so i think i have all needed things installed. I use Kanotix (Debian like) as a HD Installation.
Thank You !
Steffen
I have made a little program with some ButtonImageGadgets.
The graphics are stored in a folder named "graphics" that is placed in the folder where the .pb file is.
I load the graphics with"graphics/" before the filename and it works from the IDE with compile and run (with and without Debugger).
If i create an executable (in the same folder) it does not find the graphics.
If i use the complete path ("/home/zoidberg/purebasic/ownprograms/graphics") it works.
On windows it works with only "graphics/" also in the executable.
Seems that is not a known problem, because i did not find something in the forum. What can i do?
P.S.: The samples that come with Purebasic are working, so i think i have all needed things installed. I use Kanotix (Debian like) as a HD Installation.
Thank You !
Steffen