Code Monkey home page Code Monkey logo

Comments (9)

GreatAttractor avatar GreatAttractor commented on June 3, 2024

Is it a crash or rather a compile error? Currently v0.7.0 will fail with incomplete type ‘QButtonGroup’. Use the latest master instead (I have just successfully built it on RPi 3B under Fedora 29). Clone it with git or just go to https://github.com/GuLinux/PlanetaryImager, click "Clone or download" and use "Download ZIP".

from planetaryimager.

Astrojul avatar Astrojul commented on June 3, 2024

Thanks for your comments but I have a crash at 64% always on the same cpp

from planetaryimager.

Astrojul avatar Astrojul commented on June 3, 2024

I have the following issue:

[ 64%] Building CXX object src/CMakeFiles/planetary_imager.dir/planetaryimager_mainwindow.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See file:///usr/share/doc/gcc-7/README.Bugs for instructions.
src/CMakeFiles/planetary_imager.dir/build.make:86: recipe for target 'src/CMakeFiles/planetary_imager.dir/planetaryimager_mainwindow.cpp.o' failed
make[2]: *** [src/CMakeFiles/planetary_imager.dir/planetaryimager_mainwindow.cpp.o] Error 4
CMakeFiles/Makefile2:345: recipe for target 'src/CMakeFiles/planetary_imager.dir/all' failed
make[1]: *** [src/CMakeFiles/planetary_imager.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2
astrojul@astrojul-desktop:~/build$

from planetaryimager.

GreatAttractor avatar GreatAttractor commented on June 3, 2024

Interesting! If it was happening at random, I'd suspect maybe a power supply issue, but if it's the same file every time, could be an actual compiler bug.

I'm looking at Ubuntu images at https://wiki.ubuntu.com/ARM/RaspberryPi, are you using the "ARM64 for Raspberry Pi 3B/3B+" one? (I have a RPi 3B+.)

from planetaryimager.

Astrojul avatar Astrojul commented on June 3, 2024

Hello, yes I have the Raspberry Pi 3B+ with the ubuntu mate version 18.04.2 bionic for the ARMv8 64-bit.

from planetaryimager.

Astrojul avatar Astrojul commented on June 3, 2024

According to your advice on power issue, I have removed the power of 1A on the USB port. The file planetaryimager_mainwindow.cpp.o has now well compiled but I have the following issue on the ASI driver:

[ 89%] Linking CXX shared module libzwo_asi_imager.so
/usr/bin/ld: /home/astrojul/PlanetaryImager/src/drivers/zwo_asi/ASI_LINUX_MAC_SDK_v0.6.0921//lib/x64/libASICamera2.a(ASICamera2.o): Relocations in generic ELF (EM: 62)
/usr/bin/ld: /home/astrojul/PlanetaryImager/src/drivers/zwo_asi/ASI_LINUX_MAC_SDK_v0.6.0921//lib/x64/libASICamera2.a(ASICamera2.o): Relocations in generic ELF (EM: 62)
/usr/bin/ld: /home/astrojul/PlanetaryImager/src/drivers/zwo_asi/ASI_LINUX_MAC_SDK_v0.6.0921//lib/x64/libASICamera2.a(ASICamera2.o): Relocations in generic ELF (EM: 62)
/home/astrojul/PlanetaryImager/src/drivers/zwo_asi/ASI_LINUX_MAC_SDK_v0.6.0921//lib/x64/libASICamera2.a: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
src/drivers/zwo_asi/CMakeFiles/zwo_asi_imager.dir/build.make:273: recipe for target 'src/drivers/zwo_asi/libzwo_asi_imager.so' failed
make[2]: *** [src/drivers/zwo_asi/libzwo_asi_imager.so] Error 1
CMakeFiles/Makefile2:738: recipe for target 'src/drivers/zwo_asi/CMakeFiles/zwo_asi_imager.dir/all' failed
make[1]: *** [src/drivers/zwo_asi/CMakeFiles/zwo_asi_imager.dir/all] Error 2
Makefile:162: recipe for target 'all' failed
make: *** [all] Error 2

from planetaryimager.

dragonlost avatar dragonlost commented on June 3, 2024

if you want to use planetary imager on raspberry use Ubuntu mate 18.04.2 armhf / armv7 / arm32. Everything compiles of course on this version.

from planetaryimager.

GreatAttractor avatar GreatAttractor commented on June 3, 2024

Right, this new issue seems like an incompatibility of ZWO-provided libraries with your ARM64-compiled binaries. Judging by the README.txt in src/drivers/zwo_asi/ASI_LINUX_MAC_SDK_v0.6.0921/lib, there is an armv8: arm 64bit version which should be applicable here (and not the x64, obviously). I'll have a look why it's not selected.

from planetaryimager.

GreatAttractor avatar GreatAttractor commented on June 3, 2024

I've added the missing check for armv8 architecture and was able to compile and link successfully (cannot test it though, as I don't have a ZWO camera).

from planetaryimager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.