×

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

Bi-monthly release with minor bug fixes and improvements

Working on PHD2 support

  • Posts: 224
  • Thank you received: 14

Replied by Teseo on topic Re:Working on PHD2 support

Thanks for your work, i search to compile only receive this error:
...
/opt/Astronomia/indi_ekos_build/Projects/kstars/kstars/auxiliary/nonlineardoublespinbox.cpp: In constructor ‘NonLinearDoubleSpinBox::NonLinearDoubleSpinBox(QWidget*)’:
/opt/Astronomia/indi_ekos_build/Projects/kstars/kstars/auxiliary/nonlineardoublespinbox.cpp:19:19: error: ‘QOverload’ was not declared in this scope
connect(this, QOverload<double>::of(&QDoubleSpinBox::valueChanged),[=](double d){ _idx = _values.indexOf(
^
/opt/Astronomia/indi_ekos_build/Projects/kstars/kstars/auxiliary/nonlineardoublespinbox.cpp:19:29: error: expected primary-expression before ‘double’
connect(this, QOverload<double>::of(&QDoubleSpinBox::valueChanged),[=](double d){ _idx = _values.indexOf(
^
kstars/CMakeFiles/KStarsLib.dir/build.make:5353: set di istruzioni per l'obiettivo "kstars/CMakeFiles/KStarsLib.dir/auxiliary/nonlineardoublespinbox.cpp.o" non riuscito
make[2]: *** [kstars/CMakeFiles/KStarsLib.dir/auxiliary/nonlineardoublespinbox.cpp.o] Errore 1
make[2]: *** Attesa per i processi non terminati....
CMakeFiles/Makefile2:335: set di istruzioni per l'obiettivo "kstars/CMakeFiles/KStarsLib.dir/all" non riuscito
make[1]: *** [kstars/CMakeFiles/KStarsLib.dir/all] Errore 2
Makefile:138: set di istruzioni per l'obiettivo "all" non riuscito
...
6 years 3 months ago #22103

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

  • Posts: 474
  • Thank you received: 168
This seems to be a Qt version issue, on my x64 Ubuntu 17.10 with Qt 5.9.1 it compiles, but on Raspberry Pi Ubuntu 16.04 with Qt 5.5.1 I get this same error.
The following user(s) said Thank You: Teseo
6 years 3 months ago #22118

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

  • Posts: 2877
  • Thank you received: 812
More than likely it is a compiler specific issue with the way the method was declared. I can ask Jasem what needs to be changed.
6 years 3 months ago #22119

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

  • Posts: 2877
  • Thank you received: 812
No jpaana is correct. I just googled it. It does appear to be a QT version issue. Maybe we can change the code slightly and make it work with older qt versions.
6 years 3 months ago #22120

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

Can you pull and try again?
The following user(s) said Thank You: Teseo
6 years 3 months ago #22127

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

  • Posts: 474
  • Thank you received: 168
Compiles now on both my systems, thanks!
6 years 3 months ago #22132

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

  • Posts: 2877
  • Thank you received: 812
Awesome! Now you can test the PHD2 stuff. . . ;-)
6 years 3 months ago #22133

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

  • Posts: 2877
  • Thank you received: 812
I just worked on a 3D star profile today.

see what you think.


The following user(s) said Thank You: Jasem Mutlaq, Gonzothegreat, Teseo, Jarno Paananen, Greg, Stephen, Jim
6 years 3 months ago #22134
Attachments:

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

  • Posts: 474
  • Thank you received: 168
Looks nice, unfortunately not straight forward to test on Ubuntu due to the libqt5datavisualization5 module not being packaged even in 17.10 (bugs.launchpad.net/ubuntu/+bug/1727617).
6 years 3 months ago #22139

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

  • Posts: 224
  • Thank you received: 14

Replied by Teseo on topic Working on PHD2 support

@knro
Thanks now compile ok.
6 years 3 months ago #22140

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


Yeah most likely this would be for those on 18.04+

EDIT: It's not even in 18.04 when I checked today.. so I commented on this bug. Those who have Launchpad account please login and comment as well so it brings more attention to this.
Last edit: 6 years 3 months ago by Jasem Mutlaq.
6 years 3 months ago #22142

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

  • Posts: 105
  • Thank you received: 30
Built kstars from source last night and spent the evening guiding with EKOS/PHD2 and it worked really well - I appreciate the improvements you've made!
6 years 3 months ago #22210

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

Time to create page: 0.919 seconds