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

Author Topic: i need help with sfml setup on code::block  (Read 3834 times)

0 Members and 1 Guest are viewing this topic.

pls help

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
i need help with sfml setup on code::block
« on: September 26, 2021, 02:02:28 pm »
hello, i tried to setup sfml on my computer with an online tutorial but code::blocks prints error:
"cannot find -lsfml-graphics-s"
"cannot find -lsfml-window-s"
"cannot find -lsfml-system-s"






G.

  • Hero Member
  • *****
  • Posts: 1593
    • View Profile
Re: i need help with sfml setup on code::block
« Reply #1 on: September 26, 2021, 03:22:42 pm »
https://www.sfml-dev.org/tutorials/2.5/start-cb.php
Don't forget to add the path to your lib and include directories

pls help

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • Email
Re: i need help with sfml setup on code::block
« Reply #2 on: September 26, 2021, 05:20:24 pm »
i did everything like in tutorial but it doesnt work

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11033
    • View Profile
    • development blog
    • Email
Re: i need help with sfml setup on code::block
« Reply #3 on: September 27, 2021, 10:26:24 am »
If it can't find the libraries, then you haven't set the library path correctly.
Make sure you set it for the correct configuration (debug vs release)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/