Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Freebasic and Ubuntu
#1
I've managed to install ubuntu on my computer (in fact I'm using it now)
and run the installation script for freebasic...

To the questions:
When I try to compile rel-torus.bas it asks for files and stuff, I suppose
the libraries aren't compiled... How would I do that?

When I compile a test-file that only uses PRINT etc. it does so fine, but
when I double-click on the program nothing happens,
when I enter it's name in a console it gives the result "bash: programfilename: command not found
"
But when I drag the file to the console (with the result that the full path also precedes the filename"
It runs... Why?
/post]
Reply
#2
Quote:When I try to compile rel-torus.bas it asks for files and stuff, I suppose
the libraries aren't compiled... How would I do that?
system -> administrative -> synaptic package manager

Search for the packages you need. oh wait forgot one thing...
http://ubuntuguide.org/#extrarepositories
Do that first.
The ubuntuguide site is a great site. =P

Quote:When I compile a test-file that only uses PRINT etc. it does so fine, but
when I double-click on the program nothing happens,
when I enter it's name in a console it gives the result "bash: programfilename: command not found
"
But when I drag the file to the console (with the result that the full path also precedes the filename"
It runs... Why?

to run it you need to do
./program2run
not just
program2run
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#3
Thanks a lot!

1 Try to compile
2 If notfoundlibrary$<>"" then synapticpackagemanager("notfoundlibrary$)
3 Goto 1
4 Print "Program's runninng"

Man - that's easier than I thought!
/post]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)