1
General / Re: SFML 2.2 on VS2013 - compiled w/ cmake - dynamic works, static doesnt
« on: January 25, 2015, 02:28:25 am »
Aha, I see what I did now. I glossed over the BIG RED BOX that says
Thank you for pointing it out to me. I'll fix it and see what happens.
Edit:
That was definitely it. Working fine now. Thank you and sorry for not reading more carefully.
Quote
Starting from SFML 2.2, when static linking, you will have to link all of SFML's dependencies to your project as well. This means that if you are linking sfml-window-s.lib or sfml-window-s-d.lib for example, you will also have to link opengl32.lib, winmm.lib and gdi32.lib. Some of these dependency libraries might already be listed under "Inherited values", but adding them again yourself shouldn't cause any problems.When it came to the part where it had the dependencies listed, I went back and referred to a document I had made back when I built 2.0 for vs2010 some while ago, and just copy-pasted the dependencies from that list rather than verifying whether or not anything had changed. My bad.
Thank you for pointing it out to me. I'll fix it and see what happens.
Edit:
That was definitely it. Working fine now. Thank you and sorry for not reading more carefully.