How to make directx programs in a *nix environment?

Aug 30, 2011 at 11:54am
Hi, I've recently tried to play around with directx in vbox with windows xp. Although apparently directx doesn't work well in vbox, so It didn't work. I still want/need to develop these apps. I was thinking possibly installing vc2010 in wine. I'm not sure if that would work at all... or what.
Aug 30, 2011 at 12:05pm
You can't really, use OpenGL instead.
Wine implements a large part of DirectX on top of OpenGL, however you might run into missing functionality (I don't think DirectX 10 support is complete and afaik, DirectX 11 isn't supported at all yet) or performance issues.
It's just easier to use OpenGL directly, especially since it's supported on a lot of platforms.

Although apparently directx doesn't work well in vbox, so It didn't work

It doesn't work at all, VBox only supports OpenGL. However, you can install WineD3D, which translates Direct3D calls to OpenGL calls.
Last edited on Aug 30, 2011 at 12:08pm
Aug 30, 2011 at 7:24pm
damnn... that's really too bad. I'm just going to convert directx code into opengl code. Hmm, then I learn both.
Last edited on Aug 30, 2011 at 10:28pm
Topic archived. No new replies allowed.