If you're having issues, try changing the compiler executable setting (in IDE Options -> Environment -> Files), change "fpc" at the end of it to "ppc386". This solved all compiler-related issues I was having on Mac (I'm also on High Sierra).
If doing this, make sure to compile against the Carbon widgetset rather than Cocoa.