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

Author Topic: Hello. Bug in sfml for linux tutorial?  (Read 4146 times)

0 Members and 1 Guest are viewing this topic.

killbubble

  • Newbie
  • *
  • Posts: 2
    • View Profile
Hello. Bug in sfml for linux tutorial?
« on: November 23, 2013, 04:26:28 pm »
Hello!
I recently wanted to try sfml out....i had a "bit" of problems on windows (which i had to use for the moment) setting it up with the latest codeblocks nightly(i think compiler compatibility was the problem), so i decided to give it a try on linux.
I followed the guide for linux using the terminal to compile.
At first i got it wrong...but then i checked out the thread http://en.sfml-dev.org/forums/index.php?topic=12299.0 which spoke  of the same errors i got when linking.
Then i added a -d to the libraries mentioned in the linking command for linux on http://www.sfml-dev.org/tutorials/2.1/start-linux.php and i created the executable program no prob!
I don't really know why the release libraries aren't working, but i guess the debug ones are. Shouldn't this be mentioned in the guide?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Hello. Bug in sfml for linux tutorial?
« Reply #1 on: November 23, 2013, 05:38:11 pm »
Did you compile SFML yourself? If so, you probably built only the debug binaries.
Laurent Gomila - SFML developer

killbubble

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Hello. Bug in sfml for linux tutorial?
« Reply #2 on: November 23, 2013, 09:48:04 pm »
no, i recall i messed around with the libraries a bit trying to solve the problem myself and using locally compiled libraries by pointing the linker towards them, but the libraries installed to my standard path come from the repo, and i just noticed they are 1.6 libraries...are your repos for linux not updated or do i have a problem with the repo?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
AW: Hello. Bug in sfml for linux tutorial?
« Reply #3 on: November 24, 2013, 08:34:08 am »
Laurent is not maintaining repositories.
There's also an unofficial repository maintained by a user of this community, you can quickly search for the thread.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/