I have been trying to work on the WeatherWatcher driver to add support for SQM and other metrics and keep hitting the following error -
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -DCFITSIO_HAVE_CURL -DHAVE_NET_SERVICES -Dcfitsio_EXPORTS -fdiagnostics-color=always -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.13 -fPIC -MD -MT CMakeFiles/cfitsio.dir/drvrnet.c.o -MF CMakeFiles/cfitsio.dir/drvrnet.c.o.d -o CMakeFiles/cfitsio.dir/drvrnet.c.o -c /Users/ptm/AstroRoot/craft-root/build/libs/cfitsio/work/cfitsio/drvrnet.c
/Users/ptm/AstroRoot/craft-root/build/libs/cfitsio/work/cfitsio/drvrnet.c:313:7: error: implicit declaration of function 'alarm' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
But as of right now I need to make some updates to it based on the introduction of StellarSolver.
Right now I’m really focused on getting the StellarSolver all ready for the 3.5.0 release. It is a truly huge change that should fix all of the plate solving issues on Mac and Windows while at the same time making blind solves incredibly fast. But it is a lot of work. I have been working on it since February and I’ve been doing the integration work this October.
I will update the build script soon, And with that release a preliminary DMG. But I am trying to get all this worked out first.
Thanks, I'm really struggling with the error compiling drvrnet.c - I thought it might have been an include file issues but no such luck with an easy problem.
I used to love that OSX was such a clean Unix variant, now it just feels like (a more secure, more friendly) headache!
I tried compiling it directly from the indi source build, but was having what looked like clang related issues with the ffmpeg module, so hitting my head against a lot of walls (and to be fair I;'m not a full time or even part time developer, I know enough to hack about, but I've got a lot fo catching up to do with 20 years of downtime between my last coding job and now!