Home | Reviews | GUIpedia | Forum | Fun500


agumaMaking a library
Can you make a library in FreeBASIC? If so, how?
2008-09-072:03 PM

ksrRe:Making a library
Yes, 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-073:03 PM

agumaRe:Making a library
ERROR: Undefined reference to fbGfx_somefunction How do I compile with a library?
2008-09-074:19 PM

ksrRe:Making a library
From 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-082:57 PM

agumaRe:Making a library
I got it to work, thanks!
2008-09-086:26 PM

BASIC Programming Help


2021 Brandon Cornell