I am using Linux Mint 15 as a guest on Virtualbox, hosted with Windows 7, 64-bit machine and OS (both Windows and Linux). I've installed the Guest Additions. I have also enabled 3D Acceleration.
I am trying to run the following:
int main(int argc, char** argv){
if (SDL_Init(SDL_INIT_EVERYTHING) == -1){
std::cout << SDL_GetError() << std::endl;
return 1;
}
return 0;
}
Really basic, just trying to see if this works, however I get the error:
No available video device
And I'm not sure what to do now or what I need to install.
Additional Details
I did compile SDL2 using CLang++ (personal preference) and as far as I know I've linked it properly;
- I've added the SDL2 includes directory to C++ Compiler -> Includes, and
- libSDL2.a (along with libdl and libptthread) into Build -> Linker
EDIT:
I actually have no idea if OpenGL works in VirtualBox either.
I would at the very least like to get a basic window up and running.