I tried a simple blitzmax program that I put in the same folder as a real compiled XCode screensaver project, to import PaulSaverView.m and compared to trying to import it as a C file it actually compiled most of the way alright, until the linking phase. I get these errors:
Any ideas? I am also thinking we might have to remove some parts of screensaver.h because it includes everything needed to build an application including the appkit and the foundation framework. But what does this error mean?
Import "PaulSaverView.m"
Building Blitz Compiling:PaulSaverView.m Compiling:Blitz.bmx Linking:Blitz ld: Undefined symbols: .objc_class_name_ScreenSaverView Build Error: Failed to link /Developer/TestProjects/PaulSaver/Blitz.app/Contents/MacOS/Blitz Process complete
Any ideas? I am also thinking we might have to remove some parts of screensaver.h because it includes everything needed to build an application including the appkit and the foundation framework. But what does this error mean?