Check for win32 before using d3d. Temp use of namespace before Font declarations. Replace std::round. Remove PWD.