Compile Mode Games Only Work in Linux Terminal

Reporter: time-killer-games  |  Status: closed  |  Last Modified: December 16, 2018, 11:50:53 PM

I can only run the game if i open it from the terminal, otherwise...

The Fucking:
screenshot from 2018-10-27 14-00-40

This is actually a duplicate of #701 and everybody ignored me when I filed that issue.

@time-killer-games Please take a look at #1425 which @JoshDreamland said should fix it.

I confirm the issue is fixed by that pr.

This issue upsets me. There's several layers to the issue here too. So what's going on is gcc versions newer than version 6 are building PIEs by default. This causes MIME type detection of the produced executables to see them as shared objects instead of executables. And this is what causes Nautilus to not be able to run the game:

Now, the reason I hate Josh's #1425 proposal is because older gccs complain about not knowing the command line option. Also, PIE is actually safer for security reasons anyway, even Chrome ships a PIE enabled build. We happen to be using Ubuntu Trusty for Travis still, so obviously it doesn't know about PIE either. The best solution seems to be that we should check the shell to see if gcc is configured with PIE or not.


Closing as resolved by #1440.
Please sign in to post comments, or you can view this issue on GitHub.