Page 1 of 1

Create PB Executable = shared library

Posted: Tue Oct 23, 2018 2:45 pm
by Justin
This has to be very basic but when i create an exe in linux with no extension in xfce it is recognized as a shared library. i can not execute it double clicking on it, i messed around with the default launchers and now is associated with some useless launchers that can not be removed, they are greyed out(tipical linux)

I can only execute it via the terminal, so how to fix this stupid thing :D

Re: Create PB Executable = shared library

Posted: Tue Oct 23, 2018 5:06 pm
by Justin
Import "-no-pie"
EndImport

i guess it will be fixed for the next release.

Re: Create PB Executable = shared library

Posted: Tue Oct 23, 2018 5:12 pm
by Sicro
This is a known bug. It was fixed in PB 5.70 Beta 2.

If you are using an older version of PB, you can fix the bug yourself as follows:

Code: Select all

ImportC "-no-pie" : EndImport ; This code line must be at the very top of your code