2014-11-09, 06:38
Just tried to compile on linux and got the following error:
DVDInputStreamBluray.cpp: In member function ‘void CDVDInputStreamBluray:
etupPlayerSettings()’:
DVDInputStreamBluray.cpp:1133:17: error: ‘BDRegionCodes’ is not a class or namespace
if (region != BDRegionCodes::BD_REGION_A
^
DVDInputStreamBluray.cpp:1134:18: error: ‘BDRegionCodes’ is not a class or namespace
&& region != BDRegionCodes::BD_REGION_B
^
DVDInputStreamBluray.cpp:1135:18: error: ‘BDRegionCodes’ is not a class or namespace
&& region != BDRegionCodes::BD_REGION_C)
^
In file included from /tmp/xbmc/xbmc/LangInfo.h:23:0,
from DVDInputStreamBluray.cpp:28:
/tmp/xbmc/xbmc/guilib/GraphicContext.h: At global scope:
/tmp/xbmc/xbmc/guilib/GraphicContext.h:288:29: warning: ‘g_graphicsContext’ defined but not used [-Wunused-variable]
XBMC_GLOBAL(CGraphicContext,g_graphicsContext);
^
/tmp/xbmc/xbmc/utils/GlobalsHandling.h:223:22: note: in definition of macro ‘XBMC_GLOBAL’
static classname & g_variable = (*(g_variable##Ref.get()))
DVDInputStreamBluray.cpp: In member function ‘void CDVDInputStreamBluray:
![Confused Confused](https://forum.kodi.tv/images/smilies/confused.png)
DVDInputStreamBluray.cpp:1133:17: error: ‘BDRegionCodes’ is not a class or namespace
if (region != BDRegionCodes::BD_REGION_A
^
DVDInputStreamBluray.cpp:1134:18: error: ‘BDRegionCodes’ is not a class or namespace
&& region != BDRegionCodes::BD_REGION_B
^
DVDInputStreamBluray.cpp:1135:18: error: ‘BDRegionCodes’ is not a class or namespace
&& region != BDRegionCodes::BD_REGION_C)
^
In file included from /tmp/xbmc/xbmc/LangInfo.h:23:0,
from DVDInputStreamBluray.cpp:28:
/tmp/xbmc/xbmc/guilib/GraphicContext.h: At global scope:
/tmp/xbmc/xbmc/guilib/GraphicContext.h:288:29: warning: ‘g_graphicsContext’ defined but not used [-Wunused-variable]
XBMC_GLOBAL(CGraphicContext,g_graphicsContext);
^
/tmp/xbmc/xbmc/utils/GlobalsHandling.h:223:22: note: in definition of macro ‘XBMC_GLOBAL’
static classname & g_variable = (*(g_variable##Ref.get()))