×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Kstars 3.5.0 OSx

  • Posts: 183
  • Thank you received: 23

Replied by Paul Muller on topic Kstars 3.5.0 OSx

Awesome news!

Related topic, is there a tutorial on how to debug issues compiling macOS (Catalina) from source? (I have tried a variety of tools including github.com/rlancaste/kstars-on-osx-craft)

I have been trying to work on the WeatherWatcher driver to add support for SQM and other metrics and keep hitting the following error -
snip
FAILED: CMakeFiles/cfitsio.dir/drvrnet.c.o
/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]
alarm(0);
^
snip

Any pointers/tips?
The following user(s) said Thank You: Christopher Coomber
Last edit: 3 years 4 months ago by Paul Muller.
3 years 4 months ago #62210

Please Log in or Create an account to join the conversation.

  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

You really would want to use one of my two build scripts, pretty much the exact one you copied in your post

github.com/rlancaste/kstars-on-osx-craft

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.
The following user(s) said Thank You: Gonzothegreat, Craig, Paul Muller, AirBourn
3 years 4 months ago #62211

Please Log in or Create an account to join the conversation.

  • Posts: 183
  • Thank you received: 23

Replied by Paul Muller on topic Kstars 3.5.0 OSx

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!
The following user(s) said Thank You: Craig
3 years 4 months ago #62213

Please Log in or Create an account to join the conversation.

  • Posts: 2876
  • Thank you received: 809
The following user(s) said Thank You: Gonzothegreat
3 years 4 months ago #62359

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic Kstars 3.5.0 OSx

What's the difference between the two "full screen" options?

3 years 4 months ago #62362
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

I have no idea, did you try them both? Sometimes Qt or MacOS adds extra items to the menu to support OS Specific features, maybe that is what it is.
The following user(s) said Thank You: Craig
3 years 4 months ago #62363

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic Kstars 3.5.0 OSx

I have tried both, there is something odd going on.
To reproduce what I've noticed:
start Kstars then click in the following order
View > Full Screen Mode (first option) (it goes full screen)


View > Exit Full Screen (second option) (it goes back to normal)


View > Exit Full Screen Mode (first option) (it goes back to normal)


View > Exit Full Screen (second option) (it goes back to normal)
3 years 4 months ago #62364
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 1957
  • Thank you received: 420

Replied by Wouter van Reeven on topic Kstars 3.5.0 OSx

When I try to start the Startup Wizard, KStars crashes. See the attached crash log.
3 years 4 months ago #62459
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic Kstars 3.5.0 OSx

Something very odd just happened. Kstars crashed for no apparent reasons, on restarting it my sky orientation is 100% wrong.


Usually Polaris is way up and not near the horizon for me...

Is there a way to reset this?
3 years 4 months ago #62527
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic Kstars 3.5.0 OSx

I may have figured it out...
Compared 2 locations in Germany, mine and another place, check this out.

Another place not mine


Mine

it looks like I've been beamed to the equator...
3 years 4 months ago #62528
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 2247
  • Thank you received: 223

Replied by Gonzothegreat on topic Kstars 3.5.0 OSx

Somehow, the latitude and longitude got swapped I think...
3 years 4 months ago #62529

Please Log in or Create an account to join the conversation.

  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

That is very strange Stephane, I have no idea how that could have happened.
3 years 4 months ago #62534

Please Log in or Create an account to join the conversation.

Time to create page: 0.938 seconds