×

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

Bi-monthly release with minor bug fixes and improvements

Kstars 3.5.0 OSx

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

Hi PK,

I can clarify this for you. These issues we have been discussing are unrelated to the 3.5.0 dmg that I created the other day. They are related to the build scripts that I made that can be used to build KStars on your own system.

The script that was being discussed earlier, kstars-on-osx-craft (github.com/rlancaste/kstars-on-osx-craft), is the one used to actually build everything from scratch using craft as well as making the DMG's. It is working very well right now, except that there are a couple of issues that need to be resolved in craft. I submitted requests to fix those issues. I fixed them on my own system so that I could finish building the DMG, but until they fix the issues that I mentioned it won't build for everyone. I think we are down to just one issue, but until they fix it, it won't work for everyone.

The other script we were discussing more recently KStars-INDI-Mac-Dev (github.com/rlancaste/KStars-INDI-Mac-Dev) is a script I made that is meant to ultimately make things easier for people who just want to build the latest version on their systems, or make development contributions to the code, but don't want to take all the time or hard drive space required to set up a full craft build (several hours and around 100 GB) or deal with the complexities involved. The way that I am making this work is to copy the built libraries and executables from an existing KStars build so that you don't have to build them all again. So ultimately this will be really great I think, for folks who want to help and get the latest version easily for just their own systems, but there are some challenges on my end getting it set up and working and they are helping me sort out the issues with it.

But none of this is related to the posted DMG. It is true that Airbourn reported an odd crash related to the Summary Screen, which led to this discussion about the build script, and once we fix these problems in the build script, he can help us find out what caused the crash on his system. And if we do fix that issue, along with any others, there will probably be an update.
The following user(s) said Thank You: Peter Kennett
3 years 4 months ago #63288

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx


Please try this. I just made an update that should address your problem. My thought is that if somebody is running an older version of OS X, there is no reason they shouldn't be able to edit kstars too, so I added an option to edit which SDK you use. Please update and try editing that to match your SDK in build-env.sh
3 years 4 months ago #63289

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

Good to hear you got it working Jerry! Hopefully that change gets made in INDI soon.
3 years 4 months ago #63290

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 16

Replied by AirBourn on topic Kstars 3.5.0 OSx

I corrected the XCode install so I have the MacOSX11.0.sdk, indicated as such in the build-env.sh. Setup.sh now completes, but is still building the smaller (~256MB) app that crashes on startup. I'm pouring through the script output to see if I can find it. According to the crash report, it appears to be in StellarSolver::createConvFilterFromFWHM(). Jerry - did you try to run the KStars that you build on 11.0?
3 years 4 months ago #63297

Please Log in or Create an account to join the conversation.

  • Posts: 460
  • Thank you received: 69

Replied by Jerry Black on topic Kstars 3.5.0 OSx


I was able to run KStars from my build, but it was just as is created from the. ~/Projects/KStars-INDI-Mac-Dev/scripts/setup.sh -r. I didn't try the Xcode route. I'm still trying to get QT to open the (now KDE GiTLab forked) source code and test from there. I'm having ecm_install issues (which I know nothing about yet).

Cheers
Last edit: 3 years 4 months ago by Jerry Black.
3 years 4 months ago #63298

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 16

Replied by AirBourn on topic Kstars 3.5.0 OSx

What version of Qt? What OSX Deployment target? Could you post the build-env output or the file itself for my comparison?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Environment Variables Set.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 
DIR                      is [/Users/bryan/Development/KStars-INDI-Mac-Dev/scripts]
QT_PATH                  is [/Users/bryan/Development/Qt/5.15.1/clang_64]
SDK_PATH                 is [/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk]
TOP_FOLDER               is [/Users/bryan/Development/KStars-INDI-Mac-Dev]
SRC_FOLDER               is [/Users/bryan/Development/KStars-INDI-Mac-Dev/src]
FORKED_SRC_FOLDER        is [/Users/bryan/Development/KStars-INDI-Mac-Dev/src-forked]
BUILD_FOLDER             is [/Users/bryan/Development/KStars-INDI-Mac-Dev/build]
DEV_ROOT                 is [/Users/bryan/Development/KStars-INDI-Mac-Dev/ASTRO-ROOT]
sourceKStarsApp          is [/Applications/KStars.app]
KStarsApp                is []
sourceINDIWebManagerApp  is [/Applications/INDIWebManagerApp.app]
INDIWebManagerApp        is []
QT_PATH                  is [/Users/bryan/Development/Qt/5.15.1/clang_64]
GETTEXT_PATH             is [/usr/local/opt/gettext]
PREFIX_PATH              is [/Users/bryan/Development/Qt/5.15.1/clang_64;/Users/bryan/Development/KStars-INDI-Mac-Dev/ASTRO-ROOT;/usr/local/opt/gettext]
PATH                     is [/Users/bryan/Development/KStars-INDI-Mac-Dev/ASTRO-ROOT/bin:/Contents/MacOS/astrometry/bin:/Contents/MacOS/xplanet/bin:/Users/bryan/Development/Qt/5.15.1/clang_64/bin:/usr/local/opt/gettext/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS]
OSX Deployment target    is [10.13]
Using INDI Repo: https://github.com/indilib/indi.git
Using 3rd Party Repo: https://github.com/indilib/indi-3rdparty.git
Using KStars Repo: https://github.com/KDE/kstars.git
Using Web Manager Repo: https://github.com/rlancaste/INDIWebManagerApp.git
3 years 4 months ago #63299

Please Log in or Create an account to join the conversation.

  • Posts: 460
  • Thank you received: 69

Replied by Jerry Black on topic Kstars 3.5.0 OSx

Hopefully this helps.
~/Projects/KStars-INDI-Mac-Dev/scripts/setup.sh -r
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Environment Variables Set.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 
DIR                      is [/Users/jerry/Projects/KStars-INDI-Mac-Dev/scripts]
TOP_FOLDER               is [/Volumes/Data_Raid]
SRC_FOLDER               is [/Volumes/Data_Raid/src]
FORKED_SRC_FOLDER        is [/Volumes/Data_Raid/src-forked]
BUILD_FOLDER             is [/Volumes/Data_Raid/build]
DEV_ROOT                 is [/Volumes/Data_Raid/ASTRO-ROOT]
sourceKStarsApp          is [/Applications/KStars.app]
KStarsApp                is []
sourceINDIWebManagerApp  is [/Applications/INDIWebManagerApp.app]
INDIWebManagerApp        is []
QT_PATH                  is [/Users/jerry/Qt/5.15.2/clang_64]
GETTEXT_PATH             is [/usr/local/opt/gettext]
PREFIX_PATH              is [/Users/jerry/Qt/5.15.2/clang_64;/Volumes/Data_Raid/ASTRO-ROOT;/usr/local/opt/gettext]
PATH                     is [/Volumes/Data_Raid/ASTRO-ROOT/bin:/Contents/MacOS/astrometry/bin:/Contents/MacOS/xplanet/bin:/Users/jerry/Qt/5.15.2/clang_64/bin:/usr/local/opt/gettext/bin:/Library/Frameworks/Python.framework/Versions/3.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Library/Apple/usr/bin]
OSX Deployment target    is [10.13]
Using INDI Repo: https://github.com/indilib/indi.git
Using 3rd Party Repo: https://github.com/indilib/indi-3rdparty.git
Using forked KStars Repo: https://invent.kde.org/jblackns/kstars.git
Using Web Manager Repo: https://github.com/rlancaste/INDIWebManagerApp.git
 
REMOVE_ALL         = Yep
BUILD_XCODE        = Nope
BUILD_OFFLINE      = Nope
BUILD_TRANSLATIONS = Nope
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ This will use an existing KStars App to setup a Development Environment for KStars and INDI on your Mac that does not depend on Craft or Homebrew.  It assumes the KStars app bundle is at /Applications/KStars.app.  It will place the development directory at the location specified.  It will use QT Located in your home directory.  Edit this script if that is incorrect.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 years 4 months ago #63300

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

I would not recommend building with the -x option (the Xcode build) at the moment. I've been working really hard on the other build and I haven't gotten a chance to do any testing of that since I made all these changes. I think it should still work, since I have been carefully trying to preserve that while making these other changes, but we should get this build working first. There also are crazier issues with Xcode like code signing issues that you will run into. We don't need code signing since you are building it on your computer to run on your computer, but it still causes issues. I think all that works with the changes I made last year, but again, I haven't tested it since we made all these changes recently for Big Sur.
3 years 4 months ago #63302

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 16

Replied by AirBourn on topic Kstars 3.5.0 OSx


Yeah, agreed. I'm not trying to build from an XCode project at all - just trying to get this one to build correctly. I only mentioned XCode because I had to fix the XCode install to get the right SDK, that's all.

And thanks Jerry - I see a couple of differences.
3 years 4 months ago #63304

Please Log in or Create an account to join the conversation.

  • Posts: 180
  • Thank you received: 16

Replied by AirBourn on topic Kstars 3.5.0 OSx

Well, interestingly enough, I installed Qt 5.15.2 versus Qt 5.15.1 and it worked. I would have bet against that... :unsure:
(However, I also did a git pull and got new versions of the scripts, too - Looks like Rob's last commit for "Adding StellarSolver to the list of programs that can be built" fixed it for me.)

Anyway, I now have a build environment that works!
3 years 4 months ago #63307

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

Ok just making sure. On that note though, today I did do some work on the Xcode build. Mainly making an Xcode project is important for testing purposes, such as using the leak detection, code analysis, and memory analysis tools. I would mainly recommend using QT Creator for actual coding.
3 years 4 months ago #63308

Please Log in or Create an account to join the conversation.

  • Posts: 2877
  • Thank you received: 812

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

Awesome! And now you have access to my new StellarSolver program as well.
3 years 4 months ago #63309

Please Log in or Create an account to join the conversation.

Time to create page: 0.430 seconds