I'm running Fedora Core 5. I did a fresh install from the binaries of 0.16b, and wrote a one-line program:
'$include: "allegro.bi"
# fbc allegrotest.bas
fbc: Symbol `ospeed' has different size in shared object, consider re-linking
/usr/share/freebasic/bin/linux/ld: cannot find -lalleg
(Similar problems result from including gl.bi, etc.) I used Yum to install Allegro and Allegro-devel, and that didn't help. What am I doing wrong here? It seems like it should just *work*...
-Alias
Cannot find -lalleg (-lgl, etc.)
You have to install the -dev versions of each library if your Linux distro doesn't come with them pre-installed (i know that Ubuntu doesn't).
The links to the libraries are in the bottom of readme.txt file or in the Links page: http://www.freebasic.net/index.php/view ... tegory=lib.
The links to the libraries are in the bottom of readme.txt file or in the Links page: http://www.freebasic.net/index.php/view ... tegory=lib.