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

Author Topic: VS 2017 Static & Dynamic problems with 2.4.2  (Read 15501 times)

0 Members and 1 Guest are viewing this topic.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: VS 2017 Static & Dynamic problems with 2.4.2
« Reply #15 on: August 01, 2017, 04:59:10 pm »
It works just fine, you simply have to adjust all the settings properly.

Here's a short video showing you that it works if you put in all the correct settings.

Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

CyanDog

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: VS 2017 Static & Dynamic problems with 2.4.2
« Reply #16 on: August 01, 2017, 05:11:29 pm »
Did you remember to define SFML_STATIC macro in case you're using the static SFML libraries?

Code: [Select]
Project -> Properties -> Configuration Properties -> C/C++ -> Preprocessor -> Preprocessor Definitions -> <add SFML_STATIC; here>

As for using CMake, you must be sure to start it from within the VS2017 command prompt, otherwise it won't find the VS2017 tools.

Code: [Select]
Start -> All Programs -> Visual Studio 2017 -> Visual Studio Tools -> Developer Command Prompt for VS 2017
(Hopefully you have allowed CMake to add itself to the PATH at installation.)
« Last Edit: August 01, 2017, 05:13:35 pm by CyanDog »

AshleyF

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: VS 2017 Static & Dynamic problems with 2.4.2
« Reply #17 on: August 01, 2017, 06:22:01 pm »
Dear eXpl0it3r,

Thanks very much for your most excellent and helpful video!

It's all working now!

Thanks again for all your help.

Kind regards,

AshleyF


 

anything