Mac build modules again...

BlitzMax Forums/BlitzMax Programming/Mac build modules again...

JoshK(Posted 2011) [#1]
I get this error when building modules on OSX Lion:
Building Modules
Compiling:appstub.macos.m
In file included from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:12,
from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6,
from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10,
from /Applications/BlitzMax/mod/bah.mod/appstub.mod/appstub.macos.m:2:
/Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory

I checked that file path and the file does exist:


Last edited 2011


GfK(Posted 2011) [#2]
Whats on line 4 of stdarg.h?


Brucey(Posted 2011) [#3]
Whats on line 4 of stdarg.h?

It's not important.
The problem is that the wrong SDK is being used. Once that's fixed, the error goes away.


GfK(Posted 2011) [#4]
Oh. That'll teach me to post before I've had some caffeine.


JoshK(Posted 2011) [#5]
How do I fix that?


BlitzSupport(Posted 2011) [#6]
Might be wrong, but I'm guessing from your path that the SDK needs to be updated -- Lion is 10.7. (I'd have thought it'd still work but I'm not overly familiar with OS X.)


JoshK(Posted 2011) [#7]
I also have the 10.7 SDK. I don't know why 10.6 is being included.


Michael Larson(Posted 2011) [#8]
Either do I .. I greped the blitzmax diretories for SDK and such all that comes up is 10.6, changing that has no effect.


Grey Alien(Posted 2011) [#9]
Did anyone make any progress with this? I'm getting the same issue? Many thanks.


JoshK(Posted 2012) [#10]
BMX 1.45 seems to fix this problem.

Last edited 2012


Grey Alien(Posted 2012) [#11]
Confirming that 1.45 fixes for me too, woo! Big relief.