×

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 ?

Now that we have this on its way I moved back to the faster computer.
On this one when doing the dmg part I get:
ERROR: Cannot resolve rpath "libindi.1.dylib"        <--------------
 
ERROR:  using QSet("/Users/jamie/IndiRoot/kstars-stuff/lib", "/Users/jamie/Qt5.7.0/5.7/clang_64/lib")
WARNING: Plugin "libqsqlodbc.dylib" uses private API and is not Mac App store compliant.
WARNING: Plugin "libqsqlpsql.dylib" uses private API and is not Mac App store compliant.
ERROR: no file at "/opt/local/lib/mysql55/mysql/libmysqlclient.18.dylib"
ERROR: no file at "/usr/local/lib/libpq.5.dylib"

not sure why it isn't finding libindi.1.dylib
Last edit: 7 years 5 months ago by Jamie Smith.
7 years 5 months ago #12249
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?



sounds like you're missing the file in the Frameworks folder I would say. I'll check from home late on on my build.
7 years 5 months ago #12250
The topic has been locked.
  • Posts: 211
  • Thank you received: 23

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

There wasn't anything in the script that had it pick that up. I added kstars back in to the list of things that the script checks and it fixed that.

Using the script, I nuked everything related on my faster machine and ran the build_kstars script, building indi and emerge kstars. It fixed the libraries, and created a dmg which I proceeded to copy to my "clean" machine.

KStars starts up fine, and the indi window opens. when I try to start indi with the sim profile, I get the dialog "KStars detected INDI driver indi_simulator_telescope crashed. Please check INDI server log in the Device Manager." (which I saw before).

What the heck is the device manager??

I started from the terminal and I see this appear when I try to start indi:
socket: Connection refused

When I use the profile with my nikon attached to the astropi it works!

Where can I find the error that the indi_simulator_telescope is having?

When I run the otool on the file in the dmg it looks right to me
otool -L /Volumes/kstars/kstars.app/Contents/MacOS/indi/indi_simulator_telescope
/Volumes/kstars/kstars.app/Contents/MacOS/indi/indi_simulator_telescope:
	@executable_path/../../Frameworks/libindidriver.1.dylib (compatibility version 1.0.0, current version 1.3.1)
	@executable_path/../../Frameworks/libusb-1.0.0.dylib (compatibility version 2.0.0, current version 2.0.0)
	@executable_path/../../Frameworks/libnova-0.15.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	@executable_path/../../Frameworks/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)
7 years 5 months ago #12252
The topic has been locked.
  • Posts: 211
  • Thank you received: 23

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

I found the files, they apparently rearranged console.
 
Process:               indi_simulator_ccd [1626]
Path:                  /Applications/kstars.app/Contents/MacOS/indi/indi_simulator_ccd
Identifier:            indi_simulator_ccd
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        indiserver [1624]
Responsible:           indi_simulator_ccd [1626]
User ID:               501
 
Date/Time:             2016-11-18 11:27:29.200 -0500
OS Version:            Mac OS X 10.12.1 (16B2555)
Report Version:        12
Anonymous UUID:        53892419-2FA8-EE25-6F11-E550C9FE4D72
 
 
Time Awake Since Boot: 400 seconds
 
System Integrity Protection: enabled
 
Crashed Thread:        0
 
Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
 
Termination Reason:    DYLD, [0x1] Library missing
 
Application Specific Information:
dyld: launch, loading dependent libraries
 
Dyld Error Message:
  Library not loaded: @executable_path/libusb-1.0.0.dylib
  Referenced from: /Applications/kstars.app/Contents/Frameworks/libindidriver.1.dylib
  Reason: image not found
 
Binary Images:
       0x108f8d000 -        0x108f95ff7 +indi_simulator_ccd (0) <6ECA9082-1633-3E1F-9863-158096362C90> /Applications/kstars.app/Contents/MacOS/indi/indi_simulator_ccd
       0x108fa1000 -        0x109032fff +libindidriver.1.dylib (0) <C77CA661-F0F3-31CB-A9C5-A373C0E0921B> /Applications/kstars.app/Contents/Frameworks/libindidriver.1.dylib
       0x10906b000 -        0x10907afff +libusb-1.0.0.dylib (0) <24074467-ED01-338E-BE4D-1C0D9DDC84A9> /Applications/kstars.app/Contents/Frameworks/libusb-1.0.0.dylib
       0x109085000 -        0x1093f4ff3 +libnova-0.15.0.dylib (0) <89F21E2B-0979-3935-A109-F322EC085D21> /Applications/kstars.app/Contents/Frameworks/libnova-0.15.0.dylib
       0x1093fd000 -        0x109508ff7 +libcfitsio.5.dylib (0) <BF989EE9-E8ED-3206-8EAA-37C70685E5F9> /Applications/kstars.app/Contents/Frameworks/libcfitsio.5.dylib
       0x111a0a000 -        0x111a47287  dyld (421.2) <13A9466A-2576-3ABB-AD9D-D6BC16439B8F> /usr/lib/dyld
    0x7fffa258c000 -     0x7fffa258dff3  libSystem.B.dylib (1238) <CFC3669C-FB44-3A51-8815-1E84A168F3C5> /usr/lib/libSystem.B.dylib
    0x7fffa26be000 -     0x7fffa2714ff7  libc++.1.dylib (307.4) <BEE86868-F831-384C-919E-2B286ACFE87C> /usr/lib/libc++.1.dylib
    0x7fffa3a27000 -     0x7fffa3a38ff3  libz.1.dylib (67) <46E3FFA2-4328-327A-8D34-A03E20BFFB8E> /usr/lib/libz.1.dylib

Gah! Libusb. Let me go see if I can find that other fix.
7 years 5 months ago #12253
The topic has been locked.
  • Posts: 211
  • Thank you received: 23

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

Not sure why it is looking for it where it is, so I punted and I just copy all of those things under both Frameworks and indi/

So I put the image I created to:

www.dropbox.com/s/eoqstbm3uw3ozbc/kstars.dmg?dl=0

See how that works. Checking in the scripts now.
The following user(s) said Thank You: Gonzothegreat
7 years 5 months ago #12254
The topic has been locked.
  • Posts: 211
  • Thank you received: 23

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

I re-ran the script, start to finish:
time ~/dropbox/kstars-on-osx/build-kstars.sh -i3ae
(...)
ANNOUNCE            = Yep
BUILDING_KSTARS     = Yep
BUILD_3RDPARTY      = Yep
BUILD_INDI          = Yep
BUILD_KSTARS_CMAKE  = Nope
BUILD_KSTARS_EMERGE = Yep
SKIP_BREW           = Nope
(...)
 -rw-r--r--@ 1 jamie  staff  63608348 Nov 18 12:14 IndiRoot/kstars-stuff/Applications/KDE/kstars.dmg
############################################################
# Script execution complete
############################################################
real	20m59.602s
user	65m42.016s
sys	5m23.166s

So just over an hour on my three-year-old i7 iMac (note that all the brew stuff was already done). Verified on my other machine.
Last edit: 7 years 5 months ago by Jamie Smith.
7 years 5 months ago #12256
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?



Stephanes-MacBook-Air:Frameworks stephanelucas$ pwd && ls -la libindi.1.dylib
/Users/stephanelucas/IndiRoot/kstars-stuff/Applications/KDE/kstars.app/Contents/Frameworks
-rwxr-xr-x 1 stephanelucas staff 190952 17 Nov 21:32 libindi.1.dylib
Stephanes-MacBook-Air:Frameworks stephanelucas$


Do you have it in that above folder?
7 years 5 months ago #12258
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?


Going to test yours now, standby....
7 years 5 months ago #12259
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

tested it, it works nicely and I am able to take a picture, no crash !!!!
Why is yours not crashing on my MBP but my build do, no idea but it does not matter knowing that yours has been build from the script from start to finish.

I shall run the script shortly after dinner.
7 years 5 months ago #12260
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?


Download new data WORKS with Jamie's build. tested on my MBP.
7 years 5 months ago #12261
The topic has been locked.
  • Posts: 211
  • Thank you received: 23

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


What is failing for you?

The thing that got me past the SEGVs that I was getting was switching from the brew installed QT to the downloaded version - I think that maybe I should just nuke the brew option and require the download.
Last edit: 7 years 5 months ago by Jamie Smith.
7 years 5 months ago #12262
The topic has been locked.
  • Posts: 2257
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

yes sadly it was failing in my build. The difference is that I've only changed two sims lib path. Maybe in your script as you're doing all the path something somewhere has fixed the issue I was facing.
7 years 5 months ago #12263
The topic has been locked.
Time to create page: 0.418 seconds