How to make directx programs in a *nix environment?

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.
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
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
Topic archived. No new replies allowed.