×

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

Bi-monthly release with minor bug fixes and improvements

Ekos on Mac OS X ?

  • Posts: 211
  • Thank you received: 23

Replied by Jamie Smith on topic Ekos on Mac OS X ?

Ok, that is cool then - all of those files of the libKF5* get added during the dmg creation, I am not copying them
7 years 5 months ago #12228
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?


that's right, they are in the right folder, no need to copy them. Only the ones I've put in the attachment.
However, having said that, I do believe I'm either missing an important library or a path to one is wrong somewhere, hence the crash I'm still trying to figure out.

Maybe once you've done your dmg file, you might be able to test it from your side and found out what's going on?
7 years 5 months ago #12229
The topic has been locked.
  • Posts: 211
  • Thank you received: 23

Replied by Jamie Smith on topic Ekos on Mac OS X ?

I definitely see a difference in what the script is doing. Comparing to your post (indilib.org/forum/ekos/525-ekos-on-mac-o...html?start=744#12093)

can you help me understand why this:
@executable_path/../Frameworks/libindidriver.1.dylib (compatibility version 1.0.0, current version 1.3.0)

has ../Frameworks and the other ones don't?
Maybe if I understood what it is doing it might make it easier for me to get to work.

When I run the script (I skipped updating kstars this time) it crashes right away.

EDIT - I should add that it also leaves the copy in the build dir unusable as well.
Process:               kstars [31733]
Path:                  /Applications/kstars.app/Contents/MacOS/kstars
Identifier:            ???
Version:               ??? (???)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           kstars [31733]
User ID:               501
 
Date/Time:             2016-11-17 17:03:12.531 -0500
OS Version:            Mac OS X 10.12.1 (16B2657)
Report Version:        12
Anonymous UUID:        6463D6F1-519C-48DA-2D61-FEA991074B1E
 
Sleep/Wake UUID:       7FB89077-32BC-4266-9E96-F3E7E59609E0
 
Time Awake Since Boot: 640000 seconds
Time Since Wake:       12000 seconds
 
System Integrity Protection: enabled
 
Crashed Thread:        0  Dispatch queue: com.apple.main-thread
 
Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
 
Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]
 
VM Regions Near 0:
--> 
    __TEXT                 000000010bb95000-000000010c264000 [ 6972K] r-x/rwx SM=COW  /Applications/kstars.app/Contents/MacOS/kstars
 
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.qt-project.QtCore         	0x000000010e66299f QString::operator=(QString const&) + 31
1   libKF5Crash.5.dylib           	0x000000010c38e4ff 0x10c38a000 + 17663
2   libKF5Crash.5.dylib           	0x000000010c38d881 KCrash::initialize() + 97
3                                 	0x000000010bba0fbd 0x10bb95000 + 49085
4   libdyld.dylib                 	0x00007fffbe187255 start + 1
 
Thread 1:
0   libsystem_pthread.dylib       	0x00007fffbe39e204 start_wqthread + 0
1   ???                           	0x0003000100010003 0 + 844429225164803
 
Thread 2:
0   libsystem_pthread.dylib       	0x00007fffbe39e204 start_wqthread + 0
1   ???                           	0x0000000110bd4000 0 + 4575805440
 
Thread 3:
0   libsystem_pthread.dylib       	0x00007fffbe39e204 start_wqthread + 0
1   ???                           	0x007865646e496d65 0 + 33888479226719589
 
Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x000000010eadced0  rbx: 0x0000600000201360  rcx: 0x0000000000000000  rdx: 0x00000000000005da
  rdi: 0x0000000000000000  rsi: 0x00007fff54069888  rbp: 0x00007fff540697f0  rsp: 0x00007fff540697e0
   r8: 0x0000600000201350   r9: 0x00007fffc6f5b040  r10: 0x0000000118a54100  r11: 0x000000010e662980
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x00007fff54069888  r15: 0x00007fff54069838
  rip: 0x000000010e66299f  rfl: 0x0000000000010293  cr2: 0x0000000000000000
 
Logical CPU:     0
Error Code:      0x00000004
Trap Number:     14
Last edit: 7 years 5 months ago by Jamie Smith.
7 years 5 months ago #12230
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

ignore the post: indilib.org/forum/ekos/525-ekos-on-mac-o...html?start=744#12093 for the otool libindidriver.1.dylib

It should be:
Stephanes-MacBook-Air:kstars-stuff stephanelucas$ otool -L Applications/KDE/kstars.app/Contents/Frameworks/libindidriver.1.dylib 
Applications/KDE/kstars.app/Contents/Frameworks/libindidriver.1.dylib:
	@rpath/libindidriver.1.dylib (compatibility version 1.0.0, current version 1.3.1)
	@executable_path/libusb-1.0.0.dylib (compatibility version 2.0.0, current version 2.0.0)
	@executable_path/libnova-0.15.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/libcfitsio.5.dylib (compatibility version 5.0.0, current version 5.3.39)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.8)
	/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.4.0)
Stephanes-MacBook-Air:kstars-stuff stephanelucas$


you keep the @rpath as it is.

as for: @executable_path/libusb-1.0.0.dylib
it means @executable_path = from where the libindidriver.1.dylib is located which is Frameworks, hence you copy the 3 libs in Frameworks

cp /usr/local/lib/libindidriver.1.dylib Applications/KDE/kstars.app/Contents/Frameworks/
cp /usr/local/lib/libusb-1.0.0.dylib Applications/KDE/kstars.app/Contents/Frameworks/
cp /usr/local/lib/libnova-0.15.0.dylib Applications/KDE/kstars.app/Contents/Frameworks/
cp /usr/local/lib/libcfitsio.5.dylib Applications/KDE/kstars.app/Contents/Frameworks/
7 years 5 months ago #12231
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

What I will do tomorrow evening (I'm logging off to bed now) is clean up the kstars install on the MBP and re-install the dmg file to be 100%sure that the one I've build today works and that nothing from the previous dmg is interfering.
7 years 5 months ago #12232
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

Replied by Rob Lancaster on topic Ekos on Mac OS X ?


Sounds great! you are doing great work with this!! I am currently copying and installing things to my new computer. . .
7 years 5 months ago #12233
The topic has been locked.
  • Posts: 211
  • Thank you received: 23

Replied by Jamie Smith on topic Ekos on Mac OS X ?

Getting close - I went from nothing, ran the script, and ended up with a dmg in one go. Copied it over to my other machine that I haven't done anything on, and it kind of worked!

I am wondering if I am copying the indi stuff to a different place than you expect. When I try to start I get:
Ekos requires at least one CCD or Guider to operate.
I have clicked the internal checkboxes for both the driver and server - I restarted the app and that part seemed better, but then I got:
KStars detected INDI driver indi_simulator_telescope crashed. Please check INDI server log in the Device Manager.
Is this what you were seeing to tell you that something was wrong with the @execute_path stuff?
Last edit: 7 years 5 months ago by Jamie Smith.
7 years 5 months ago #12235
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

Replied by Rob Lancaster on topic Ekos on Mac OS X ?


No, I believe it is probably correct. Please go into the preferences and check to make sure that the INDI drivers directory is selected as internal. I may have forgotten to set that by default. I just discovered this myself. I will fix that soon. :oops: And I think I did the same thing to xplanet. . . Please check. You can fix it by just checking the checkboxes I added.
7 years 5 months ago #12236
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

Replied by Rob Lancaster on topic Ekos on Mac OS X ?

One piece of very good news. Something that you guys did may have really helped the download new stuff browser. For the first time, without launching from the command line, I can see the items populate in the list instead of the error we always got before. So it is another step in the right direction on that front!!
7 years 5 months ago #12237
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?


The "Ekos requires at least one CCD or Guider to operate." is standard if you haven't enabled the internal indi stuff.

The "KStars detected INDI driver indi_simulator_telescope crashed. Please check INDI server log in the Device Manager." that's not right.
If you could please upload the crash report, for me for example this error always had been with a missing lib or wrong path.
Last edit: 7 years 5 months ago by Gonzothegreat.
7 years 5 months ago #12240
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?


I will double check this tonight with the latest dmg, as in my previous out-dated one that wasn't working.
7 years 5 months ago #12241
The topic has been locked.
  • Posts: 2885
  • Thank you received: 819

Replied by Rob Lancaster on topic Ekos on Mac OS X ?


Sounds good, I havent tried it in a dmg yet.
7 years 5 months ago #12244
The topic has been locked.
Time to create page: 0.438 seconds