×

INDI Library v1.9.7 Released (29 Jul 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Kstars 3.5.0 OSx

  • Posts: 137
  • Thank you received: 14

Replied by AirBourn on topic Kstars 3.5.0 OSx

Hey Rob - this build script has been working fine for me lately, picking up the latest in the repos and generating a useable application. But, I'd really like to have the sounds working. Can you tell me exactly what I have to do to get the sounds to work in my locally built KStars? I tried copying the plugins and other resources into the app bundle, but that didn't work. I don't necessarily want to build it with the sounds, I just want to run it with sounds. Just on my machine. I also tried the DMG creation (the other Craft script), but that still doesn't complete.

What can I do to get the sounds to work on my latest local KStars build?
1 year 8 months ago #63891

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

  • Posts: 2738
  • Thank you received: 766

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

Well you could try copying the whole plug-ins directory from the original kstars app bundle to the one you built. I think I tried that when you first asked and it worked. Not the best plan because there could be some differences, but still should work.
1 year 8 months ago #63892

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

  • Posts: 137
  • Thank you received: 14

Replied by AirBourn on topic Kstars 3.5.0 OSx


Tried copying the entire plugin directory from the DMG installer app to the built app bundle - app doesn't even launch, crashes immediately. Is there another option? Copy binaries into the Qt structure?
1 year 8 months ago #63895

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

  • Posts: 2738
  • Thank you received: 766

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

Yeah I wasn’t sure if it would work. You have a different qt than me probably.

Yeah, you could try playing with it. There are several items that would need to be copied from the plugins directory. The vlc backend, the phonon files, etc. I haven’t tried it too much as I said.

Right now I’m trying to fix a couple of bugs that were reported after the kstars 3.5.0 Mac release. So I don’t have time to work on this right now to see how it could be done. But maybe after I resolve the issues.
The following user(s) said Thank You: Craig, AirBourn
1 year 8 months ago #63898

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

  • Posts: 137
  • Thank you received: 14

Replied by AirBourn on topic Kstars 3.5.0 OSx

I didn't think about different Qt versions. I just used the latest, 5.15.2 I think. How do I determine what version you used for the distribution? You script doc says "greater than 5.10 (5.14 or 5.15 preferably)," but the image in the doc shows 5.12.3 selected. Can you confirm which Qt you're using? I'll try to mirror that build.
1 year 8 months ago #63928

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

  • Posts: 2738
  • Thank you received: 766

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

Yes I mentioned that in one of my earlier posts when you asked about phonon. The reason that I didn’t copy the plug-ins directory with this script is because I thought it would be smart to have the KStars built on that computer and that qt version to then have access to the qt plug-ins directory on that computer. I suspect that if we use plug-ins that don’t match that might be bad, but I don’t know that for a fact. It is also possible that when you tried it the crash was because the plug-ins were still looking for the frameworks directory which was also removed. I suspect I probably used the latest version in building the dmg because that is what craft uses. The KStars INDI Mac dev script is probably set to whatever version I have in my home directory.
1 year 8 months ago #63937

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

  • Posts: 2738
  • Thank you received: 766

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

I just updated the KStars Mac 3.5.0 DMG on the website. I fixed a couple of things with the Mac Bundle.

- I updated the "About KStars" version number to correctly indicate 3.5.0 Stable
- Jasem updated libqhy so the Mac qhy library matches the others. I included this
- I fixed a major bug in the startup wizard where it crashed when it finished.
- I fixed an issue with the INDI Webcam driver, where it was linked to an out of date library. I updated the library.

Please let me know if I missed anything or if anything else got messed up. I think it should be pretty good now.

Thanks,

Rob
The following user(s) said Thank You: AirBourn
1 year 8 months ago #64038

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

  • Posts: 11
  • Thank you received: 0

Replied by Jordi Sesé on topic Kstars 3.5.0 OSx

Thanks for your effort.
I'm afraid the problem I had with previous version remains the same, my QHY163M crashes INDI driver. Perhaps it's OSX version related? (mine is 10.13)
Nevertheless, swapping the QHY dylib for the one I used for the previous version seems to work fine.
In this thread you have all the details:
indilib.org/forum/ekos/7907-qhy-indi-dri...ylib-from-ezcap.html

Thanks again for your help.

Jordi.
1 year 8 months ago #64076

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

  • Posts: 2738
  • Thank you received: 766

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

Thanks for the update, actually I just read your post in that other thread and I think I might know what is going on. You had a good idea about libqhyccd.20.dylib and I just used otool on the library to see if it was right. Here is an excerpt of what it said:

Load command 9
cmd LC_BUILD_VERSION
cmdsize 32
platform 1
sdk 11.0
minos 10.15

Note the minimum os in this library. That is a problem for anybody using a system older than 10.15! I don't build this binary library on my system, it is in INDI, but I know who does. I just asked him to rebuild it a couple of days ago because I thought it was just out of date. But no, it might just be that the minos setting was wrong during building. I will mention this to him and see if we can get it resolved.
The following user(s) said Thank You: Jordi Sesé
1 year 8 months ago #64077

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

  • Posts: 208
  • Thank you received: 118

Replied by Rick Bassham on topic Kstars 3.5.0 OSx

Using the download here: www.indilib.org/jdownloads/kstars/kstars-3.5.0.dmg I show I'm using build 2020-12-07T06:15:03Z

I get a crash when starting my indi drivers through Ekos.
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
 
Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT
Exception Note:        EXC_CORPSE_NOTIFY
 
Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [16074]
 
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0                                 	0x000000010afb671c INDI::Property::getState() const + 60
1                                 	0x000000010a690205 0x10a5d3000 + 774661
2                                 	0x000000010a68c51a 0x10a5d3000 + 759066
3   org.qt-project.QtCore         	0x000000010e1a1114 QObject::event(QEvent*) + 900
4   org.qt-project.QtWidgets      	0x000000010d43a217 QWidget::event(QEvent*) + 4647
5   org.qt-project.QtWidgets      	0x000000010d3ff956 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 262
6   org.qt-project.QtWidgets      	0x000000010d400d75 QApplication::notify(QObject*, QEvent*) + 581
7   org.qt-project.QtCore         	0x000000010e177ca6 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 166
8   org.qt-project.QtCore         	0x000000010e178d93 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) + 803
9   libqcocoa.dylib               	0x0000000110f74542 0x110f3b000 + 234818
10  libqcocoa.dylib               	0x0000000110f74c48 0x110f3b000 + 236616
11  com.apple.CoreFoundation      	0x00007fff36099de3 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
12  com.apple.CoreFoundation      	0x00007fff36099d89 __CFRunLoopDoSource0 + 108
13  com.apple.CoreFoundation      	0x00007fff3607d74b __CFRunLoopDoSources0 + 195
14  com.apple.CoreFoundation      	0x00007fff3607cd15 __CFRunLoopRun + 1189
15  com.apple.CoreFoundation      	0x00007fff3607c61e CFRunLoopRunSpecific + 455
16  com.apple.HIToolbox           	0x00007fff352db1ab RunCurrentEventLoopInMode + 292
17  com.apple.HIToolbox           	0x00007fff352daee5 ReceiveNextEventCommon + 603
18  com.apple.HIToolbox           	0x00007fff352dac76 _BlockUntilNextEventMatchingListInModeWithFilter + 64
19  com.apple.AppKit              	0x00007fff3367377d _DPSNextEvent + 1135
20  com.apple.AppKit              	0x00007fff3367246b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361
21  com.apple.AppKit              	0x00007fff3366c588 -[NSApplication run] + 699
22  libqcocoa.dylib               	0x0000000110f73b0d 0x110f3b000 + 232205
23  org.qt-project.QtCore         	0x000000010e1740b7 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 487
24  org.qt-project.QtCore         	0x000000010e178302 QCoreApplication::exec() + 130
25                                	0x000000010a5eabd2 0x10a5d3000 + 97234
26  libdyld.dylib                 	0x00007fff61fd33d5 start + 1
 

Full crash available here: gist.github.com/rickbassham/a754958e911b3ce3ef38f11c5ed912a9

I've removed the ~/Library/Application Support/kstars folder, and I still crash, even with the simulators profile.
Gayle H Riggsbee Observatory - Charlotte Amateur Astronomers Club
CEM120 - TMB 100/800 - AT72EDII w/Homemade Moonlite Compatible Arduino Focuser - AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI2600MC-Pro - ZWO ASI2600MM-Pro - ZWO ASI174MM-Mini - ZWO OAG - ZWO EFW
AT2FF - CCDT67 - RIRED-M63
1 year 8 months ago #64081

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

  • Posts: 208
  • Thank you received: 118

Replied by Rick Bassham on topic Kstars 3.5.0 OSx

Well, after a reboot, the crash went away... :shrug:
Gayle H Riggsbee Observatory - Charlotte Amateur Astronomers Club
CEM120 - TMB 100/800 - AT72EDII w/Homemade Moonlite Compatible Arduino Focuser - AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI2600MC-Pro - ZWO ASI2600MM-Pro - ZWO ASI174MM-Mini - ZWO OAG - ZWO EFW
AT2FF - CCDT67 - RIRED-M63
1 year 8 months ago #64083

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

  • Posts: 5
  • Thank you received: 1

Replied by Stanley Fertig on topic Kstars 3.5.0 OSx

Hi Rob,
Trying to understand your comment about minimum OS. Is it mac OS 10.13? or 10.15? Need to know because my SBIG STF8300 doesn't play nice with Catalina (10.15) so I use Mojave (10.14) for my Air.

Thanks for all your great work!
-stan in Brooklyn
1 year 8 months ago #64153

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

Time to create page: 0.647 seconds