Hello,
I'd like to compile a PB script on Ubuntu 20.04 server.
No graphic interface. Console only.
Is it possible?
I wasn't able to find an answer.
Thanks in advance for any help!
Ubuntu 20.04 - Console only script?
Re: Ubuntu 20.04 - Console only script?
In the Compiler menu -> compiler options -> Executable Format: Console
WARNING: I dont know what I am doing! I just put stuff here and there and sometimes like magic it works. So please improve on my code and post your changes so I can learn more. TIA
Re: Ubuntu 20.04 - Console only script?
Thanks vwidmer, but the problem is that I don't have a GUI.
I work with console SSH only. Only command line available.
My challenge is exactly to be able to write scripts to be used in a server console.
I work with console SSH only. Only command line available.
My challenge is exactly to be able to write scripts to be used in a server console.
Re: Ubuntu 20.04 - Console only script?
PB is not a script language, but a real compiler. Therefore Purebasic must be installed on the server. Then you can compile the programme with the command line compiler. See help.
BUT THE COMPILER MUST NOT BE INSTALLED AS PUBLIC ON THE SERVER. SEE THE LICENCE AGREEMENT.
BUT THE COMPILER MUST NOT BE INSTALLED AS PUBLIC ON THE SERVER. SEE THE LICENCE AGREEMENT.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Ubuntu 20.04 - Console only script?
Dawn will come inevitably.
Re: Ubuntu 20.04 - Console only script?
Or create the binary files on your regular development machine by using a virtual machine and just copy the generated console binary to the target machine. You just have to watch the external references
That way, i work with my convenient IDE environment all the time and just ftp the resulting binary to some remote host.
I use Oracle VirtualBox and distrowatch for that, which works great for linux. I have created software for over a 20 different linux systems that way on my windows computer.
That way, i work with my convenient IDE environment all the time and just ftp the resulting binary to some remote host.
I use Oracle VirtualBox and distrowatch for that, which works great for linux. I have created software for over a 20 different linux systems that way on my windows computer.