×

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

Bi-monthly release with minor bug fixes and improvements

Latest build 14-12-14 - cant connect to qhy5

  • Posts: 158
  • Thank you received: 2
- Titan if I am not wrong :)
9 years 4 months ago #2421

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

  • Posts: 17
  • Thank you received: 0
So, have the same problem with my Orion SSAG. I downloaded the 3rdparty drivers source and found no indi-qhy-old, just indi-qhy, when i try to build it, i get this:
obscontrol:~/libindi_3rdparty_0.9.9/indi-qhy$ cmake .
-- The CXX compiler identification is GNU 4.8.2
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found CFITSIO 3.34: /usr/lib/x86_64-linux-gnu/libcfitsio.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") 
-- checking for module 'libindi'
--   found libindi, version 0.9.9
-- Found INDI: /usr/include/libindi (found version "0.9.9") 
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") 
-- Found libusb-1.0:
--  - Includes: /usr/include/libusb-1.0
--  - Libraries: /usr/lib/x86_64-linux-gnu/libusb-1.0.so
-- Performing Test ERROR_NAME_COMPILE
-- Performing Test ERROR_NAME_COMPILE - Success
-- Configuring done
-- Generating done
-- Build files have been written to: ~/libindi_3rdparty_0.9.9/indi-qhy
obscontrol:~/libindi_3rdparty_0.9.9/indi-qhy$ make
Scanning dependencies of target indi_qhy_ccd
[ 10%] Building CXX object CMakeFiles/indi_qhy_ccd.dir/qhyccd.o
~/libindi_3rdparty_0.9.9/indi-qhy/qhyccd.cpp: In member function ‘virtual bool QHYCCD::initProperties()’:
~/libindi_3rdparty_0.9.9/indi-qhy/qhyccd.cpp:158:3: error: ‘Capability’ was not declared in this scope
   Capability cap;
   ^
~/libindi_3rdparty_0.9.9/indi-qhy/qhyccd.cpp:158:14: error: expected ‘;’ before ‘cap’
   Capability cap;
              ^
~/libindi_3rdparty_0.9.9/indi-qhy/qhyccd.cpp:160:3: error: ‘cap’ was not declared in this scope
   cap.canAbort = true;
   ^
~/libindi_3rdparty_0.9.9/indi-qhy/qhyccd.cpp:168:21: error: ‘SetCapability’ was not declared in this scope
   SetCapability(&cap);
                     ^
make[2]: *** [CMakeFiles/indi_qhy_ccd.dir/qhyccd.o] Error 1
make[1]: *** [CMakeFiles/indi_qhy_ccd.dir/all] Error 2
make: *** [all] Error 2

This is with gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) btw. Any ideas on what is going wrong here?
9 years 3 months ago #2557

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

indi-qhy-old is in subverison
svn co svn://svn.code.sf.net/p/indi/code/trunk/3rdparty/indi-qhy-old
cd indi-qhy-old
cmake -DCMAKE_INSTALL_PREFIX=/usr .
sudo make install
The following user(s) said Thank You: Parser
9 years 3 months ago #2558

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

  • Posts: 31
  • Thank you received: 2
Hi!
Is the new qhy5 driver for the qhy5-II by any chanse since its not working with the old qhy5?
Erland
9 years 3 months ago #2559

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

  • Posts: 17
  • Thank you received: 0
That did the trick \o/
9 years 3 months ago #2560

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

  • Posts: 4
  • Thank you received: 0
Hi there.

I just tryed your suggestion, but I get exact the same error as wirh the "officiel" driver, when I, as root, write

# make install.

Looks like I got the officiel package, from the old directory, or what.

Any suggestion?
9 years 3 months ago #2568

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

  • Posts: 17
  • Thank you received: 0
Did you try KNRO's suggestion above and download the indi-qhy-old source from SVN ?

As posted:
svn co svn://svn.code.sf.net/p/indi/code/trunk/3rdparty/indi-qhy-old
cd indi-qhy-old
cmake -DCMAKE_INSTALL_PREFIX=/usr .
sudo make install

If not, post what happens after "sudo make install", otherwise it's hard to know what your issue is.
Last edit: 9 years 3 months ago by Parser. Reason: added followup step
9 years 3 months ago #2570

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

  • Posts: 4
  • Thank you received: 0
Hi and thanks for quick reply

I did exatly what he suggested, and got exact the same error as with the "officiel" driver.

Would you like the output here ?
9 years 3 months ago #2571

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

  • Posts: 17
  • Thank you received: 0
that would help i think yes.
9 years 3 months ago #2572

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

  • Posts: 4
  • Thank you received: 0
OK Here is the output:

indi-qhy-old# make install
[ 10%] Building CXX object CMakeFiles/indi_qhy_ccd.dir/qhyccd.o
In file included from /home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:33:0:
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.h:55:10: error: conflicting return type specified for ‘virtual bool QHYCCD::StartExposure(float)’
In file included from /home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.h:31:0,
from /home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:33:
/usr/include/libindi/indiccd.h:144:21: error: overriding ‘virtual int INDI::CCD::StartExposure(float)’
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp: In constructor ‘QHYCCD::QHYCCD(QHYDevice*)’:
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:143:42: error: ‘setVersion’ was not declared in this scope
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp: In member function ‘virtual bool QHYCCD::initProperties()’:
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:166:55: error: ‘getDeviceName’ was not declared in this scope
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:169:3: error: ‘CCDCapability’ was not declared in this scope
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:169:17: error: expected ‘;’ before ‘cap’
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:171:3: error: ‘cap’ was not declared in this scope
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:179:24: error: ‘SetCCDCapability’ was not declared in this scope
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp: In member function ‘bool QHYCCD::UpdateCCDBin(int, int)’:
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:203:29: error: ‘getDeviceName’ was not declared in this scope
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp: In member function ‘virtual void QHYCCD::TimerHit()’:
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:239:16: error: ‘class CCDChip’ has no member named ‘setExposureLeft’
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp: In member function ‘virtual bool QHYCCD::StartExposure(float)’:
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:246:14: error: ‘class CCDChip’ has no member named ‘setExposureDuration’
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp: In member function ‘virtual bool QHYCCD::AbortExposure()’:
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:261:16: error: ‘class CCDChip’ has no member named ‘setExposureLeft’
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp: In member function ‘void QHYCCD::ExposureTimerHit()’:
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:274:16: error: ‘class CCDChip’ has no member named ‘setExposureLeft’
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:276:36: error: no matching function for call to ‘QHYCCD::ExposureComplete(CCDChip*)’
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:276:36: note: candidate is:
In file included from /home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.h:31:0,
from /home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:33:
/usr/include/libindi/indiccd.h:149:22: note: virtual bool INDI::CCD::ExposureComplete()
/usr/include/libindi/indiccd.h:149:22: note: candidate expects 0 arguments, 1 provided
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp: In member function ‘virtual bool QHYCCD::GuideWest(float)’:
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:281:19: error: ‘HasST4Port’ was not declared in this scope
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp: In member function ‘virtual bool QHYCCD::GuideEast(float)’:
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:288:19: error: ‘HasST4Port’ was not declared in this scope
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp: In member function ‘virtual bool QHYCCD::GuideNorth(float)’:
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:295:19: error: ‘HasST4Port’ was not declared in this scope
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp: In member function ‘virtual bool QHYCCD::GuideSouth(float)’:
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:302:19: error: ‘HasST4Port’ was not declared in this scope
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp: In member function ‘virtual bool QHYCCD::ISNewNumber(const char*, const char*, double*, char**, int)’:
/home/hk/Hentninger/astro/indi.old/indi-qhy-old/qhyccd.cpp:318:34: error: ‘getDeviceName’ was not declared in this scope
make[2]: *** [CMakeFiles/indi_qhy_ccd.dir/qhyccd.o] Fejl 1
make[1]: *** [CMakeFiles/indi_qhy_ccd.dir/all] Fejl 2
make: *** [all] Fejl 2
indi-qhy-old#
9 years 3 months ago #2573

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

You need the latest libindi from SVN from build indi-qhy-old, first compile and install libindi from SVN then compile indi-qhy-old
9 years 3 months ago #2574

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

  • Posts: 4
  • Thank you received: 0


I do believe I did that, but now I am unsure.

How do I check that I did it correct.

By the way, happy new eyar :)
9 years 3 months ago #2575

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

Time to create page: 1.279 seconds