Compile error: X11/extensions/Xrandr.h: No such file or directory
#1
Question 
Hi guys!

I'm trying to compile the Linux version of XBMC on Ubuntu 7.10 32bit. I've used the build.sh script and followed README.linux and the howto on compiling it on linux on the wiki (http://www.xboxmediacenter.com/wiki/?tit...ource_code)

Local source revision : 11531
Repository revision : 11531

I'm getting this compile error: http://pastebin.ca/893956

It's for xrandr. The XBoxMediaCenter binary gets created, but if I run it, I just get a blank screen. So before I go investigating problems with the graphics adapter/driver/openGL/etc, could my problem running the binary be related to the build errors that I'm seeing?

If needed, here is the output from build.sh (basically ./configure) for when I tried to compile a version without opengl (I've tried both):
http://pastebin.ca/893985

I'm familiar with C/C++, but have programmed mostly in Fortran (it's the old professors at my Uni that still hang on to it), Java and Perl, and have only done some simple OpenGL-stuff in C++ before, but if I find this XBMC port interesting I might have time to do some of the most basic tasks that needs to be done. Programming (and thus compiling and building) in Linux is unfortunately something I haven't done too much of before, but I hope to learn by joining in on this project.
Reply
#2
Did you read the README.linux and install all the pre-requisite packages?
Reply
#3
rodalpho Wrote:Did you read the README.linux and install all the pre-requisite packages?
Yes, just copied'n'pasted the apt-get line for 7.10.
Reply
#4
you're missing libxrandr-dev so i dont believe you Wink
Reply
#5
spiff Wrote:you're missing libxrandr-dev so i dont believe you Wink
Haha, my paste got truncated, sorry guys!
Reply
#6
Oh, and the apt-get line (atleast for 7.10) on the wiki page is outdated. If someone with access to the wiki can update it, it'll probably help others (and yes, one should always follow the README.linux, but then it's better to just state that on the wiki page instead of having (outdated) info there imho).
Reply
#7
wiki updated, ...but you know that anyone can request ninja status (for write access rights) for the wiki, right?
http://www.xboxmediacenter.com/wiki/?title=Main_Page
Quote:All users who wish to continue providing a valid contribution to the XBox Media Center online manual, please contact one of the XBMC team members and ask for Ninja status on the wiki. Easiest way to get in touch is via #XBMC on freenode irc network. Thanks for understanding

This is the new Xbox Media Center Online Manual. Its existance is based solely on the contributions of the members of the community. Feel free to pitch in and make any changes you see fit. Check the Wanted Pages to see what's most needed. If you are unsure if you should put some information in here or not, please feel free to drop by to #xbmc on freenode.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
Compile error: X11/extensions/Xrandr.h: No such file or directory0