[vbox-dev] VBoxSDLFB Virtual Functions Error
bigjaymail at yahoo.com
Tue Mar 9 00:53:00 PST 2010
On March 8, 2010 3:45:14 AM, Klaus Espenlaub wrote:
> Jay schrieb:
>> I am getting a strange C++ error while attempting to build the SDL interface (building against SDL 1.2.14):
>> src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp: In function ‘int TrustedMain(int, char**, char**)’:
>> src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp:1829: error: cannot allocate an object of abstract type ‘VBoxSDLFB’
>> src/VBox/Frontends/VBoxSDL/Framebuffer.h:50: note: because the following virtual functions are pure within ‘VBoxSDLFB’:
>> out/darwin.intel64/release/dist/sdk/bindings/xpcom/include/VirtualBox_XPCOM.h:12450: note: virtual nsresult IFramebuffer::GetWinId(PRUint64*)
>> Any hints/advice would be greatly appreciated.
> Thanks for providing the mandatory information about the host platform accidentally as part of the compiler error message... ;)
Thank you for your reply Klaus.
It was no accident.
> To my knowledge VBoxSDL never worked reasonably well on Darwin, so this doesn't get tested at all. Obviously it doesn't even build successfully, as there is no implementation of the GetWinId method for this platform.
I have always used and greatly preferred the SDL interface (I prefer starting the VM with command line options).
I have never had a problem with it before. I think the last version I built was 3.0. Do you know when GetWinId was introduced?
Any workarounds possible? What is GetWinId a part of, SDL or VBox?
If I can't figure out how to port it, I will be stuck using outdated versions forever....
More information about the vbox-dev