Menu

#60 Compiling indi_qhy_ccd fails

1.2.X
wont-fix
nobody
None
1
2016-02-11
2015-01-21
No

Seems like libqhy has removed some parameters from SetQHYCCDResolution but the driver wasn't updated accordingly. I am installing both libqhy and qhy driver from SVN.

Scanning dependencies of target indi_qhy_ccd
make[2]: Leaving directory '/var/tmp/portage/sci-libs/indilib-driver-qhy-9999/work/indilib-driver-qhy-9999_build'
make -f CMakeFiles/indi_qhy_ccd.dir/build.make CMakeFiles/indi_qhy_ccd.dir/build
make[2]: Entering directory '/var/tmp/portage/sci-libs/indilib-driver-qhy-9999/work/indilib-driver-qhy-9999_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/sci-libs/indilib-driver-qhy-9999/work/indilib-driver-qhy-9999_build/CMakeFiles 1
[100%] Building CXX object CMakeFiles/indi_qhy_ccd.dir/qhy_ccd.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DNDEBUG -march=amdfam10 -O2 -pipe -ggdb -I/var/tmp/portage/sci-libs/indilib-driver-qhy-9999/work/indilib-driver-qhy-9999_build -I/var/tmp/portage/sci-libs/indilib-driver-qhy-9999/work/indilib-driver-qhy-9999 -I/usr/include/libindi -I/usr/include/libqhyccd -o CMakeFiles/indi_qhy_ccd.dir/qhy_ccd.o -c /var/tmp/portage/sci-libs/indilib-driver-qhy-9999/work/indilib-driver-qhy-9999/qhy_ccd.cpp
/var/tmp/portage/sci-libs/indilib-driver-qhy-9999/work/indilib-driver-qhy-9999/qhy_ccd.cpp: In member function ‘virtual bool QHYCCD::StartExposure(float)’:
/var/tmp/portage/sci-libs/indilib-driver-qhy-9999/work/indilib-driver-qhy-9999/qhy_ccd.cpp:638:79: error: too many arguments to function ‘int SetQHYCCDResolution(qhyccd_handle, int, int)’
ret = SetQHYCCDResolution(camhandle,camroix,camroiy,camroiwidth,camroiheight);
^
In file included from /var/tmp/portage/sci-libs/indilib-driver-qhy-9999/work/indilib-driver-qhy-9999/qhy_ccd.h:29:0,
from /var/tmp/portage/sci-libs/indilib-driver-qhy-9999/work/indilib-driver-qhy-9999/qhy_ccd.cpp:28:
/usr/include/libqhyccd/qhyccd.h:183:5: note: declared here
int SetQHYCCDResolution(qhyccd_handle
handle,int width,int height);
^
/var/tmp/portage/sci-libs/indilib-driver-qhy-9999/work/indilib-driver-qhy-9999/qhy_ccd.cpp: In member function ‘virtual bool QHYCCD::AbortExposure()’:
/var/tmp/portage/sci-libs/indilib-driver-qhy-9999/work/indilib-driver-qhy-9999/qhy_ccd.cpp:668:51: error: ‘CancelQHYCCDExposingAndReadout’ was not declared in this scope
ret = CancelQHYCCDExposingAndReadout(camhandle);
^
CMakeFiles/indi_qhy_ccd.dir/build.make:54: recipe for target 'CMakeFiles/indi_qhy_ccd.dir/qhy_ccd.o' failed
make[2]: *** [CMakeFiles/indi_qhy_ccd.dir/qhy_ccd.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/sci-libs/indilib-driver-qhy-9999/work/indilib-driver-qhy-9999_build'
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/indi_qhy_ccd.dir/all' failed
make[1]: *** [CMakeFiles/indi_qhy_ccd.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/sci-libs/indilib-driver-qhy-9999/work/indilib-driver-qhy-9999_build'
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2

Discussion

  • Jasem Mutlaq

    Jasem Mutlaq - 2015-01-22

    I am aware of this, we are waiting for QHY to push their new code.

     
  • Peter Strapp

    Peter Strapp - 2015-02-05

    Have you been in contact with QHY? Do you know whether they intend to update their repo soon as their last commit was 6 months ago. If not I'll put some time into finding a work around.

     
  • Jasem Mutlaq

    Jasem Mutlaq - 2015-02-09
    • status: open --> wont-fix
     

Log in to post a comment.

MongoDB Logo MongoDB