The code compiles and runs fine, but I get this warning:
"fgPlatformInitialize: CreateDC failed, Screen size info may be incorrect
This is quite likely caused by a bad '-display' parameter"
I've been searching for hours and can't find an answer on how to fix this.