Welcome, Guest
Username: Password: Remember me
20 Aug 2017
INDI development team is happy to announce the release of INDI Library v1.5.0. This new exciting release builds on the maturity of INDI Library and comes with many new supported devices and fixes for existing drivers.
Read More...
  • Page:
  • 1

TOPIC: qhy compiling issues

qhy compiling issues 1 year 3 weeks ago #10445

  • djibb
  • djibb's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 47
  • Thank you received: 2
Hi guys... I have an issue in compiling qhy driver :
odroid@odroid32:~/indi-git/3rdparty/indi-qhy$ cd ../libqhy/
odroid@odroid32:~/indi-git/3rdparty/libqhy$ cmake -DCMAKE_INSTALL_PREFIX=/usr
running cp /home/odroid/indi-git/3rdparty/libqhy/libqhy_armv8.bin /home/odroid/indi-git/3rdparty/libqhy/libqhy.so.0.1.8 2>&1
-- Configuring done
-- Generating done
-- Build files have been written to: /home/odroid/indi-git/3rdparty/libqhy
odroid@odroid32:~/indi-git/3rdparty/libqhy$ make
odroid@odroid32:~/indi-git/3rdparty/libqhy$ sudo make install
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/include/libqhy/qhyccd.h
-- Up-to-date: /usr/include/libqhy/qhyccdcamdef.h
-- Up-to-date: /usr/include/libqhy/qhyccderr.h
-- Up-to-date: /usr/include/libqhy/qhyccdstruct.h
-- Up-to-date: /usr/include/libqhy/log4z.h
-- Installing: /usr/lib/libqhy.so.0.1.8
-- Up-to-date: /lib/udev/rules.d/85-qhy.rules
-- Up-to-date: /lib/firmware/qhy/QHY290.img
-- Up-to-date: /lib/firmware/qhy/QHY10.HEX
-- Up-to-date: /lib/firmware/qhy/POLEMASTER.HEX
-- Up-to-date: /lib/firmware/qhy/QHY8PRO.HEX
-- Up-to-date: /lib/firmware/qhy/QHY29.HEX
-- Up-to-date: /lib/firmware/qhy/IMG0H.HEX
-- Up-to-date: /lib/firmware/qhy/QHY6.HEX
-- Up-to-date: /lib/firmware/qhy/QHY5II.HEX
-- Up-to-date: /lib/firmware/qhy/QHY28.HEX
-- Up-to-date: /lib/firmware/qhy/QHY8M.HEX
-- Up-to-date: /lib/firmware/qhy/QHY8L.HEX
-- Up-to-date: /lib/firmware/qhy/QHY5III224.img
-- Up-to-date: /lib/firmware/qhy/QHY163.img
-- Up-to-date: /lib/firmware/qhy/QHY16200A.HEX
-- Up-to-date: /lib/firmware/qhy/QHY15.HEX
-- Up-to-date: /lib/firmware/qhy/QHY2.HEX
-- Up-to-date: /lib/firmware/qhy/QHY224.img
-- Up-to-date: /lib/firmware/qhy/QHY5III290.img
-- Up-to-date: /lib/firmware/qhy/IC16200A.HEX
-- Up-to-date: /lib/firmware/qhy/QHY183.img
-- Up-to-date: /lib/firmware/qhy/miniCam5.HEX
-- Up-to-date: /lib/firmware/qhy/QHY23.HEX
-- Up-to-date: /lib/firmware/qhy/IMG2P.HEX
-- Up-to-date: /lib/firmware/qhy/QHY11.HEX
-- Up-to-date: /lib/firmware/qhy/IC8300.HEX
-- Up-to-date: /lib/firmware/qhy/QHY27.HEX
-- Up-to-date: /lib/firmware/qhy/QHY160002AD.HEX
-- Up-to-date: /lib/firmware/qhy/IMG50.HEX
-- Up-to-date: /lib/firmware/qhy/QHY21.HEX
-- Up-to-date: /lib/firmware/qhy/IMG2S.HEX
-- Up-to-date: /lib/firmware/qhy/QHY8.HEX
-- Up-to-date: /lib/firmware/qhy/QHY814A.HEX
-- Up-to-date: /lib/firmware/qhy/QHY5.HEX
-- Up-to-date: /lib/firmware/qhy/IC90A.HEX
-- Up-to-date: /lib/firmware/qhy/QHY12.HEX
-- Up-to-date: /lib/firmware/qhy/QHY20.HEX
-- Up-to-date: /lib/firmware/qhy/QHY16000.HEX
-- Up-to-date: /lib/firmware/qhy/QHY695A.HEX
-- Up-to-date: /lib/firmware/qhy/QHY2E.HEX
-- Up-to-date: /lib/firmware/qhy/QHY5III185.img
-- Up-to-date: /lib/firmware/qhy/QHY7.HEX
-- Up-to-date: /lib/firmware/qhy/QHY5III178.img
-- Up-to-date: /lib/firmware/qhy/IC16803.HEX
-- Up-to-date: /lib/firmware/qhy/QHY90A.HEX
-- Up-to-date: /lib/firmware/qhy/QHY16.HEX
-- Up-to-date: /lib/firmware/qhy/QHY5III174.img
-- Up-to-date: /lib/firmware/qhy/QHY174.img
-- Up-to-date: /lib/firmware/qhy/QHY22.HEX
-- Up-to-date: /lib/firmware/qhy/QHY9S.HEX
-- Up-to-date: /lib/firmware/qhy/QHY2PRO.HEX
-- Up-to-date: /lib/firmware/qhy/QHY5LOADER.HEX
-- Up-to-date: /lib/firmware/qhy/QHY178.img
running /usr/bin/cmake -E create_symlink /usr/lib/libqhy.so.0.1.8 /usr/lib/libqhy.so.0 2>&1
running /usr/bin/cmake -E create_symlink /usr/lib/libqhy.so.0 /usr/lib/libqhy.so 2>&1
odroid@odroid32:~/indi-git/3rdparty/libqhy$ cd ../indi-qhy/
odroid@odroid32:~/indi-git/3rdparty/indi-qhy$ cmake -DCMAKE_INSTALL_PREFIX=/usr
-- Found CFITSIO: /usr/lib/arm-linux-gnueabihf/libcfitsio.so
-- Found INDI: /usr/lib/arm-linux-gnueabihf/libindi.so
-- Found libqhy: /usr/lib/libqhy.so
-- Found libusb-1.0:
-- - Includes: /usr/include/libusb-1.0
-- - Libraries: /usr/lib/arm-linux-gnueabihf/libusb-1.0.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/odroid/indi-git/3rdparty/indi-qhy
odroid@odroid32:~/indi-git/3rdparty/indi-qhy$ make
Linking CXX executable indi_qhy_ccd
/usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../libqhy.so: file not recognized: Format de fichier non reconnu
collect2: error: ld returned 1 exit status
CMakeFiles/indi_qhy_ccd.dir/build.make:89: recipe for target 'indi_qhy_ccd' failed
make[2]: *** [indi_qhy_ccd] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/indi_qhy_ccd.dir/all' failed
make[1]: *** [CMakeFiles/indi_qhy_ccd.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
odroid@odroid32:~/indi-git/3rdparty/indi-qhy$ sudo make install
Linking CXX executable indi_qhy_ccd
/usr/lib/gcc/arm-linux-gnueabihf/4.9/../../../libqhy.so: file not recognized: Format de fichier non reconnu
collect2: error: ld returned 1 exit status
CMakeFiles/indi_qhy_ccd.dir/build.make:89: recipe for target 'indi_qhy_ccd' failed
make[2]: *** [indi_qhy_ccd] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/indi_qhy_ccd.dir/all' failed
make[1]: *** [CMakeFiles/indi_qhy_ccd.dir/all] Error 2
Makefile:117: recipe for target 'all' failed
make: *** [all] Error 2
odroid@odroid32:~/indi-git/3rdparty/indi-qhy$

Does anyone an idea ?

JB

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

qhy compiling issues 1 year 3 weeks ago #10447

From Odroid32, I assume this is a 32bit Odroid? If yes, use the libqhy_armv6.bin, somehow the script detected it's running armv8, So
sudo cp /home/odroid/indi-git/3rdparty/libqhy/libqhy_armv6.bin /home/odroid/indi-git/3rdparty/libqhy/libqhy.so.0.1.8 2>&1

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

Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
  • Page:
  • 1
Time to create page: 0.106 seconds

Login

3rd Party

Choose from the numerous 3rd party INDI drivers to suit your needs!

Got Problem?

Check out the FAQ, the forum, and the bug tracking system to resolve any issues you might have!
You can also subscribe to INDI newsletter and development mailing lists to get the latest updates on INDI!


Gallery

Replica

Why INDI

Replica