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

Author Topic: Static building error visual studio 2015.  (Read 1072 times)

0 Members and 1 Guest are viewing this topic.

Catprog

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Static building error visual studio 2015.
« on: September 19, 2015, 05:33:31 am »
I am trying to build my project so that I do not need the DLLs in release mode.

(debug mode is using the DLLs and works)


Preprocessor:  SFML_STATIC;_MBCS;%(PreprocessorDefinitions)
Additional Dependencies: sfml-graphics-s.lib
sfml-window-s.lib
sfml-system-s.lib
opengl32.lib
freetype.lib
jpeg.lib
winmm.lib
gdi32.lib


I get a bunch of errors but they are the following two types

Error   LNK2038   mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease'

Error   LNK2001   unresolved external symbol ___iob_func   

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Static building error visual studio 2015.
« Reply #1 on: September 19, 2015, 10:14:53 am »
Yes, there are currently still some issues with the static libs.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything