Opening a browser/URL on Mac

BlitzMax Forums/BlitzMax Programming/Opening a browser/URL on Mac

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.

Compiling:OpenURL.m
/Volumes/c-1/BlitzMax/OpenURL.m: In function `bbOpenURL':
/Volumes/c-1/BlitzMax/OpenURL.m:2: error: `NSURL' undeclared (first use in this function)
/Volumes/c-1/BlitzMax/OpenURL.m:2: error: (Each undeclared identifier is reported only once
/Volumes/c-1/BlitzMax/OpenURL.m:2: error: for each function it appears in.)
/Volumes/c-1/BlitzMax/OpenURL.m:2: error: `url' undeclared (first use in this function)
/Volumes/c-1/BlitzMax/OpenURL.m:5: error: `NSString' undeclared (first use in this function)
/Volumes/c-1/BlitzMax/OpenURL.m:6: error: `NSWorkspace' undeclared (first use in this function)
Build Error: failed to compile 
/Volumes/c-1/BlitzMax/OpenURL.m
:(