XSI v5.0 Exporter

· by Steve · Read in about 1 min · (137 Words)

I managed to build a working version of the OGRE XSI exporter for XSI v5.0 using VC.Net 2005 Express today, which is excellent. I had a problem at first because I had all sorts of linker errors with XSI::CString, but it turns out it’s because one of the changes in VC.Net 2005 is that wchar_t is a built-in type, and you can’t link against older libs which aren’t using that option and wide characters (XSI uses wide characters and is built with VC 7.1). You can turn this option off in your VC 2005 project options, under “C/C++ > Language > Treat wchart as built-in type”. After that the XSI exporter built fine. I’ll therefore be able to distribute a new version, although I will need some time to write a new installer in WIX for it.