2008-03-14, 03:34
I know XBMC support ubuntu with nVidia video card only. And XBMC not accept bug report. But fix it early will be easier than latter.
Using ubuntu 7.10, and Matrox Graphic Card to build XBMC. Matrox Graphic Card has OpenGL support (1.4.5.2 driver).
I build XBMC before install the Matrox Driver, but since no OpenGL support, it very slow. So I install the driver (OpenGL works, glxinfo and glxgears verified), but the color was too bright. I thought I may need to rebuild it based on new driver. So I try to rebuild it. But now it cannot go though.
Part of error is:
GraphicContext.cpp:555: error: reference to âBOOLâ is ambiguous
../xbmc/linux/PlatformDefs.h:114: error: candidates are: typedef int BOOL
/usr/include/X11/Xmd.h:165: error: typedef Surface::CARD8 Surface::BOOL
GraphicContext.cpp:555: error: reference to âBOOLâ is ambiguous
../xbmc/linux/PlatformDefs.h:114: error: candidates are: typedef int BOOL
/usr/include/X11/Xmd.h:165: error: typedef Surface::CARD8 Surface::BOOL
GraphicContext.cpp:555: error: âBOOLâ has not been declared
It looks like typedef conflict. And BOOL, BYTE is very common type name been used. Can this been improved?
Using ubuntu 7.10, and Matrox Graphic Card to build XBMC. Matrox Graphic Card has OpenGL support (1.4.5.2 driver).
I build XBMC before install the Matrox Driver, but since no OpenGL support, it very slow. So I install the driver (OpenGL works, glxinfo and glxgears verified), but the color was too bright. I thought I may need to rebuild it based on new driver. So I try to rebuild it. But now it cannot go though.
Part of error is:
GraphicContext.cpp:555: error: reference to âBOOLâ is ambiguous
../xbmc/linux/PlatformDefs.h:114: error: candidates are: typedef int BOOL
/usr/include/X11/Xmd.h:165: error: typedef Surface::CARD8 Surface::BOOL
GraphicContext.cpp:555: error: reference to âBOOLâ is ambiguous
../xbmc/linux/PlatformDefs.h:114: error: candidates are: typedef int BOOL
/usr/include/X11/Xmd.h:165: error: typedef Surface::CARD8 Surface::BOOL
GraphicContext.cpp:555: error: âBOOLâ has not been declared
It looks like typedef conflict. And BOOL, BYTE is very common type name been used. Can this been improved?