Runtime Error

Think i placed my question at the wrong place.

Okay once more.

After compiling on a Mac for OS x and Windows i get following Runtime error:

Common\Loaders\Loader.cpp: 17
Failure condition: 0
Failed to load library /usr/lib/libobjc.dylib

and some other unreadable garbage.

App on the Mac works perfect.

Where is the mistake?

Do you have declares to libobjc? You would need to wrap them in
#if targetcocoa
//declares and calls to libobjc
#endif

I had a

soft declare sub setMovable lib "Cocoa" selector "setMovable:" (windowRef as integer, yesNo as integer) 

Thanks a lot Jim