Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Why .lib and .dll?
Print
Pages: [
1
]
Author
Topic: Why .lib and .dll? (Read 1615 times)
0 Members and 3 Guests are viewing this topic.
TheDuceCat
Newbie
Posts: 12
Why .lib and .dll?
«
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.
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Re: Why .lib and .dll?
«
Reply #1 on:
May 20, 2012, 09:15:02 am »
Search "dynamic vs static libraries" on Google
Logged
Laurent Gomila - SFML developer
TheDuceCat
Newbie
Posts: 12
Re: Why .lib and .dll?
«
Reply #2 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?
Logged
Nexus
SFML Team
Hero Member
Posts: 6287
Thor Developer
Re: Why .lib and .dll?
«
Reply #3 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".
Logged
Zloxx II
: action platformer
Thor Library
: particle systems, animations, dot products, ...
SFML Game Development
:
TheDuceCat
Newbie
Posts: 12
Re: Why .lib and .dll?
«
Reply #4 on:
May 20, 2012, 05:22:45 pm »
Thanks a lot!
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Why .lib and .dll?
anything