Cant run project with TBitmap/textfile without starting lazarus on MAC lazarus / 39-Graphics ---------------------------------------------------------------------- lukastrval · 2014-05-21 08:44 Hi, recently i am having difficulties because i cant run compiled projects on my MAC, because they cant find external sources like textfile or bitmap. However when i run it through lazarus there is no problem. Can you please give me any advice? Thanks ---------------------------------------------------------------------- circular · 2014-05-21 13:05 I think the files must be located at a specific folder relative to the binaries. ---------------------------------------------------------------------- lukastrval · 2014-05-21 13:16 Quote from: circular on May 21, 2014, 03:05:24 pmI think the files must be located at a specific folder relative to the binaries. It works like this on any windows machine... I found out that the problem ist, that lazarus doesnt look in the folder where project files are but in my documents folder though the directory is relative. Can I set it somehow? ---------------------------------------------------------------------- circular · 2014-05-21 14:27 No no, it does not work like on Windows. On Windows, by default the files are searched in the same folder as the binaries, not in a relative path. Look for example at LazPaint archive for MacOS: http://sourceforge.net/projects/lazpaint/files/bin/lazpaint5.5- osx32bits.zip/download Apparently it needs to have this structure. ---------------------------------------------------------------------- lukastrval · 2014-05-23 19:48 Quote from: circular on May 21, 2014, 04:27:39 pmNo no, it does not work like on Windows. On Windows, by default the files are searched in the same folder as the binaries, not in a relative path. Look for example at LazPaint archive for MacOS: http://sourceforge.net/projects/lazpaint/files/bin/lazpaint5.5- osx32bits.zip/download Apparently it needs to have this structure. Thanks for explanation Lazpaint looks as beta version of photoshop good job if its your work ---------------------------------------------------------------------- circular · 2014-05-24 23:29 Thank you. Well version for Mac may not be the best one, as I have Windows so I cannot test myself if it works great on Mac. I do not have much feedback for this platform.