Packages required for .20 and up in Ubuntu
-
- Posts: 2
- Joined: Sep 22, 2008 23:59
Include path
Actually, it's worse than than that. Whatever program I try to compile bombs out with a ld error indicating that it cannot find the particular library.
Looks like I'll have to compile FB from source........
Looks like I'll have to compile FB from source........
-
- Posts: 1706
- Joined: May 27, 2005 6:34
- Location: Cambodia, Thailand, Lao, Ireland etc.
- Contact:
Most of the examples with FB are examples of using external libraries. If they don't work, then it is because you don't have the library installed and configured, and it has nothing to do with FreeBASIC itself. Many new users get confused because they can't run all the samples.
Only three classes of examples should work out of the box, (1) a console application like a one line program, (2)the examples using the fbgfx library (with names in this pattern with fbgfx_*.bas in the examples/gfx folder) and (3) the OpenGL examples like fbgfx_opengl.bas and most of the NeHe OpenGL code in /home/garvan/FreeBASIC/examples/libraries/GL and GL/NeHe.
If you are on a windows computer, then the windows samples should work.
Concentrate on these examples to get a feel of FreeBASIC. Study the libraries in your free time, to see which ones are interesting to you. Nobody uses all the supported libraries, but we all have our favourites.
Garvan
Only three classes of examples should work out of the box, (1) a console application like a one line program
Code: Select all
print "hi"
If you are on a windows computer, then the windows samples should work.
Concentrate on these examples to get a feel of FreeBASIC. Study the libraries in your free time, to see which ones are interesting to you. Nobody uses all the supported libraries, but we all have our favourites.
Garvan
Heres a crappy video of how I install FreeBASIC in Ubuntu.
Not crappy at all. Well DoneTurd wrote:Heres a crappy video of how I install FreeBASIC in Ubuntu.
James
-
- Posts: 1706
- Joined: May 27, 2005 6:34
- Location: Cambodia, Thailand, Lao, Ireland etc.
- Contact:
On my Ubuntu system (8.04 - did not update yet) it is using mesa. Look for libs like libgl*-mesa* and you should have the run-time versions already installed, so you just need to install the -dev versions to compile code.
This might be enough, but I have forgotten if there were any others.
This might be enough, but I have forgotten if there were any others.
Garvanlibgl1-mesa-dev
in the meantime, i found out that
should be enough. :)
Code: Select all
aptitude install libgl-dev libglu-dev
-
- Posts: 2
- Joined: Feb 10, 2009 23:26
- Location: brasil
- Contact:
help: "ld: cannot find -lgcc"
i'm trying to run freebasic in my ubuntu 8.10 (64 bits), but when i try to compile the program, appears:
"ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2//libgcc.a when searching for -lgcc"
"ld: cannot find -lgcc"
can anyone help me?
"ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2//libgcc.a when searching for -lgcc"
"ld: cannot find -lgcc"
can anyone help me?
-
- Posts: 1706
- Joined: May 27, 2005 6:34
- Location: Cambodia, Thailand, Lao, Ireland etc.
- Contact:
Experienced users can get FB to work on 64 bit systems, but new users struggle. The process has not been automated yet. See these links
http://www.freebasic.net/forum/viewtopi ... 874#101874
http://www.freebasic.net/forum/viewtopi ... 667#114667
Garvan
http://www.freebasic.net/forum/viewtopi ... 874#101874
http://www.freebasic.net/forum/viewtopi ... 667#114667
Garvan
-
- Posts: 72
- Joined: Oct 13, 2006 6:11
- Location: Latte Plantation, Guam
- Contact:
Did you try UbuDSL ?Galeon wrote: My USB modem is not working in my Ubuntu Jaunty.
http://www.ubudsl.com/en/start.php