Mac Screensaver

BlitzMax Forums/BlitzMax Programming/Mac Screensaver

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

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:

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?