PDA

View Full Version : BOXEE on Fedora Core 9 problem



Venn
August 18th, 2008, 02:22 PM
After getting the boxee source and reading this http://xbmc.org/forum/showthread.php?t=35594

I managed to get the configure script to finish without error. Running make now gives this error.

In file included from GUIAudioManager.cpp:30:
../xbmc/Util.h: In function ‘int MathUtils::ceil_int(double)’:
../xbmc/Util.h:132: error: ‘INT_MIN’ was not declared in this scope
../xbmc/Util.h:133: error: ‘INT_MAX’ was not declared in this scope
../xbmc/Util.h: In function ‘int MathUtils::truncate_int(double)’:
../xbmc/Util.h:153: error: ‘INT_MIN’ was not declared in this scope
../xbmc/Util.h:154: error: ‘INT_MAX’ was not declared in this scope
make[1]: *** [GUIAudioManager.o] Error 1
make[1]: Leaving directory `/usr/src/trunk/guilib'
make: *** [guilib] Error 2
makeobj[0]: Leaving directory `/usr/src/trunk'

Any ideas?

bizthepirate
August 18th, 2008, 07:10 PM
Ahhh, this is a bug with the newer version of gcc/g++, well, it's not a bug, but a bit of restructuring... It might be best to wait for a new copy of the sources, and the latest xbmc sources (assuming boxee is still updating with those??) has this fixed :). But, if you're REALLY antzy, and brave, you can go into the xbmc/Util.h file, and where it says #include <limits.h>, replace it with #include <climits>, that should fix that. There's another place in the code where that has to be changed (not double positive, but you'll know when you get that error :)... There's a couple more things too, but, that's a few bugs.. I actually did get it to make a binary, but i'm not sure how the structure works, as the makefiles included with the source are still only for xbmc, but, I'm toying around with it :).

tsella
August 19th, 2008, 11:46 AM
assuming boxee is still updating with those???

that we are my friend.