Tuesday, April 14, 2015

Porting to Windows

If you've been following the development of Qi so far, you may have noticed that a few of the things the engine is doing are generally UNIX-only (__attribute__ ((aligned(16))) comes to mind). That's because the main development machine for Qi is a Mac and everything done up until this point has been in Xcode. However, in the interests of having more compliant (and generally better) code I've decided to make sure that the engine can compile with multiple compilers (and therefore multiple platforms). The first target is Windows. However, the port wasn't as straightforward as I had hoped....