Please consider adding: ``` add_definitions(-DUNICODE) add_definitions(-D_UNICODE) ``` - weird crashes on Windows without these.