Paul Muller replied to the topic 'Kstars 3.5.0 OSx' in the forum. 3 years ago

Awesome news!

Related topic, is there a tutorial on how to compile on macOS (Catalina) from source?

I have been trying, mainly to work on the WeatherWatcher driver to add support for SQM and other metrics and keep hitting the following error -


snip
~/Documents/GitHub/indi/libs/stream/encoder/mjpegencoder.cpp:87:46: error: no member named 'floor' in namespace 'std'; did
you mean simply 'floor'?
int scale = std::max(1, static_cast<int>(std::floor(rawWidth / SCALE_WIDTH)));
^~~~~~~~~~
floor
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/math.h:944:1: note: 'floor' declared here
floor(_A1 __lcpp_x) _NOEXCEPT {return ::floor((double)__lcpp_x);}
^
1 error generated.
make[2]: *** [CMakeFiles/indidriver.dir/libs/stream/encoder/mjpegencoder.cpp.o] Error 1
make[1]: *** [CMakeFiles/indidriver.dir/all] Error 2
snip

Any pointers/tips?

Read More...