Page 1 of 1

Newbie question

Posted: Wed Apr 27, 2016 12:16 pm
by philhu
I just installed qb64 on a Centos 6.7 system

I am trying to run it from command prompt, and do not use windows/x-windows. It is cmd prompt only system

Everytime I type "./qb64", after a few seconds it says:
freeglut (./qb64)

And then exits.

I am trying to use qb64 like old qbasic, ie, no windows, just edit the basic source, do a compile and run to build custom utilities
that would read command line and do their work, and exit. Like I did with omnibasic a few years back.

Can that be done in qb64?

Re: Newbie question

Posted: Wed Apr 27, 2016 5:54 pm
by burger2227
Google says it is a Linux distribution. Try the QB64 Linus version. Read the Installation instructions. http://www.qb64.net/
Based on the source code provided by Red Hat, Inc. for its recently released Red Hat Enterprise Linux 6.7 operating system, CentOS 6.7 is here to include all the upstream updates for core components, tools, and graphical applications, as well as updates for the graphical desktop environment.

Read more: http://news.softpedia.com/news/centos-6 ... z474OZ7SlB
This should work in Windows:

Code: Select all

qb64 EasterSub.bas

Re: Newbie question

Posted: Wed Apr 27, 2016 6:24 pm
by philhu
I am using the linux version

I meant i do not want to build appl with windows displayed, just console apps

All it does is say 'freeglut' and exits when i try to run qb64

Does qb64 on linux need to run in the xwindows environment?

Or can I just edit files with nano and compile them?

Re: Newbie question

Posted: Wed Apr 27, 2016 8:00 pm
by burger2227
Are you using the Linux version of QB64? If so run QB64 like any other Linux command would be run.

Join the Forum at QB64 where there are other Linux users who know way more than me.

http://www.qb64.net/forum/index.php

Re: Newbie question

Posted: Wed Apr 27, 2016 8:16 pm
by philhu
I will join the forum

I did install the linux version, which did correctly determine it was centos and downloaded missing pkgs and built the qb64 executable

Running it from command line, gives the error described

Re: Newbie question

Posted: Wed Apr 27, 2016 8:56 pm
by burger2227
Well running QB64 SDL from the command line above brings up a command console window which stays behind the IDE. The command also loaded the named BAS file so something similar may happen in Linus.

Re: Newbie question

Posted: Wed Apr 27, 2016 9:03 pm
by philhu
Ok. Since i ran it from cmd line without any window manager, that explains the error. You need a xwibdow or window manager like gnome to run this product. Too bad