Page 1 of 1

sbcompiler

Posted: Fri Aug 15, 2014 5:33 pm
by Paul
When I use a command line: pbcompiler.exe /debugger "C:\myapp.pb"
This will compile and launch my PureBasic app in debug mode.

Should I be able to do the same with SpiderBasic?
sbcompiler.exe /debugger "C:\myapp.sb"

When I do this it says it compiles the spiderbasic code but then nothing happens after that. It fails to launch in a browser.

ps: just a side note, if I type sbcompiler /?
it says:

PBCompiler "Filename:

Options:
-------

it probably should say SBCompiler :)

Re: sbcompiler

Posted: Sat Aug 16, 2014 10:20 am
by Fred
For now, you can't launch it from the commandline, as it needs a webserver and such which is handled by the IDE. But you can generate your project, using the /EXE flag.

Re: sbcompiler

Posted: Wed Aug 20, 2014 8:49 am
by SinisterSoft
Fred: Are you saying you can generate an executable? (by using the /EXE flag)

Re: sbcompiler

Posted: Wed Aug 20, 2014 12:12 pm
by Fred
It's has been changed in beta, now the /EXE has been replaced by /OUTPUT, which is better as it's indeed not an executable :)

Re: sbcompiler

Posted: Thu Aug 21, 2014 10:32 am
by SinisterSoft
Ahh, I see. np. :)