c++ - SFML library can't find .dll -


i implemented sfml library nightly build visual studio 2013, because original 1 not compatibile vs version. done needed (added directory include folder in both debug , release, added directory .dll files), can't find files in program. else should done make library work? or should consider changing visual studio 2010?

you haven't given information guessing problem is.

added directory .dll files

but sounds problem right there. don't add directory .dll files in project. directories need add project include directory , library directory.

but anyways assuming using dynamic linking since otherwise wouldn't dealing .dlls. different ide's require place .dlls in different spots since dealing vs2013 need copy whatever .dlls using same folder program's compiled executable (the .exe file).

another option link statically instead of dynamically prefer on small projects developer prefers.

when link statically don't need include .dlls. need recompile sfml's sources , make sure build library produces static library files (they should named sfml-graphics-s-d.lib debug , sfml-graphics-s-d.lib release).

add library directory contains static library files project , link them .lib files in vs's input window (remember -d debug build).

next need add sfml_static preprocessor options on both release , debug build.

after go , don't need include .dll files project. , again whether choose link dynamically or statically , project working on small projects suggest linking statically.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -