×

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

Bi-monthly release with minor bug fixes and improvements

Kstars 3.5.0 OSx

  • Posts: 2876
  • Thank you received: 809

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.
3 years 4 months ago #63340

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

  • Posts: 2876
  • Thank you received: 809

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.
3 years 4 months ago #63341

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

  • Posts: 2876
  • Thank you received: 809

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
3 years 4 months ago #63342

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

  • Posts: 2876
  • Thank you received: 809

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.
3 years 4 months ago #63343

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

  • Posts: 459
  • Thank you received: 69

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
3 years 4 months ago #63346

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

  • Posts: 2876
  • Thank you received: 809

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.
3 years 4 months ago #63354

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

  • Posts: 2876
  • Thank you received: 809
3 years 4 months ago #63355

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

  • Posts: 2876
  • Thank you received: 809

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
3 years 4 months ago #63366

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

  • Posts: 180
  • Thank you received: 30

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
Last edit: 3 years 4 months ago by Joaquin.
3 years 4 months ago #63368

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

  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

Oh I see, do you know what that limit is?
3 years 4 months ago #63370

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

  • Posts: 180
  • Thank you received: 30

Replied by Joaquin on topic Kstars 3.5.0 OSx

Not sure, it was something about six
3 years 4 months ago #63371

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

  • Posts: 2876
  • Thank you received: 809

Replied by Rob Lancaster on topic Kstars 3.5.0 OSx

Ok, I will try to limit links to 5 or less in a post. Thanks!

Also, do you know why it didn't give me some sort of error message? it also didn't give me one when I entered the wrong password.
3 years 4 months ago #63372

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

Time to create page: 5.607 seconds