I'm trying to statically link .dll files from SFML library so that I don't need to launch my program relying on the given .dll files. I added SFML_STATIC to the preprocessor section in the project properties then added these libraries in Linker > Input.
When I try to build the program I'm met with the following error.
Is there any workable solution? I've been searching at the same topics for a day. Thank you in advance.
Code:
sfml-graphics-s-d.lib
sfml-window-s-d.lib
sfml-system-s-d.lib
sfml-audio-s-d.lib
sfml-network-s-d.lib
sfml-main.libCode:
Severity Code Description Project File Line Suppression State Details
Warning LNK4098 defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library Timber C:\VS Project\Timber\MSVCRTD.lib(initializers.obj) 1