Problems rebuilding under OSX 10.9 (Mavericks)

Archives Forums/BlitzMax Bug Reports/Problems rebuilding under OSX 10.9 (Mavericks)

lotonah(Posted 2013) [#1]
I've been unable to get Blitzmax to rebuild after updating to OSX 10.9/Xcode 5.0.1. This is with the latest BM (1.49). Any ideas? Any fixes on the way from Blitz? I vaguely remember something about XCode ditching gcc...is that what is causing the trouble?

Hopefully there is a fix soon.

Here's the errors I was getting while rebuilding:

Compiling:cocoa.macos.m
/Applications/BlitzMax/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos.m:3654:6: error: conflicting types for 'NSClearItems'
void NSClearItems(nsgadget *gadget)
^
/Applications/BlitzMax/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos.m:2903:4: note: previous implicit declaration is here
NSClearItems(gadget);
^
/Applications/BlitzMax/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos.m:4037:17: error: instance variable 'lockedNest' is protected
if( !textarea->lockedNest ) [textarea scrollRangeToVisible:range];
^
/Applications/BlitzMax/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos.m:4045:17: error: instance variable 'lockedNest' is protected
if( !textarea->lockedNest ){
^
/Applications/BlitzMax/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos.m:4046:13: error: instance variable 'lockedRange' is protected
textarea->lockedRange=[textarea rangeForUserTextChange];
^
/Applications/BlitzMax/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos.m:4047:14: error: instance variable 'storage' is protected
[textarea->storage beginEditing];
^
/Applications/BlitzMax/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos.m:4050:14: error: instance variable 'lockedNest' is protected
++textarea->lockedNest;
^
/Applications/BlitzMax/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos.m:4058:14: error: instance variable 'lockedNest' is protected
--textarea->lockedNest;
^
/Applications/BlitzMax/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos.m:4060:17: error: instance variable 'lockedNest' is protected
if( !textarea->lockedNest ){
^
/Applications/BlitzMax/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos.m:4061:27: error: instance variable 'lockedRange' is protected
NSRange range=textarea->lockedRange;
^
/Applications/BlitzMax/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos.m:4062:14: error: instance variable 'storage' is protected
[textarea->storage endEditing];
^
/Applications/BlitzMax/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos.m:4063:46: error: instance variable 'storage' is protected
if( range.location+range.length>[textarea->storage length] ) range=NSMakeRange( 0,0 );
^
11 errors generated.
Build Error: failed to compile /Applications/BlitzMax/mod/maxgui.mod/cocoamaxgui.mod/cocoa.macos.m
Process complete


skidracer(Posted 2013) [#2]
Hi, a new version of cocoa.macos.m that does compile on 10.9 is now available here:

http://sourceforge.net/projects/maxgui/files/cocoa.macos.m/download


lotonah(Posted 2013) [#3]
Well, that did the trick!

Good to see that I don't have to set up a VM with OSX 10.8 on it, or move to Monkey (yet).

...although it is getting quieter in here.

Thanks again!


Tricky(Posted 2013) [#4]
...although it is getting quieter in here.

I am wondering myself how long BMax will stay up, as the amount of updates here is pretty low lately. And Monkey never appealed me.


taumel(Posted 2013) [#5]
Thanks, would be nice if this also would be updated within the latest version.