Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FB producing no output (solved (see freebasic.net forums))
#1
Quote:thecheese@HERCULES:~$ cd Desktop/FreeBASIC/examples/gfx
thecheese@HERCULES:~/Desktop/FreeBASIC/examples/gfx$ fbc rel-torus.bas
thecheese@HERCULES:~/Desktop/FreeBASIC/examples/gfx$ ./rel-torus
bash: ./rel-torus: Filen eller katalogen finns inte*

*the file or folder couldn't be found

I downloaded fB .14 twice with the same result and it seems to be like
that for anything I try to compile... :???:
/post]
Reply
#2
Try compiling with verbose (-v)
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#3
Can you guys get anything out of this?
Quote:print "bar"
Quote:leo@HERCULES:~/Desktop$ fbc -v foo.bas
FreeBASIC Compiler - Version 0.14 for linux (target:linux)
Copyright © 2004-2005 Andre Victor T. Vicentini (av1ctor@yahoo.com.br)

compiling: foo.bas -o foo.asm
assembling: /usr/share/freebasic/bin/as --strip-local-absolute "foo.asm" -o "foo.o"
leo@HERCULES:~/Desktop$
/post]
Reply
#4
Looks like it isn't linking

Quote:josh@Mew:~$ fbc -v foo.bas
FreeBASIC Compiler - Version 0.14 for linux (target:linux)
Copyright © 2004-2005 Andre Victor T. Vicentini (av1ctor@yahoo.com.br)

compiling: foo.bas -o foo.asm
assembling: /usr/share/freebasic/bin/as --strip-local-absolute "foo.asm" -o "foo.o"
linking: -dynamic-linker /lib/ld-linux.so.2 -T "/usr/share/freebasic/bin/elf_i386.x" -s "foo.o" "$$fb_icon$$.o" -o "foo" -L "/usr/share/freebasic/lib" -L "./" "/usr/share/freebasic/lib/crt1.o" "/usr/share/freebasic/lib/crti.o" "/usr/share/freebasic/lib/crtbegin.o" -( -lfb -lgcc -lc -lm -lpthread -ldl -) "/usr/share/freebasic/lib/crtend.o" "/usr/share/freebasic/lib/crtn.o"
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#5
So it seems. Any Ideas?
/post]
Reply
#6
Try posting on the freebasic.net forums.
Reply
#7
Apparently as is not being found; did you run install.sh as root? Make sure /usr/share/freebasic/bin/as exists.
Reply
#8
Yep, i did run it as root, apparently it were some problems with where
the stuff was and where fb expected it to be. See this link for
further details:
http://www.freebasic.net/forum/viewtopic.php?t=1923
/post]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)