Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Fully static linkage using VS2017 and SFML2!!  (Read 2229 times)

0 Members and 1 Guest are viewing this topic.

harrymickenzy

  • Guest
Fully static linkage using VS2017 and SFML2!!
« on: June 23, 2019, 03:53:04 am »
Software versions:
Visual Studio 2017 Community Edition
SFML 2.4.2, official 32-bit binaries for Visual Studio 2015

Intent:
Creating a simple SFML test program that has no .DLL dependencies.

Problem:

Cannot link1 with SFML if choosing a non-DLL Runtime Library option in:
Project -> MyProj Properties -> C/C++ -> Code Generation -> Runtime Library
Otherwise, resulting executable cannot run due to dependencies on:
MSVCP140.dll
VCRUNTIME140.dll
API-MS-WIN-CRT-*.dll

Suggestion:
Please release the upcoming binaries of SFML for VS2017 such that if static linkage is desired (SFML_STATIC) then the program will not depend on developer .DLLs.

 

anything