SFML community forums

Help => General => Topic started by: TheDuceCat on May 20, 2012, 06:33:57 am

Title: Why .lib and .dll?
Post by: TheDuceCat on May 20, 2012, 06:33:57 am
Why does SFML require you to link .lib files and have the .dll files there? Whereas something like Box2D requires only the .lib files.
Title: Re: Why .lib and .dll?
Post by: Laurent on May 20, 2012, 09:15:02 am
Search "dynamic vs static libraries" on Google ;)
Title: Re: Why .lib and .dll?
Post by: TheDuceCat on May 20, 2012, 04:46:20 pm
Thanks! Is there any way I can just use the lib file, so I don't have to include the dll files separate in my build?
Title: Re: Why .lib and .dll?
Post by: Nexus on May 20, 2012, 04:59:30 pm
Yes, that's called "static linking". Search for it and the keywords mentioned by Laurent, maybe combined with "MSDN".
Title: Re: Why .lib and .dll?
Post by: TheDuceCat on May 20, 2012, 05:22:45 pm
Thanks a lot!