Linux compile error: ‘GetGLRenderer’ on 2D build
#1
When I try to compile XBMC without 3D support (I compile from a virtual machine, which does not have 3D support, so I run it with './build.sh CONFIGOPT=--disable-gl CONFIGOPT=--disable-debug') I get a compile error:

Code:
SystemInfo.cpp: In member function ‘CStdString CSysInfo::GetVideoEncoder()’:
SystemInfo.cpp:968: error: ‘class Surface::CSurface’ has no member named ‘GetGLRenderer’

Am I doing something wrong, or is something broken?
Reply
#2
The 2D version worked a month back for me but it really isn't maintained so it probably doesn't work now, you should get a 3D card Wink. (I only get like 10-20fps in 2D with my computer so I wouldn't recommend it)
If you have problems please read this before posting

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.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#3
Topfs2 Wrote:The 2D version worked a month back for me but it really isn't maintained so it probably doesn't work now, you should get a 3D card Wink. (I only get like 10-20fps in 2D with my computer so I wouldn't recommend it)

I am running Ubuntu on a Virtual Machine so it isn't a real computer and 3D hardware emulation is not supported! Just a software emulated one. I only use it for XBMC Linux debugging.
Reply
#4
Please look into it then - it looks like you need to ifdef out said function (or have the function body ifdef'd out instead of the definition).
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.


Image
Reply
#5
Basje Wrote:I am running Ubuntu on a Virtual Machine so it isn't a real computer and 3D hardware emulation is not supported! Just a software emulated one. I only use it for XBMC Linux debugging.

Oh, misread you a bit Blush Ohwell, I have commited a fix for it so svn up and try again.
If you have problems please read this before posting

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.

Image

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
Reply
#6
thanks for the fix, however, I now get another error:

Code:
In function `CFileReader::Process()':
FileReader.cpp:(.text+0x9e5): undefined reference to `CThread::Sleep(unsigned long)'
xbmc/cores/paplayer/FileReader.o: In function `CFileReader::Read(void*, long long)':
FileReader.cpp:(.text+0xaa7): undefined reference to `CThread::Sleep(unsigned long)'
xbmc/cores/paplayer/FileReader.o: In function `CFileReader::Open(CStdStr<char> const&, bool, bool)':
FileReader.cpp:(.text+0xf8a): undefined reference to `CThread::Sleep(unsigned long)'
collect2: ld returned 1 exit status
It does not seem to be related to 3D hardware.
Reply

Logout Mark Read Team Forum Stats Members Help
Linux compile error: ‘GetGLRenderer’ on 2D build0