Posts: 178
Joined: Oct 2008
Reputation:
0
McGeagh
Team-XBMC ARM Developer
Posts: 178
Well its commented out here: xbmx/lib/libGoAhead/Makefile (and Makefile.in) line 59.
But like you suggested, ive just excluded it. I dont need a web server lol. Had to create a patch that utilises HAS_WEB_SERVER in order to exclude it. (trac added)
Apart from that, the next thing i encountered was a problem in the dvdplayer codecs.
xbmc/cores/dvdplayer/codecs/makefile line 156. It refers to the folder x86... which is obv not good for me, but there is an arm folder so i just changed the makefile to do $(ARCH) instead.
And finally... you guys incorporated a SNES audio emulator to play snes sounds!!! awesome!!! except its using x86 assembler (nasm) so i cant use it... lol. nvm, ill just exclude it.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
not really an answer, but projectM requires opengl so i would just disable it for now.
i assume you have CMake installed?
chdir to the dir, then do cmake . and see what you get
Posts: 178
Joined: Oct 2008
Reputation:
0
McGeagh
Team-XBMC ARM Developer
Posts: 178
Thanks for the fast reply.
I do have cmake installed. and when i do cmake . i get the same output as the x86 version.
Looks like ill just disable it for now as suggested. lol.
I finally have the end result! an xbmc binary! granted, its been culled enough that it cant be called xbmc anymore lol, but nvm. Now to try it out on real hardware, and see how slow unoptimised none-gl xbmc runs at.
Posts: 178
Joined: Oct 2008
Reputation:
0
McGeagh
Team-XBMC ARM Developer
Posts: 178
Alright... Ive been trying to get it to run with SDL, and you lot really dont like SDL anymore. lol.
It fails when trying to render the splash screen because trying to round a NaN. This is because (long story short) its dividing by 0 in the CGraphicContext::GetScalingPixelRatio() function in guilib/GraphicContext line 1221 " return outPR * (outWidth / outHeight) / (winWidth / winHeight); "
This is because outWidth, height, as well as winWidth, height are all 0. Why... because XBVideoConfig::GetCurrentResolution() function in xbmc/XBVideoConfig.cpp line 103 doesnt do any setting up of values, if running in SDL. It has a define for apple, win32, and glx... but nothing for the else. hence iWidth and iHeight report back as 0, thus the divide by 0 etc.
Im just happy its trying to render, means my porting kinda works...somewhat.
No point me spending too much time getting it to work with SDL, when im eventually going to get it to work with OpenGL ES.
Posts: 1,104
Joined: Oct 2007
Reputation:
2
theuni
Team-XBMC Communication Manager
Posts: 1,104
Excellent news.
My beagleboard has been dreaming of this day...
TheUni
Posts: 4,997
Joined: May 2004
Reputation:
12
TI are the only ones from whom I've heard even grumblings of opening stuff.
Posts: 1
Joined: May 2009
Reputation:
0
Hi, I love what you are trying to do, and I would also love helping you port xbmc for ARM arch, and even eventually the Android mobile OS.
I sent you a PM, I can't wait to get started helping port.
Thanks,
Aakash