Welcome, Guest
Username: Password: Remember me
20 Aug 2017
INDI development team is happy to announce the release of INDI Library v1.5.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...

TOPIC: Ekos on Mac OS X ?

Ekos on Mac OS X ? 11 months 2 weeks ago #10542

Hi Akarsh,

Thats perfectly fine enjoy your trip! KStars has been perfectly usable on OS X, even in Horizontal mode (which I like better anyway). The error messages just happen at the beginning and then its fine. I agree the horizontal grid looks weird, but its fine if you don't turn on the horizontal grid ;-)

Thanks,

Rob
The topic has been locked.

Ekos on Mac OS X ? 11 months 2 weeks ago #10543

Updated instructions on how to Install KStars/INDI/Ekos and even GSC on OS X. Most of the commands can be simply copied and pasted to a terminal. Adam, I made the changes you suggested, please look over it and see if there is anything else you would add. I hope in the future that these instructions can be made simpler or even that we can make an installer and/or dmg. But for now, I'm just glad we got it all working!!



File Attachment:

File Name: InstallingKstarswithEkosonOSXversion2.pdf
File Size: 95 KB
Attachments:
The topic has been locked.

Ekos on Mac OS X ? 11 months 2 weeks ago #10544

I've been following this thread remotely and it's awesome to see the progress. I think all of my pull requests have been integrated into the mainline so you shouldn't need to use my branch anymore (as mentioned earlier). I have a fix for the Debug mode crash which I'll post once I get my backup laptop working (beer on MBP keyboard = death).

Once we come up with a reliable build configuration I'd like to set up a Travis CI job to keep things running and upload nightly builds to S3 so everyone can have fresh OSX/MacOS builds without suffering through 6 hour Qt builds (!).
The following user(s) said Thank You: rlancaste, Adam
The topic has been locked.

Ekos on Mac OS X ? 11 months 2 weeks ago #10545

That sounds excellent! Yes, if you look at the updated directions, i am using the current kstars git instead of yours now. Mainly we are using your excellent instructions for the preparations with the environment variables.

As of right now I have kstars, indi, ekos, and gsc working on my system. I havent tested xplanet or astrometry with os x yet. There are still a few bugs, the biggest being the download new data problem.

And yes, not having to build every time would be awesome! Your assistance is most welcome!
The topic has been locked.

Ekos on Mac OS X ? 11 months 2 weeks ago #10547

  • Adam
  • Adam's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 79
  • Thank you received: 9
Hi all,

Akarsh, enjoy your trip! :)
Rob, thanks for your update on the instructions. I want to add that I also had to export the directories as described by Sean before building libindi for it to find the homebrew qt5 installation. Maybe you also have a manual installation of qt5 so it works for you without the exports. In addition, I had to install cmake using homebrew before everything else. So maybe it would be good to move all the homebrew stuff to the top of the instructions. I would also add "brew install pkgconfig" there as I needed that for kstars to detect indi.
You could also add the changes to the qt5 formula I had to follow to make it build using homebrew in case someone wants to try before this is fixed officially.
I will also try to build kstars and indi on macos 10.12 again if I can, so for now you could also add a remark that the instructions are only tested on 10.11 yet.
Also, thanks for the gsc instructions! I haven't tried them yet.
And Sean, thanks for your initial work! It would indeed be great if the whole process could be eased in the end. As most of the dependencies are installed using homebrew already, maybe it would be possible to also make indi and kstars available through homebrew somehow in the end? I have absolutely no experience with that however and homebrew doesn't seem that reliable on recent versions of OS X.
The following user(s) said Thank You: rlancaste
The topic has been locked.

Ekos on Mac OS X ? 11 months 2 weeks ago #10553

Hi Adam,

No, you are right, when I installed libindi from source, I definitely used the exports because otherwise, it doesn't know where things are. I believe I already had cmake on my mac, and I don't remember installing pkgconfig, but I do see both of them in my home-brew /usr/local/cellar directory so I don't know when I did that, so you might be right on that too. I just added all this to the instructions. Please take a look at them again.

File Attachment:

File Name: InstallingKstarswithEkosonOSXversion3.pdf
File Size: 99 KB


Thanks,

Rob
Attachments:
The following user(s) said Thank You: Adam
The topic has been locked.

Ekos on Mac OS X ? 11 months 2 weeks ago #10557

  • Adam
  • Adam's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 79
  • Thank you received: 9
Hi Rob,
I think that should be easy to follow, well done! :) Just to save the reader some searching, you could add the directory of the qt5 formula which is a bit hard to find:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/qt5.rb

I have yet to try gsc (and astrometry.net), but from your instructions, I don't see a reason why it shouldn't work.

Thanks for the nice write-up!
Adam
The topic has been locked.

Ekos on Mac OS X ? 11 months 2 weeks ago #10558

do you possibly have a link to somewhere the fix is discussed so I can put a link in the instructions too?
The topic has been locked.

Ekos on Mac OS X ? 11 months 2 weeks ago #10559

  • Adam
  • Adam's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 79
  • Thank you received: 9
Yes, the fix is somewhere in the last third of the discussion here:
github.com/Homebrew/homebrew-core/issues/4841
and the issue is being further tracked here:
github.com/Homebrew/homebrew-core/issues/5391
The following user(s) said Thank You: rlancaste
The topic has been locked.

Ekos on Mac OS X ? 11 months 1 week ago #10819

  • Adam
  • Adam's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 79
  • Thank you received: 9
Hi,
I just want to say that the qt5 issue seems to be fixed now so installing qt5 with homebrew should work without the patch from before. I actually had to undo the patch manually because homebrew keeps user-made changes to formulas between updates.
Unfortunately, I still have no luck building libindi on macos 10.12 because the cmake files searching for libnova and libusb don't seem to work. I made cmake find them by giving the directories manually to the command, but when trying to build libindi afterwards, it fails because it doesn't find libnova with the 'include <libnova.h>' statements for example.
Another issue I encountered is, that starting drivers locally from Ekos (with the 'Mode: local' setting) doesn't work. It gives a pop-up error message:

Driver indi_simulator_telescope was not found on the system. Please make sure the package that provides the 'indi_simulator_telescope' binary is installed

although I set the indi server and drivers directories to /usr/local/bin/indiserver and /usr/local/share/indi and the files in question seem to be right there.
The topic has been locked.

Ekos on Mac OS X ? 11 months 6 days ago #10830

Hi Adam,

So we can probably remove the section about patching the qt5, and just go back to installing it with home-brew?

The problems you stated with building libindi, were those problems just with OS10.12, or were you unable to build libindi on 10.11 too? I was able to successfully build libindi, but had some trouble with the 3rd party drivers. That is all now working on my system.

For the local mode, was that just on 10.12, or does that include 10.11 too? My setup is the same as yours on 10.11 I think and my local mode works fine.

Note, if you cannot get the local mode to work, for now you can use the Cloudmakers indiserver app and run that "remotely" on the same computer. But hopefully yours can work locally.

I haven't been working on this problem for a little while because it was working on my system now and I turned my attention to learning some C++ and improving the fits viewer. My changes are not available yet but they will be soon (a couple of weeks I think?). I have added panning with a left button mouse drag, using trackpad gestures like pinch and two fingered panning for zooming and panning the image file, keeping the zooming focused on the point you intend instead of going to the upper left hand corner all the time, optional gridlines and crosshairs for overlaying your image, and a mouse mode for centering your telescope on a point you click in the image. These are all currently working fairly well on my Mac and Linux machines, but there are still some minor kinks that need to be worked out. Hopefully will be soon.

The problems you brought up are really important though because the first priority is to get it installed on your computer, extra features would come second to that. Please let me know anything you can about the problem.

Thanks,

Rob
The topic has been locked.

Ekos on Mac OS X ? 11 months 5 days ago #10842

  • Adam
  • Adam's Avatar
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 79
  • Thank you received: 9
Hi Rob,
yes, the step of patching qt5 is not necessary anymore. I installed qt5 with homebrew on 10.11 and 10.12 and it works without the patch (but usually takes more than two hours to build).

The problems with building libindi only occur on 10.12. On 10.11, I have libindi and Kstars running, but with described the issues.
On 10.11, indiserver seems to work fine (only tried the simulator yet) when started from the command line and then connecting with Ekos to localhost with the 'remote' setting. But starting the drivers with the 'local' setting gives the mentioned error.

Great to hear you are working on the native controls! That's really one important thing for using KStars with a Macbook. :)
The topic has been locked.
Time to create page: 0.182 seconds

Login



3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica