×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

KStars MacOS 3.6.9 Beta

  • Posts: 2877
  • Thank you received: 812
I always find those MacOS crash reports to be hard to understand and read. If I read it correctly it said it could not find some function in /usr/lib/libc++.1.dylib, which is pretty weird since that is a MacOS system file. This is why I asked you to run it from the command line, it can confirm this, or provide more info
2 months 3 weeks ago #98618

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

  • Posts: 1000
  • Thank you received: 155
NMCosmos:Applications nmcosmos$ /Applications/KStars.app/Contents/MacOS/kstars

dyld: Symbol not found: __ZTVNSt3__13pmr25monotonic_buffer_resourceE
Referenced from: /Applications/KStars.app/Contents/MacOS/../Frameworks/QtCore.framework/Versions/5/QtCore
Expected in: /usr/lib/libc++.1.dylib
in /Applications/KStars.app/Contents/MacOS/../Frameworks/QtCore.framework/Versions/5/QtCore
Abort trap: 6

NMCosmos:Applications nmcosmos$
2 months 3 weeks ago #98619

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

  • Posts: 146
  • Thank you received: 16
Thanks Rob for this update. It works fine for me on my M2 Mac mini under Sonoma, and an M1 MacBook, also under Sonoma, in the office.

It has enabled me to make my very first sequence under Ekos as it fixed the problem with capture and slew for Paramount mounts.

However, it did not fix the error in the FLI PDF focuser driver found by John Evans, unfortunately.

And, apart from that, I am still unable to set up a build environment for macOS, even on an Intel machine ;-( And this is a pity because I want to write a new driver to exploit the new JSON output from CloudWatcher (both Windows and Mac) as well as a driver to do something similar with the Cyclope Seeing Monitor (which doesn't deliver JSON but something similar).

Cheers,
Richard
2 months 3 weeks ago #98622

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

  • Posts: 1000
  • Thank you received: 155
I've downloaded OpenCore Legacy Patcher top upgrade my old 2012 Mac to be able to run MacOS 14.3 Sonoma.
That OS is downloading now and I will send an update if this version of KStars works on a patched Mac.

Peter
2 months 3 weeks ago #98635

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

  • Posts: 2877
  • Thank you received: 812
So I do have some Parallels Virtual Machines on my home server and I thought I would just test it out on the older machines. We have been building for a minimum MacOS of 10.15 Catalina for awhile now, ever since craft and qt stopped supporting everything lower than those. You might remember when we had to make that change a couple of years ago. So I started by trying it on 10.15.2, and I just found that I encountered the same error you reported Peter. Then I tried Big Sur and found the same error. I tried Sonoma and found that it worked fine. So something must have changed in the last few months either with MacOS, craft, or QT that is causing this error. I don't think it is anything to do with KStars itself. It is possible I have to change something in the build script due to a change somewhere. First I need to see why even though I told it to build for a minimum of 10.15, why it's not working on anything less than Sonoma.
2 months 3 weeks ago #98636

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

  • Posts: 2877
  • Thank you received: 812
You can run Sonoma on a 2012 Mac?
2 months 3 weeks ago #98637

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

  • Posts: 1000
  • Thank you received: 155
Yes, with OpenCore Legacy Patcher.
2 months 3 weeks ago #98640

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

  • Posts: 1000
  • Thank you received: 155
2 months 3 weeks ago #98641

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

  • Posts: 2877
  • Thank you received: 812
I found this just now: forum.qt.io/topic/149842/qt-6-5-2-build-...pdate-to-macos14-sdk. This looks related to the error we encountered running the KStars I build on anything but Sonoma. From this it sounds like the issue is something with the MacOS SDK and linking QT. This is a clue for sure.
2 months 3 weeks ago #98717

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

  • Posts: 146
  • Thank you received: 16
I'm clutching at straws here but could it be a reason I can't set up a build environment on Sonoma, either on Intel or Apple Silicon?
2 months 3 weeks ago #98720

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

  • Posts: 2877
  • Thank you received: 812
If you are on an Intel machine running Sonoma there should be no problem running the script right now. I ran it a few days ago from scratch. That being said I did make a couple of changes when I found some small issues due to changes in craft and one package. So you might try it now since I fixed those problems. I can’t advise you on setting up an arm/silicon environment since my machine is Intel.
2 months 3 weeks ago #98721

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

  • Posts: 146
  • Thank you received: 16
That's great news. I tried it just now on an Intel Mac under Sonoma. It got way further than before but ultimately failed:
[38/469] Building CXX object indiserver/CMakeFiles/indiserver.dir/indiserver.cpp.o
FAILED: indiserver/CMakeFiles/indiserver.dir/indiserver.cpp.o 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -DGIT_TAG_STRING=\"v2.0.6\" -DHAVE_CLOCK_GETTIME -DHAVE_LIBNOVA -DHAVE_TIMESPEC_GET -DWITH_ENCLEN -I/Users/rfrancis/AstroRoot/craft-root/build/libs/indiserver/work/build/indiserver -I/Users/rfrancis/AstroRoot/craft-root/download/git/libs/indiserver/indiserver -I/Users/rfrancis/AstroRoot/craft-root/download/git/libs/indiserver/libs -I/Users/rfrancis/AstroRoot/craft-root/download/git/libs/indiserver/libs/httplib -I/Users/rfrancis/AstroRoot/craft-root/download/git/libs/indiserver/libs/indicore/. -I/Users/rfrancis/AstroRoot/craft-root/build/libs/indiserver/work/build/libs/indicore/../.. -I/Users/rfrancis/AstroRoot/craft-root/build/libs/indiserver/work/build/libs/indicore -isystem /Users/rfrancis/AstroRoot/craft-root/include -D_FORTIFY_SOURCE=2 -O1  -Wall -Wextra -Wno-nonnull -Wno-deprecated-declarations -g -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.15 -fPIE -std=gnu++17 -MD -MT indiserver/CMakeFiles/indiserver.dir/indiserver.cpp.o -MF indiserver/CMakeFiles/indiserver.dir/indiserver.cpp.o.d -o indiserver/CMakeFiles/indiserver.dir/indiserver.cpp.o -c /Users/rfrancis/AstroRoot/craft-root/download/git/libs/indiserver/indiserver/indiserver.cpp
/Users/rfrancis/AstroRoot/craft-root/download/git/libs/indiserver/indiserver/indiserver.cpp:2439:35: error: use of undeclared identifier 'MSG_NOSIGNAL'
        nw = sendmsg(wFd, &msgh,  MSG_NOSIGNAL);
                                  ^
1 error generated.
      ... several lines of build steps, then
ninja: build stopped: subcommand failed.
Command ['/Users/rfrancis/AstroRoot/craft-root/dev-utils/bin/ninja', '-j', '16'] failed with exit code 1
Action: make for libs/indiserver:master FAILED
*** Craft all failed: libs/indiserver after 2min 14s ***
fatal error: package libs/indiserver all failed
Craft stopped with out completing ['libs/indiserver']
I chose the default Qt5 during the Craft setup stage. Should I have chosen Qt6?
2 months 3 weeks ago #98722

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

Time to create page: 0.302 seconds