Runtime Error for Binaries with 2014 R2.1

My compiled Windows .EXE files get a Runtime Error when started on Windows.
Press OK to Continue or Cancel to Quit

Message tells me :

Failure Condition: 0
Faild to load library /usr/lib/libobjc.dylib
Faild to load library /usr/lib/libSystem.dylib
Faild to load library Cocoa

??? What on Earth are these Mac Libs needed on Windows?

After pressing OK multiple times my Windows Software startet normally and as far as I can see without any problems.

you use Mac only declares. You need to use #if Target… around them to disable them when building for windows.

Ahhh thank you Christian, Youre’ right. I missed to use #if #endif on several Mac only Declares… it’s Friday…

Welcome. And have a nice weekend!

Casual programming so to say…