Debugged and refined on Windows--missing external DXT lib.