Packages required for .20 and up in Ubuntu
jdebord - I don't know what happened; its now working :)
Installing FreeBASIC without Internet Connection in Ubuntu Jaunty:
Download these packages from http://packages.ubuntu.com:
libncurses5-dev
libstdc++6-4.3-dev
g++-4.3
g++
patch
dpkg-dev
build-essential
x11proto-core-dev
libxau-dev
libxdmcp-dev
x11proto-input-dev
x11proto-kb-dev
xtrans-dev
libpthread-stubs0
libpthread-stubs0-dev
libxcb1-dev
libx11-dev
x11proto-xext-dev
libxext-dev
libxpm-dev
x11proto-render-dev
libxrender-dev
x11proto-randr-dev
libxrandr-dev
and these from Debian's repositories:
freebasic_0.20.0b_i386
check other posts in this forum for the links
Install them using dpkg, with "dpkg -i <package path>" but use "dpkg -i --force-configure-any <package path>" for g++-4.3, if there is an error message in libstdc++6-4.3-dev just ignore it. Install all packages in the same order.
Installing FreeBASIC without Internet Connection in Ubuntu Jaunty:
Download these packages from http://packages.ubuntu.com:
libncurses5-dev
libstdc++6-4.3-dev
g++-4.3
g++
patch
dpkg-dev
build-essential
x11proto-core-dev
libxau-dev
libxdmcp-dev
x11proto-input-dev
x11proto-kb-dev
xtrans-dev
libpthread-stubs0
libpthread-stubs0-dev
libxcb1-dev
libx11-dev
x11proto-xext-dev
libxext-dev
libxpm-dev
x11proto-render-dev
libxrender-dev
x11proto-randr-dev
libxrandr-dev
and these from Debian's repositories:
freebasic_0.20.0b_i386
check other posts in this forum for the links
Install them using dpkg, with "dpkg -i <package path>" but use "dpkg -i --force-configure-any <package path>" for g++-4.3, if there is an error message in libstdc++6-4.3-dev just ignore it. Install all packages in the same order.
Based on a clean Ubuntu 10.04, I could get FreeBASIC 0.21 to work with these packages:
32bit Ubuntu:
32bit Ubuntu:
64bit Ubuntu with standalone FreeBASIC:libncurses5-dev
libx11-dev
libxext-dev
libxpm-dev
libxrandr-dev
libxrender-dev
libstdc++6-4.4-dev (only needed with the normal non-standalone FreeBASIC)
ia32-libs
libc6-dev-i386
lib32ncurses5-dev
I have 32-bit Ubuntu 10.10 and got it to work using the same packages, installing them with Synaptic. Also my first time installing FB on Ubuntu (just recently switched from Windows ) and it wasn't as hard as I feared ;) . Just compiled 2 .bas files I made in Windows and they ran fine.dkl wrote:Based on a clean Ubuntu 10.04, I could get FreeBASIC 0.21 to work with these packages:
32bit Ubuntu:64bit Ubuntu with standalone FreeBASIC:libncurses5-dev
libx11-dev
libxext-dev
libxpm-dev
libxrandr-dev
libxrender-dev
libstdc++6-4.4-dev (only needed with the normal non-standalone FreeBASIC)ia32-libs
libc6-dev-i386
lib32ncurses5-dev
Re: Packages required for .20 and up in Ubuntu
Ok I'm really getting frustrated now. I'm running UBUNTU 12.04 64-bit I've installed fbc from FreeBASIC-0.23.0-linux.run, I've installed all these pkgs through aptitude:
libncurses5-dev
libx11-dev
libxext-dev
libxpm-dev
libxrandr-dev
libxrender-dev
libstdc++6-4.4-dev (only needed with the normal non-standalone FreeBASIC)
and the console apps are conpiling, but if I try a graphics app I get (from geany):ia32-libs
libc6-dev-i386
lib32ncurses5-dev
Code: Select all
fbc -w all "helloworld.bas" (in directory: /home/samuel/Basic)
ld: cannot find -lX11
ld: cannot find -lXext
ld: cannot find -lXpm
ld: cannot find -lXrandr
ld: cannot find -lXrender
Compilation failed.
Re: Packages required for .20 and up in Ubuntu
Apparently Ubuntu 12.04's ia32-libs doesn't include 32bit versions of the X11 development files anymore. I suspect that it's now necessary to install multiarch packages: libx11-dev:i386, libxext-dev:i386, etc.
Re: Packages required for .20 and up in Ubuntu
Thanks that worked great! All of them automatically installed with apt-get, except for one package libXpm-dev:i386 it's wouldn't allow me to install, so I had to manually remove the installed version with 'sudo apt-get purge libXpm-dev' Thanks again!
-
- Site Admin
- Posts: 6323
- Joined: Jul 05, 2005 17:32
- Location: Manchester, Lancs
Re: Packages required for .20 and up in Ubuntu
Hi. My fbc manual build returned this after a (32-bit) 12.04 upgrade:
Reinstalling FB from the official .run file (along with the 7 pkgs from Veggiet's post) I think I've nearly got the build working now, but apparently I'm missing libsupc++.
According to this page I either need to be on ia64 or to install the mingw32 package, can that be right?
EDIT: Never mind, I think I might have fixed it by installing libstdc++6-4.6-dev or something.. Now trying to make from scratch. Looks like more packages require installing, though hopefully just the ones listed in the wiki..
EDIT2: Doh, my above search link (obtained from Google) was searching specifically in ia64 packages!
Code: Select all
fbc: error while loading shared libraries: libbfd-2.21.53-system.20110810.so: cannot open shared object file: No such file or directory
According to this page I either need to be on ia64 or to install the mingw32 package, can that be right?
EDIT: Never mind, I think I might have fixed it by installing libstdc++6-4.6-dev or something.. Now trying to make from scratch. Looks like more packages require installing, though hopefully just the ones listed in the wiki..
EDIT2: Doh, my above search link (obtained from Google) was searching specifically in ia64 packages!
Re: Packages required for .20 and up in Ubuntu
Yea, libbfd can really be annoying when dynamically linked... on Debian unstable you have such updates every other week, in that case it's easier to disable objinfo in fbc or statically link against a self-built libbfd.
libstdc++ is indeed in the package with the same name, though I'd recommend to just install the whole "g++" package which should pull in the appropriate libstdc++, and also ensure it's updated properly.
libstdc++ is indeed in the package with the same name, though I'd recommend to just install the whole "g++" package which should pull in the appropriate libstdc++, and also ensure it's updated properly.
Re: Packages required for .20 and up in Ubuntu
Hello!
I'm new to the forum and my english is bad
why is text edit with google translator.
I beg your forgiveness for this weakness.
This topic has already helped me very much.
I had the same problem as Veggiet after the update
Ubuntu 64-bit 11:10 to
Ubuntu LTS on 12:04 64-bit and I have the 32-bit packet
installed and the error message was wake.
But in my program I use with OpenGL and fbsound0.10 :
# INCLUDE ONCE "GL / gl.bi"
# INCLUDE ONCE "GL / glu.bi"
#LIBPATH "../fbsound0.10/lib"
#INCLUDE ONCE "../fbsound0.10/inc/fbsound.bi"
And now I get this error message:
fbc "Moon7.bas" (in directory: / home / Laiko / Desktop / Moon)
Moon7.bas () warning 21 (2): Object files or libraries with mixed multithreading (-mt) options, fbsoundlin
ld: can not find-lGL
ld: can not find-igloo
ld: can not find-logg
ld: can not find-lvorbis
ld: can not find-lvorbisfile
Compilation failed.
What packages should I install to use OpenGL and fbsound0.10 ?
Thank you!
I'm new to the forum and my english is bad
why is text edit with google translator.
I beg your forgiveness for this weakness.
This topic has already helped me very much.
I had the same problem as Veggiet after the update
Ubuntu 64-bit 11:10 to
Ubuntu LTS on 12:04 64-bit and I have the 32-bit packet
installed and the error message was wake.
But in my program I use with OpenGL and fbsound0.10 :
# INCLUDE ONCE "GL / gl.bi"
# INCLUDE ONCE "GL / glu.bi"
#LIBPATH "../fbsound0.10/lib"
#INCLUDE ONCE "../fbsound0.10/inc/fbsound.bi"
And now I get this error message:
fbc "Moon7.bas" (in directory: / home / Laiko / Desktop / Moon)
Moon7.bas () warning 21 (2): Object files or libraries with mixed multithreading (-mt) options, fbsoundlin
ld: can not find-lGL
ld: can not find-igloo
ld: can not find-logg
ld: can not find-lvorbis
ld: can not find-lvorbisfile
Compilation failed.
What packages should I install to use OpenGL and fbsound0.10 ?
Thank you!
Re: Packages required for .20 and up in Ubuntu
I can't test, but here's my guess:
I don't know about -lgloo though.libgl1-mesa-dev:i386
libogg-dev:i386
libvorbis-dev:i386
Re: Packages required for .20 and up in Ubuntu
Thank you dkl !
You were right, the packets have fixed most errors.
But, unfortunately, remains the OpenGL window with black because it GLU
must be initialized with:
# INCLUDE ONCE "GL / glu.bi"
REM set default settings for the OpenGL-Window
gluPerspective 45.0, 800.0/600.0, 0.1, 2000.0
Which package should I install for GLU?
You were right, the packets have fixed most errors.
But, unfortunately, remains the OpenGL window with black because it GLU
must be initialized with:
# INCLUDE ONCE "GL / glu.bi"
REM set default settings for the OpenGL-Window
gluPerspective 45.0, 800.0/600.0, 0.1, 2000.0
Which package should I install for GLU?
Re: Packages required for .20 and up in Ubuntu
I'm sorry!
I've forgotten the message compiler.
fbc "Moon7.bas" (in directory: / home / Laiko / Desktop / Moon)
Moon7.bas () warning 21 (2): Object files or libraries with mixed multithreading (-mt) options, fbsoundlin
ld: cannot find -lGLU
Compilation failed.
I've forgotten the message compiler.
fbc "Moon7.bas" (in directory: / home / Laiko / Desktop / Moon)
Moon7.bas () warning 21 (2): Object files or libraries with mixed multithreading (-mt) options, fbsoundlin
ld: cannot find -lGLU
Compilation failed.
Re: Packages required for .20 and up in Ubuntu
I think it's this one:
and if you need GLUT too, then this should do:libglu1-mesa-dev:i386
freeglut3-dev:i386
Re: Packages required for .20 and up in Ubuntu
Thanks!
Everything is working again!
Everything is working again!