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

Author Topic: undefined reference to XRR*  (Read 2974 times)

0 Members and 2 Guests are viewing this topic.

Yours3lf

  • Newbie
  • *
  • Posts: 43
    • View Profile
undefined reference to XRR*
« on: April 30, 2011, 10:41:11 pm »
Hi all,

I recently moved from Ubuntu 10.10 to 11.04, and I had to reinstall everything including SFML, and when I tried to compile my project this error came up:

/usr/local/lib/libsfml-window.so.2.0: undefined reference to `XRRConfigCurrentConfiguration'

and a few others like this...

what I did was
-download the 2.0 snapshot
-cmake it
-it needed openal, sndfile and some other libs, so I installed them from synaptics
-then I compiled sfml and installed it
-then tried to compile my project

the project used to work before this...

any ideas?

Best regards,
Yours3!f

Yours3lf

  • Newbie
  • *
  • Posts: 43
    • View Profile
undefined reference to XRR*
« Reply #1 on: April 30, 2011, 10:55:32 pm »
I found the solution!

I just needed to link Xrandr and pthread, it solved it...

but it is really strange since on 10.10 I didn't need to do so...

nevermind it's working.