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

Author Topic: How to setup SFML on Rider and windows 10  (Read 592 times)

0 Members and 1 Guest are viewing this topic.

Ivakm

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
How to setup SFML on Rider and windows 10
« on: September 04, 2023, 07:10:34 pm »
Hello

Could you please help me. I use Rider for C++ and I'm trying to install SFML for Rider but I can't. Does anyone have such experience
« Last Edit: September 04, 2023, 08:37:33 pm by Ivakm »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10826
    • View Profile
    • development blog
    • Email
Re: How to setup SFML on Rider and windows 10
« Reply #1 on: September 05, 2023, 08:52:32 am »
But Rider is a C# editor. Do you mean CLion?

CLion supports CMake as "project file", so I recommend to start with the SFML CMake Template.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Ivakm

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: How to setup SFML on Rider and windows 10
« Reply #2 on: September 05, 2023, 12:55:12 pm »
Not exactly. Actually I can create a console C++ project and work on an Unreal Engine project using Rider so I  thought SFML also works in Rider IDE however I haven't found any guides how to setup SFML on Rider yet

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10826
    • View Profile
    • development blog
    • Email
Re: How to setup SFML on Rider and windows 10
« Reply #3 on: September 05, 2023, 01:35:16 pm »
Yeah looks like Rider has some partial support for C++

Can't really recommend Rider as C++ IDE though, since that's not their main focus for said IDE, while CLion is fully focused on C++. Maybe their new Fleet IDE might also be interesting.

SFML isn't special in any way, it's just a C++ library, so setting up an IDE is the same as for any other library, you don't need a specific guide for SFML and Rider. The compiler needs to be informed where to find headers and the linker needs to be informed which import or static libraries to link.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything