Search found 9 matches

by acidblue
Aug 03, 2012 14:10
Forum: Linux
Topic: fbc giving error>> -lncurses
Replies: 5
Views: 1651

Re: fbc giving error>> -lncurses

ncurses is installed on my machine, however after a re-install and a reboot all is well :)
by acidblue
Aug 03, 2012 4:41
Forum: Linux
Topic: fbc giving error>> -lncurses
Replies: 5
Views: 1651

fbc giving error>> -lncurses

Freebasic is giving me an error when i try to compile a .bas file

/usr/share/freebasic/bin/linux/ld: cannot find -lncurses

I used the stand-alone installer on crunchbang statler.
by acidblue
Jul 27, 2012 16:26
Forum: Beginners
Topic: Rounding to 2 decimal places
Replies: 14
Views: 4140

Re: Rounding to 2 decimal places

Thanks for all the examples guys.
'Format' seems to be what I'm looking for,
as does 'Print Using'
by acidblue
Jul 27, 2012 0:33
Forum: Beginners
Topic: Rounding to 2 decimal places
Replies: 14
Views: 4140

Rounding to 2 decimal places

Is there a 'Round' function in FB? Im trying round decimals to just 2 places and just can't seem to get it right. Dim inAmnt As integer Dim totAmnt As integer Dim percent As Single 'inAmnt/totAmn*100=percent Input "Enter the used amount !>", inAmnt Input "Now enter the total amount !>...
by acidblue
Jun 23, 2009 23:19
Forum: Linux
Topic: FB 0.20 +Ubuntu 8.10 64 - the easy way
Replies: 19
Views: 21843

After compiling a test.bas file i get this error: test.bas() error 24: File not found, libsupc++.a ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.3//libgcc.a when searching for -lgcc ld: cannot find -lgcc Not sure what i should do , libsupc++ ? EDIT: I un-installed the regular version a...
by acidblue
Jun 21, 2009 2:59
Forum: Linux
Topic: FreeBASIC 0.20.0b Installer
Replies: 7
Views: 2043

How about a .deb for all us x86_64 bit users?
by acidblue
Jun 21, 2009 2:25
Forum: Linux
Topic: FB 0.20 +Ubuntu 8.10 64 - the easy way
Replies: 19
Views: 21843

After doing a fresh install of Ubuntu 9.04, everything seems ok.
FB installed and i can do fbc -version with out errors.
I'll try compiling some code in the morning, it's late right now and i need some rest.
by acidblue
Jun 21, 2009 0:49
Forum: Linux
Topic: FB 0.20 +Ubuntu 8.10 64 - the easy way
Replies: 19
Views: 21843

No that dosn't work either I get this error:

rocko@darkstar:~/Desktop/FreeBASIC$ fbc
/usr/bin/fbc: 2: /usr/share/freebasic/fbc: not found
by acidblue
Jun 21, 2009 0:26
Forum: Linux
Topic: FB 0.20 +Ubuntu 8.10 64 - the easy way
Replies: 19
Views: 21843

I'm also using Ubuntu 9.04, but infortunately i cannot install FB. I get this error when I try 'sudo ./install.sh -i rocko@darkstar:~/Desktop/FreeBASIC$ sudo ./install.sh -i [sudo] password for rocko: ./install.sh: 117: ./fbc: not found ./install.sh: 119: ./fbc: not found ERROR: Unable to determine ...