library problems...

New to FreeBASIC? Post your questions here.
Post Reply
thesanman112
Posts: 538
Joined: Jul 15, 2005 4:13

library problems...

Post by thesanman112 »

hello, I am trying to run the examples in current version of FB and keep getting errors that library's are missing, sdl, amongst others...
any help would be appreciated, thanks.
MrSwiss
Posts: 3910
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: library problems...

Post by MrSwiss »

The libraries are NOT part of the FB-distribution (only the .bi files, aka: the headers).
You'll have to download them, from their respective web-pages ...
thesanman112
Posts: 538
Joined: Jul 15, 2005 4:13

Re: library problems...

Post by thesanman112 »

yes I remember having to do that before, and now I cant seem to find the appropriate way to download sdl library support...
ive started by installing vb runtimes....any help is appreciated, thanks.
srvaldez
Posts: 3379
Joined: Sep 25, 2005 21:54

Re: library problems...

Post by srvaldez »

if you are on Windows you can get the binaries from https://www.libsdl.org/download-2.0.php
get the MinGW version and place the libs in the FB lib folder.
if you are on debian based linux then use apt-get e.g. sudo apt-get install libsdl2-dev
fxm
Moderator
Posts: 12107
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: library problems...

Post by fxm »

thesanman112 wrote:yes I remember having to do that before, and now I cant seem to find the appropriate way to download sdl library support...
See documentation at:
External Libraries Index
thesanman112
Posts: 538
Joined: Jul 15, 2005 4:13

Re: library problems...

Post by thesanman112 »

thanks for the help, I got it working, had to copy the lidrary file to the same directory as the source file. ah DUH!!!
thesanman112
Posts: 538
Joined: Jul 15, 2005 4:13

Re: library problems...

Post by thesanman112 »

thanks FXM, that's an excellent link to helpful resources, better then the help files!!!
MrSwiss
Posts: 3910
Joined: Jun 02, 2013 9:27
Location: Switzerland

Re: library problems...

Post by MrSwiss »

FYI, the wiki is the help ... (aka: Wiki is compiled, to the Manual.chm)!
thesanman112
Posts: 538
Joined: Jul 15, 2005 4:13

Re: library problems...

Post by thesanman112 »

Yes i got it all working now...another problem was i was trying the 64 bit version. I switchedback to 32bit and everything seems excellent now. Thanks guys.
Post Reply