Loading binary files

Post

Posted
Rating:
#1 (In Topic #1371)
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
Hello,

I seem to recall I used to be able to load up Gambas executable files like so:

Code

gambas3 "/home/graham/Templates/Gambas/Updating/Remembrance/Remembrance.gambas"

Now when I do it I get a dialog that says "Cannot open binary file" and it loads up the IDE.

Did they change the launch command on me?
Online now: No Back to the top

Post

Posted
Rating:
#2
Guru
BruceSteers is in the usergroup ‘Guru’
 gambas3 is the command for the IDE and can only be used on the project directory not the executable binary
gambas3 /path/to/project

gbr3  is the binary runner
gbr3 /path/to/project/project.gambas

gbx3 runs the the project folder not the binary
gbx3 /path/to/project
Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
Thanks.
Online now: No Back to the top

Post

Posted
Rating:
#4
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
Further question, is there any way to get it to launch a Gambas executable without checking the runtime version? This has been a repeated issue when trying to get other people to try my games, and for the most part none of my programs rely on features or changes of the most recent runtime.

Over the Top - FreeGameDev.net Forums
Online now: No Back to the top

Post

Posted
Rating:
#5
Guru
BruceSteers is in the usergroup ‘Guru’

Technopeasant said

Further question, is there any way to get it to launch a Gambas executable without checking the runtime version? This has been a repeated issue when trying to get other people to try my games, and for the most part none of my programs rely on features or changes of the most recent runtime.

Over the Top - FreeGameDev.net Forums

if you goto the project properties / options you will find the "Force bytecode version"  that will force the bytecode check to not complain if higher than your selected version.

ideally the version you should select is the one your code is compatible down to.
Online now: No Back to the top

Post

Posted
Rating:
#6
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
That helps, thanks.
Online now: No Back to the top
1 guest and 0 members have just viewed this.