Home | Reviews | GUIpedia | Forum | Fun500
aguma | Making a libraryCan you make a library in FreeBASIC? If so, how? | 2008-09-07 | 2:03 PM |
ksr | Re:Making a libraryYes, very easily. Just use the -lib option at the command line. This will compile your code into a .a file.
You also need to make a .bi file which contains all of your declarations.
More info: http://www.freebasic.net/wiki/wikka.php?wakka=ProPgStaticLibraries | 2008-09-07 | 3:03 PM |
aguma | Re:Making a libraryERROR: Undefined reference to fbGfx_somefunction
How do I compile with a library? | 2008-09-07 | 4:19 PM |
ksr | Re:Making a libraryFrom the article:
[code]#inclib "libname"[/code]
inclib goes at the top of the .bi file.
[code]#include once "libname.bi"[/code]
include goes in your main code. | 2008-09-08 | 2:57 PM |
aguma | Re:Making a libraryI got it to work, thanks! | 2008-09-08 | 6:26 PM |
BASIC Programming Help
2021 Brandon Cornell