×

INDI Library v1.9.8 Released (29 Sep 2022)

Bi-monthly INDI Library released with new drivers and bug fixes.

Kstars 3.5.0 OSx

  • Posts: 2800
  • Thank you received: 786

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

I am not sure why my post is not posting, but I will try to separate it to see if that helps. Part 1:

So, I wouldn't probably call QT a build system as much as I would call it a library of cross platform functions, objects, and methods. The great benefit of QT is that we can do something on one operating system and it will mostly work on another out of the box. This is true of the entire program, from the methods to the system functions to even the user interface. Also, its great because it is free as long as you are doing open source. QT creator is also a very nice IDE, in a number of ways it is better than Xcode.
1 year 10 months ago #63339

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

  • Posts: 2800
  • Thank you received: 786

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

Part 2:
If you are referring to Qt documentation for libraries, functions, etc, then I think the best place is here: doc.qt.io. Although I will say that when I have a question about an object or method, such as if I am working with a QLabel and I'm wondering what methods it has, or descriptions of its methods, or examples of using it, I just do a google search. Usually the google search comes back to the QT docs, but not always.
1 year 10 months ago #63340

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

  • Posts: 2800
  • Thank you received: 786

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

Part 3:
For building KDE based programs such as KStars on Windows and Mac, because many linux executables and libraries are not available on Mac or Windows, we use the the craft build system. We used to use homebrew for Mac builds of KStars, but while homebrew was really great for the more basic software packages, I found it to be rather unstable for building the more advanced KDE libraries. So a couple of years ago, I spent a lot of time transitioning to the Craft build system since it is designed for the task. So for the main KStars build, we use the craft build system. If you want to find out more about that, there is a lot of documentation here: community.kde.org/Craft. Just note that currently there are a bunch of programs that we need for KStars and INDI that the current craft recipes do not make, and there are a few more that don't make the libraries with the options that we need and I had to change the recipe. So, I did write a whole bunch of recipes for them and keep them in a separate repo. I am hoping that they eventually get integrated into the main craft recipes repo, but for now, they are separate until we can get somebody to look at what I did and work with me on perfecting them. But for now it works. My kstars-on-osx build script makes use of those alternate recipes.
1 year 10 months ago #63341

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

  • Posts: 2800
  • Thank you received: 786

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

Part 4:
Craft Documentation: community.kde.org/Craft
Craft Repo: github.com/KDE/craft
Official Craft Blueprints/Recipes: github.com/KDE/craft-blueprints-kde
My Alternate Recipes: github.com/rlancaste/craft-blueprints-kde
My build script: github.com/rlancaste/kstars-on-osx-craft
1 year 10 months ago #63342

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

  • Posts: 2800
  • Thank you received: 786

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

Sorry, that was in 4 parts, but I tried posting it so many times and it didn't work. For some reason, all of it worked when I split it up?????? Not sure.
1 year 10 months ago #63343

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

  • Posts: 354
  • Thank you received: 52

Replied by Jerry Black on topic Kstars 3.5.0 OSx

Most of this is beyond me, but I'd like to get to a QT environment on OS X. My current problem is in opening the CMakeLists.txt in QT.

I get.
Running /Users/jerry/Qt/Tools/CMake/CMake.app/Contents/bin/cmake -S /Volumes/Data_Raid/kstars_dev/src-forked/kstars -B /private/var/folders/2j/rl4qjhx13tj22xnht5hhzwrw0000gn/T/QtCreator-SSiACh/qtc-cmake-HSzmudjE -GNinja -DCMAKE_BUILD_TYPE:String=Debug -DQT_QMAKE_EXECUTABLE:STRING=/Users/jerry/Qt/5.15.2/clang_64/bin/qmake -DCMAKE_PREFIX_PATH:STRING=/Users/jerry/Qt/5.15.2/clang_64 -DCMAKE_C_COMPILER:STRING=/usr/bin/clang -DCMAKE_CXX_COMPILER:STRING=/usr/bin/clang++ in /private/var/folders/2j/rl4qjhx13tj22xnht5hhzwrw0000gn/T/QtCreator-SSiACh/qtc-cmake-HSzmudjE.
-- The CXX compiler identification is AppleClang 12.0.0.12000032
-- The C compiler identification is AppleClang 12.0.0.12000032
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:64 (find_package):
  Could not find a package configuration file provided by "ECM" (requested
  version 1.7.0) with any of the following names:
 
    ECMConfig.cmake
    ecm-config.cmake
 
  Add the installation prefix of "ECM" to CMAKE_PREFIX_PATH or set "ECM_DIR"
  to a directory containing one of the above files.  If "ECM" provides a
  separate development package or SDK, be sure it has been installed.
 
 
-- Configuring incomplete, errors occurred!

I see a file at: /Volumes/Data_Raid/kstars_dev/ASTRO-ROOT/share/ECM/cmake/ECMConfig.cmake

but I'm not sure what the problem is at the moment.

Sorry Rob, if this is more work than it might benefit.

Cheers
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2+PPBA
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04.4 2) StellarMate RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/
1 year 10 months ago #63346

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

  • Posts: 2800
  • Thank you received: 786

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

Right Jerry, the reason I made the repo and script is because it is incredibly hard to get everything all set up and working starting from scratch, a huge uphill battle. So the idea is that I set up the script so that you can run it, all the hard parts of the setup are done for you, and then you can follow the instructions in the repo to setup qt creator to go ahead and use it. That way you can get all setup to make useful contributions to KStars and INDI without having to deal with all the setup crap.

Based on what you posted, if you are trying to follow my instructions in qt creator to get it set up, I expect you didn’t select the build directory where it is already all setup for you.
1 year 10 months ago #63354

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

  • Posts: 2800
  • Thank you received: 786
1 year 10 months ago #63355

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

  • Posts: 2800
  • Thank you received: 786

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

For anybody who was waiting for it, the OS X build error in INDI with endian.h was just fixed by the author of the change, so it should be all good now
1 year 10 months ago #63366

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

  • Posts: 170
  • Thank you received: 28

Replied by Joaquin on topic Kstars 3.5.0 OSx

@rlancaste There is a limitation on the number of url links you can have in a post
Celestron AVX
Celestron SCT 8” Edge HD, Primaluce ESATTO
TS Optics Photoline 80mm f/6 FPL53 Triplet-Apo, Primaluce SESTO SENSO 2
Celestron OAG, Lodestar X2 guide
Pegasus PowerBox Advanced
Stellarmate Gadget
AstroPhotography Tool (APT)
Nikon D90
Last edit: 1 year 10 months ago by Joaquin.
1 year 10 months ago #63368

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

  • Posts: 2800
  • Thank you received: 786

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

Oh I see, do you know what that limit is?
1 year 10 months ago #63370

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

  • Posts: 170
  • Thank you received: 28

Replied by Joaquin on topic Kstars 3.5.0 OSx

Not sure, it was something about six
Celestron AVX
Celestron SCT 8” Edge HD, Primaluce ESATTO
TS Optics Photoline 80mm f/6 FPL53 Triplet-Apo, Primaluce SESTO SENSO 2
Celestron OAG, Lodestar X2 guide
Pegasus PowerBox Advanced
Stellarmate Gadget
AstroPhotography Tool (APT)
Nikon D90
1 year 10 months ago #63371

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

Time to create page: 0.472 seconds