×

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: 2877
  • Thank you received: 812

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

Alessio,

Thank you, that is very useful information because one of my computers says the same error. Now I at least know it is probably just the one problem. I should be able to just study the differences in the dependencies installed on each computer. it is probably something simple like a missing framework or an out of date dependency. It will probably be.a couple of days before I can track it down though.

I am surprised the gphoto/canon driver is not in the cloud makers Indi server. I thought it was. I will have to remember that for future reference.

Thanks,

Rob
6 years 11 months ago #16466
The topic has been locked.
  • Posts: 2877
  • Thank you received: 812

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


I looked into this, it looks like Jasem did the work to get the driver functioning on OS X, but then the CMakeLists file was never updated to tell the system to build the driver, so the driver was able to be built and included in the dmg, but it just was not done. Sorry that this got overlooked. It should be corrected in the next dmg.
6 years 11 months ago #16467
The topic has been locked.
  • Posts: 22
  • Thank you received: 5

Replied by Alessio Beltrame on topic Ekos on Mac OS X ?

Thanks Rob.
If I can help in testing or debugging please let me know.
6 years 11 months ago #16468
The topic has been locked.
  • Posts: 2255
  • Thank you received: 223

Replied by Gonzothegreat on topic Ekos on Mac OS X ?

Apologies for being absent from this thread in months and from the Astro world. I had to dedicate all my spare time to my other expensive pass-time..... I'm building a vintage race car.
I'm going to slightly change course in my astro stuff, going to swap my Megrez 72 for a an old camera lens. This is to try to achieve my quest of a much more compact observatory.
6 years 11 months ago #16469
The topic has been locked.
  • Posts: 63
  • Thank you received: 6

Replied by Eric Vickery on topic Ekos on Mac OS X ?

Fist off I would like to say thank you for everyone's hard work. I haven't been using it very long but kstars is great and all the effort put in to make it work on OS X is much appreciated.

Now on to my question. I got kstars to build using Jamie's script but I want to build again using the latest code do I have to run the script again or can I just do a pull from GitHub on the kstars repo?
6 years 11 months ago #16507
The topic has been locked.
  • Posts: 2877
  • Thank you received: 812

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

Hey guys, I just did some sleuthing over the last 2 days. I finally solved the problem for Canon I believe. After lots of investigating, I figured out what was wrong. There were basically 2 big problems.

First, I had an extra copy of a dependency on my one computer in a different folder and it was a very old version so when I was doing the build, it was catching that file instead of the correct new one that was being built in the script. This was why I was getting the canon camera to seemingly work with an app built on one computer and not the other. So I cleaned out my folder and that issue went away.

Second, apparently the libgphoto2 package that is the basis behind the Indi gphoto driver apparently needs some libraries/plugins in order to work right. This issue is actually the cause of the "-4" problem you reported Alessio. There are two sets of files, the IOLIBS and the CAMLIBS. They are in the homebrew installation. I didn't realize that these files were needed because the Indi driver was working fine on my computers. The reason is because both of my computers have gphoto installed on them. My wife's computer though does not have this package installed, so I was able to reproduce your error and investigate it. After I finally tracked down the issue, I added these files to the plugins directory and had to edit the kstars code so the indiserver knows where to look for them.

After doing all this, I made a bunch of modifications to the script to make sure it builds the new changes correctly. I also built a new DMG.
6 years 11 months ago #16510
The topic has been locked.
  • Posts: 2877
  • Thank you received: 812

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

So, I have built a new DMG. This new DMG has a bunch of new features.

Over the past month or so, I have been extensively working on improvements to What's Interesting. It now features images and descriptions that you can download from Wikipedia as well as the information present in kstars. It allows you to explore catalogs, what is up in the sky right now, and see what interesting objects there are to explore. You can also use it to slew your telescope to any object in the lists very easily when you see one you like.

This DMG also includes the native ZWO driver that should have been present in the last DMG but was accidentally left out as well as the work I have done over the last 2 days to make the Canon driver work properly without GPhoto2 being installed on your computer. So yes, this should fix Alessio's problem.

This DMG also contains all the updates that have happened in KStars over the last month or so. I am not sure what else it includes because I have been focused exclusively on What's interesting and on the Canon problem.

Please test this DMG everyone to make sure all of these new features are working. It is an El Capitan build, so it should work on both that and Sierra.

Thanks,

Rob

drive.google.com/file/d/0B_ivMJINsdQ8SEh...UE0/view?usp=sharing
The following user(s) said Thank You: nMAC, Oliver, Matt Fulghum, Alessio Beltrame
6 years 11 months ago #16511
The topic has been locked.
  • Posts: 2877
  • Thank you received: 812

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


Great that you are using the script!

I would recommend doing a pull on the script, deleting INDIRoot and starting over. I made a lot of changes to Jamie's script over the last 2 days to get the canon driver working properly without a gphoto install. Also, depending on how recently you ran Jamie's script, there were some changes to INDI, including now a native build for the ZWO driver that would not be included if you just did a pull on kstars. Rerunning the script will rebuild Indi and kstars, get the new files for gphoto in the right place, etc.

Normally when I am working with editing KStars code in the cmake version of the script, I just do a pull of kstars because the other files have not changed much and I'm not planning to deploy kstars to another computer from that installation. If I am making a dmg that I want to deploy for everyone, then I start fresh by deleting indiroot and run the craft version of the script. But because of all of the changes over the last 2 days, I would start fresh either way.

Thanks,

Rob
The following user(s) said Thank You: Eric Vickery
6 years 11 months ago #16512
The topic has been locked.
  • Posts: 2877
  • Thank you received: 812

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


We missed you Gonzo! I have a new DMG for you to test!
6 years 11 months ago #16513
The topic has been locked.
  • Posts: 63
  • Thank you received: 6

Replied by Eric Vickery on topic Ekos on Mac OS X ?

Another question.

The project built fine and I can run it on the machine I built it on but if I copy the app to my other machine it doesn't run because it is missing libraries. How do I go about getting it all bundled up so it will run on another machine? BTW I chose the Xcode option in the script.
6 years 11 months ago #16515
The topic has been locked.
  • Posts: 2877
  • Thank you received: 812

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


If you want it to run on different machines, you just need to run the script with the options -3aei. This will build kstars with everything wrapped up in the app, deploy it so it works on other machines, and make a dmg that makes it easy to distribute and install from. Currently, the way the script is written, you need to delete at least the Indi-stuff folder in order to start the script and the folder for whichever install type you want to do (if it already exists), such as kstars-craft, kstars-cmake, or kstars-xcode. The different versions can coexist in the same indiroot directory.
6 years 11 months ago #16516
The topic has been locked.
  • Posts: 63
  • Thank you received: 6

Replied by Eric Vickery on topic Ekos on Mac OS X ?

There's no way to build it from one of the Xcode targets? I don't need the dmg, just the app but with all the libraries included in the bundle.
6 years 11 months ago #16518
The topic has been locked.
Time to create page: 1.243 seconds