• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Odd OpenGL/Visual Studio/VM issue.

Kirby

Lifer
I turned a project for my graphics class that apparently wouldn't run correctly on the grader's computer. I wrote in VS2010 on my Win7 machine. It works perfectly there. My professor told me to bring it in on my laptop and show him that it works. So I boot up my XP VM and try it in VS2010. Doesn't work correctly. Win7 VM with VS2008 doesn't work correctly either.

I ended up doing a screen capture avi of me compiling, running, and doing all the stuff so hopefully I can get full credit.

There's nothing especially fancy in the program, just using glut with menus and some drawing. I'm completely stumped on why it wouldn't work.

Any suggestions?
 
VMs don't have full access to the underlying hardware -- that includes the video card.

VMware is trying to not suck at this... but so far they still pretty much suck at this.

Admittedly, it is a really hard problem, given how buggy and difficult video cards are.
 
I believe Windows XP VM emulates a intel graphics accelerator regardless of the card you have running under it. It does not expose any interfaces needed to run more than basic graphics.
 
Oracle's (Sun's) VirtualBox seems to do a decent job of openGL and directX support. I actually have some old games that I run in an XP32 VM on it and they run fine (Empire Earth, for example). But it might just be the way the VM is configured, and as others mentioned it would help to know what is breaking.
 
I'm using VirtualBox (Mint 9 host).

The program is a basic 2D circuit diagram drawer. I can draw gates, connections between them, move the gates and connected lines, and deleting.

Drawing the gates work (slow as hell). Connections don't work, moving doesn't work, deleting doesn't work. No compile or runtime errors, it just won't draw it.
 
Try changing your advanced compile options to build with x86 platform. I recently built an app on a Windows 7 Dev machine that would not work on VM XP. Changing that option cured it for me.
 
Back
Top