XRandR on Ubuntu

I'm trying to link SFML statically on Ubuntu, and as such I need to link to all of it's dependencies. I'm getting "undefined reference" errors on things prefixed with XRR, so I assume the library in question is XRandR.

My question is, what is the name of this library's binary? I've tried linking XRR, XR, XRandR, xrandr, etc, but nothing seems to work...

Thanks,
Xander
It should be either -lXrandr or -lxrander.
Thanks - it was Xrandr.

PS: Sorry, I forgot to mention that I'm using Code::Blocks, which is why I omitted the l prefix.
Topic archived. No new replies allowed.