As some of you already know, because of a change in QT in the beginning of January, the old build script that Jamie Smith, Stephane Lucas, and myself created was no longer going to work for us. So this provided me an incentive to finish the project I have been working on over the last few months, getting KStars and INDI and their dependencies to totally build in craft. That goal is not fully achieved yet, but as of now the script that I am posting here should allow anybody with a Mac with Sierra or later to build KStars and INDI automatically using (mostly) craft. So with this you can build the latest version of KStars and INDI to run on your Mac. It also allows you to build a distributable DMG. And it will also get you set up to edit KStars or INDI on your Mac. Please note though that I have been working very hard over the last couple of weeks to get this put together, but the bugs are not necessarily all worked out. Please test it though if you would like and let me know about any issues in building it on OS X.
I'm following this process which gets as far as trying to build:libsamplerate/work/libsamplerate-0.1.9/examples/audio_out.c where it can't find Carbon.h and stops. I've had a quick look and I can't find Carbon.h myself. The code seems to include if its being built on Mac. Since its trying to build something in an "examples" directory maybe this isn't important and could just be skipped? Not sure. Any suggestions gratefully received.
Yeah we may want to see if we can change the build to avoid this since audio, the GUI, or carbon should be needed at all for indiserver which is what it looks like was building at the time based on your post. I think the reason it got included was probably ffmpeg, which is needed for the INDI Webcam, but we don't need those features of it.
Yes, that would be good. You're correct, its in the Indilib part of the script when it fails...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Building INDI 3rd Party Libraries and required dependencies~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Any tips for, at least temporarily, getting round this? When I delete the "examples" directory the script sinks it back to GitHub before proceeding in, I think, this statement...
I just checked on my system. The command "craft -vi libsamplerate" in the craft environment builds it fine on my computer. I am running Big Sur and on my system, Carbon.h is found at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Headers/Carbon.h