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

Author Topic: Trouble installing SFML on Linux using Code::Blocks  (Read 2029 times)

0 Members and 1 Guest are viewing this topic.

Auquilius

  • Newbie
  • *
  • Posts: 3
    • View Profile
Trouble installing SFML on Linux using Code::Blocks
« on: May 06, 2012, 07:45:59 am »
HI,

I am using Linux Mint Debian Edition and I am trying to install SFML using Code::Blocks. I have previously installed SFML on Linux Mint successfully so I know how it is supposed to work.
I got code::blocks to search in the right directories for the SFML header and linker files, I also included the linker options, however Code::Blocks is complaining it can't find the the libraries.
Errors

How I linked the libraries.


I am using SFML version 1.6 and Code::Blocks bersion 10.05

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Trouble installing SFML on Linux using Code::Blocks
« Reply #1 on: May 06, 2012, 09:15:06 am »
Can you show your linker search paths?
Laurent Gomila - SFML developer

Auquilius

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Trouble installing SFML on Linux using Code::Blocks
« Reply #2 on: May 06, 2012, 09:41:36 am »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Trouble installing SFML on Linux using Code::Blocks
« Reply #3 on: May 06, 2012, 03:32:19 pm »
Which files does this directory contain?
Laurent Gomila - SFML developer

Auquilius

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Trouble installing SFML on Linux using Code::Blocks
« Reply #4 on: May 13, 2012, 01:22:13 am »
These Files


However I tried linking the libraries I need in manually and it seemed to build, but when I ran the program it game me this error message.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Trouble installing SFML on Linux using Code::Blocks
« Reply #5 on: May 13, 2012, 09:49:29 am »
You should have the symbolic links too:
- libsfml-xxx.so.1 -> libsfml-xxx.so.1.6
- libsfml-xxx.so -> libsfml-xxx.so.1

That's why "-lsfml-xxx" is not found by the linker.
Laurent Gomila - SFML developer

 

anything