Description, reproduction and output:
The game does not start when it´s being launched outside the game directory. For example by running ¨./iteam/iteam¨ in the CLI or by dubble clicking it in gnome/kde.
It display´s the following error after initializing gp2d:
terminate called after throwing an instance of ¨std::runtime_error¨
what(): FT_New_Face failed (there is problably a problem with your font file)
Aborted (core dumped)
Solution:
The solution might be to not load sprites/fonts/etc by calling ¨data/sprites/sprite.png¨ but by ¨application_Directory() + /data/sprites/sprite.png¨. Where the function returns the directory where the application is at. This or a simmilar function is not yet in the gp2d engine.