×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Ekos on Mac OS X ?

  • 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 10 months ago #16507
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

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 10 months ago #16510
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

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 10 months ago #16511
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

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 10 months ago #16512
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

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 10 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 10 months ago #16515
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

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 10 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 10 months ago #16518
The topic has been locked.
  • Posts: 2876
  • Thank you received: 809

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

Currently, the way the script is written, the craft version is the only way to get a distributable program. The reason is because the intent is for the craft version to build the app for distribution and the others are for building it to the point so you can edit the code in either QT Creator or Xcode. There are a bunch of steps involved to get kstars to a point that you could edit it, and then there are a bunch of steps after that to deploy it so it works on other computers. The craft version does all of it, the others just get it to the point where it works on your computer.

If you wanted to build kstars, edit it, make a change, and then deploy it, you would not be using a single script. We would need a separate script for deployment of the project after it is edited. Such a script could be written in the future. But really if you planned to edit KStars, the best plan would be to edit it, make a patch, submit your changes so kstars gets updated, and then deploy it. If you don't want to edit the code at all, I would recommend the craft version of the script.

If you don't want the dmg, just ignore it or delete it. Copying and pasting the kstars app located in /Indiroot/Kstars-craft/Applications/KDE after running the craft version of the script from one computer to another works just fine. It is entirely self contained.
6 years 10 months ago #16519
The topic has been locked.
  • Posts: 63
  • Thank you received: 6

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

That makes sense. Thanks for the explanation.
6 years 10 months ago #16520
The topic has been locked.
  • Posts: 22
  • Thank you received: 5

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

Thanks Rob for the excellent work. I made a quick test this morning (I live in northeastern Italy - GMT +1) using Sierra on the MacBook Pro and the EOS 7D Mark II and this time it connected and operated properly. This evening I'll try the older 7D. For the weekend I'm planning to do a complete dry test with all my instrumentation connected. I'll report you back as soon as possible.
6 years 10 months ago #16522
The topic has been locked.
  • Posts: 333
  • Thank you received: 24

Replied by Stephen on topic Ekos on Mac OS X ?

This is the best one yet. There stills seems to be some focus issues with the open save dialogs for the CCD sequence and Schedule list.

The addition of the ZWO drivers is great. SkySafari worked. PHD2 connection I think worked - will check again tonight.

Doing a sequence via CCD is working.

The Scheduler though is timing out. It states it is starting and then just time out. It is likely something I have wrong. I will confirm this weekend and report back.

The setup is using the Mac KStars to connect to an RPI3 via INDIWebserver. Current tests was with the ZWO imaging, ZWO guider, ZWO EFW, and the telescope simulator.
The following user(s) said Thank You: Rob Lancaster
6 years 10 months ago #16526
The topic has been locked.
Time to create page: 0.832 seconds