<div dir="ltr">Hello Rhys,<div><br></div><div>Can you try the Git source and see if you still have this issue?</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Best Regards,<br>Jasem Mutlaq<br></div><div><br></div></div></div></div>
<br><div class="gmail_quote">On Fri, Aug 3, 2018 at 6:04 PM, Rhys Morris <span dir="ltr"><<a href="mailto:R.Morris@bristol.ac.uk" target="_blank">R.Morris@bristol.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi kstars devels,<br>
<br>
I wand to try out Ekos, so I'm trying to build kstars 2.9.7 from source on Scientific Linux 7 (which is almost identical to Centos7 and RedHat Enterprise Linux7). I have installed a load of dependencies and built the most recent libindi. Cmake (or in my case cmake3 )runs fine, but make fails as below. I can provide more lines if required.<br>
<br>
Any suggestions how to get past this would be gratefully received.<br>
Regards,<br>
Rhys<br>
<br>
/usr/include/qt5/QtCore/<wbr>qobject.h:265:13: note: template argument deduction/substitution failed:<br>
/usr/local/kstars-2.9.7/<wbr>kstars/ekos/ekosmanager.cpp:<wbr>1948:140: note: candidate expects 3 arguments, 4 provided<br>
connect(alignProcess.get(), &Ekos::Align::<wbr>newCorrectionVector, ekosLiveClient.get()->media(), &EkosLive::Media::<wbr>setCorrectionVector);<br>
^<br>
In file included from /usr/include/qt5/QtCore/<wbr>qvariant.h:51:0,<br>
from /usr/include/qt5/QtCore/<wbr>QVariant:1,<br>
from /usr/local/kstars-2.9.7/build/<wbr>kstars/ui_ekosmanager.h:14,<br>
from /usr/local/kstars-2.9.7/<wbr>kstars/ekos/ekosmanager.h:19,<br>
from /usr/local/kstars-2.9.7/<wbr>kstars/ekos/ekosmanager.cpp:<wbr>10:<br>
/usr/include/qt5/QtCore/<wbr>qobject.h:274:13: note: template<class Func1, class Func2> static typename std::enable_if<(((int)(<wbr>QtPrivate::FunctionPointer<<wbr>Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<<wbr>Func2>::<wbr>IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<<wbr>Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)<br>
connect(const typename QtPrivate::FunctionPointer<<wbr>Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,<br>
^<br>
/usr/include/qt5/QtCore/<wbr>qobject.h:274:13: note: template argument deduction/substitution failed:<br>
/usr/include/qt5/QtCore/<wbr>qobject.h: In substitution of ‘template<class Func1, class Func2> static typename std::enable_if<(((int)(<wbr>QtPrivate::FunctionPointer<<wbr>Func2>::ArgumentCount) >= 0) && (! QtPrivate::FunctionPointer<<wbr>Func2>::<wbr>IsPointerToMemberFunction)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<<wbr>Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) [with Func1 = void (Ekos::Align::*)(QLineF); Func2 = void (EkosLive::Media::*)(QLineF)]’<wbr>:<br>
/usr/local/kstars-2.9.7/<wbr>kstars/ekos/ekosmanager.cpp:<wbr>1948:140: required from here<br>
/usr/include/qt5/QtCore/<wbr>qobject.h:274:13: error: no type named ‘type’ in ‘struct std::enable_if<false, QMetaObject::Connection>’<br>
/usr/include/qt5/QtCore/<wbr>qobject.h:305:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::<wbr>FunctionPointer<Func2>::<wbr>ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<<wbr>Func>::Object*, Func1, Func2)<br>
connect(const typename QtPrivate::FunctionPointer<<wbr>Func1>::Object *sender, Func1 signal, Func2 slot)<br>
^<br>
/usr/include/qt5/QtCore/<wbr>qobject.h:305:13: note: template argument deduction/substitution failed:<br>
/usr/local/kstars-2.9.7/<wbr>kstars/ekos/ekosmanager.cpp:<wbr>1948:140: note: candidate expects 3 arguments, 4 provided<br>
connect(alignProcess.get(), &Ekos::Align::<wbr>newCorrectionVector, ekosLiveClient.get()->media(), &EkosLive::Media::<wbr>setCorrectionVector);<br>
^<br>
In file included from /usr/include/qt5/QtCore/<wbr>qvariant.h:51:0,<br>
from /usr/include/qt5/QtCore/<wbr>QVariant:1,<br>
from /usr/local/kstars-2.9.7/build/<wbr>kstars/ui_ekosmanager.h:14,<br>
from /usr/local/kstars-2.9.7/<wbr>kstars/ekos/ekosmanager.h:19,<br>
from /usr/local/kstars-2.9.7/<wbr>kstars/ekos/ekosmanager.cpp:<wbr>10:<br>
/usr/include/qt5/QtCore/<wbr>qobject.h:313:13: note: template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::<wbr>FunctionPointer<Func2>::<wbr>ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<<wbr>Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType)<br>
connect(const typename QtPrivate::FunctionPointer<<wbr>Func1>::Object *sender, Func1 signal, const QObject *context, Func2 slot,<br>
^<br>
/usr/include/qt5/QtCore/<wbr>qobject.h:313:13: note: template argument deduction/substitution failed:<br>
/usr/include/qt5/QtCore/<wbr>qobject.h: In substitution of ‘template<class Func1, class Func2> static typename std::enable_if<(QtPrivate::<wbr>FunctionPointer<Func2>::<wbr>ArgumentCount == (-1)), QMetaObject::Connection>::type QObject::connect(const typename QtPrivate::FunctionPointer<<wbr>Func>::Object*, Func1, const QObject*, Func2, Qt::ConnectionType) [with Func1 = void (Ekos::Align::*)(QLineF); Func2 = void (EkosLive::Media::*)(QLineF)]’<wbr>:<br>
/usr/local/kstars-2.9.7/<wbr>kstars/ekos/ekosmanager.cpp:<wbr>1948:140: required from here<br>
/usr/include/qt5/QtCore/<wbr>qobject.h:313:13: error: no type named ‘type’ in ‘struct std::enable_if<false, QMetaObject::Connection>’<br>
make[2]: *** [kstars/CMakeFiles/KStarsLib.<wbr>dir/ekos/ekosmanager.cpp.o] Error 1<br>
make[1]: *** [kstars/CMakeFiles/KStarsLib.<wbr>dir/all] Error 2<br>
make: *** [all] Error 2<br>
<br>
<br>
<br>
------------------------------<wbr>--------------<br>
Rhys Morris<br>
Bristol Astrophysics Group and<br>
Zone D, Astrophysics/Unix Support Specialist<br>
Room 4.13, HH Wills Physics Lab<br>
University of Bristol<br>
Telephone: 0117 39 41777<br>
<a href="mailto:R.Morris@bristol.ac.uk">R.Morris@bristol.ac.uk</a><br>
------------------------------<wbr>--------------<br>
<br>
</blockquote></div><br></div>