Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v7.0alpha: sdrangel does not compile #107

Open
n1ai opened this issue Jan 25, 2024 · 0 comments
Open

v7.0alpha: sdrangel does not compile #107

n1ai opened this issue Jan 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@n1ai
Copy link

n1ai commented Jan 25, 2024

Describe the bug
v7.0alpha: sdrangel does not compile

To Reproduce
Steps to reproduce the behavior:

  1. Install bookworm 64-bit on Pi 5 with PCIe NVMe storage so build doesn't take till the heat-death of the Universe :-)
  2. Clone the pisdr-image repo
  3. Check out v7.0alpha branch
  4. Execute './build.sh'
  5. See error below

Expected behavior
I don't expect anything. This is free software and it's an alpha branch.

I have been using the pisdr-image for a while, it is a really cool project! I was curious on how it was built so I gave that a try. I have found some other easily-fixed issues and when I get a full build I will send a PR with fixes.

I don't care if you fix this or not. For now I will just not build sdrangel. I don't use it much if at all so I will get a lot of my time back. 2887 build steps? Mein Gott!

Screenshots
Here is the build output showing the failure.

[1764/2887] Building CXX object plugins/samplemimo/audiocatsiso/CMakeFiles/mimoaudiocatsiso.dir/audiocatsisohamlib.cpp.o
FAILED: plugins/samplemimo/audiocatsiso/CMakeFiles/mimoaudiocatsiso.dir/audiocatsisohamlib.cpp.o 
/usr/bin/c++ -DAPPLICATION_NAME=\"SDRangel\" -DARCHITECTURE_ARM64 -DCOMPANY=\"f4exb\" -DCOPYRIGHT="\"Copyright (c) 2019 Edouard Griffiths. All rights reserved.\"" -DHAS_FT8 -DHAS_LIMERFEUSB -DIDENTIFIER=\"com.f4exb.SDRangel\" -DLIB=\"lib\" -DLINUX -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_OPENGL_LIB -DQT_POSITIONING_LIB -DQT_WEBSOCKETS_LIB -DQT_WIDGETS_LIB -DSDRANGEL_LIB_VERSION=\"7.15.3\" -DSDRANGEL_VERSION=\"7.15.3\" -DSDR_RX_SAMPLE_24BIT -DUSE_NEON -Dmimoaudiocatsiso_EXPORTS -I/home/pi/PiSDR/Software/sdrangel/build/plugins/samplemimo/audiocatsiso -I/home/pi/PiSDR/Software/sdrangel/plugins/samplemimo/audiocatsiso -I/home/pi/PiSDR/Software/sdrangel/build/plugins/samplemimo/audiocatsiso/mimoaudiocatsiso_autogen/include -I/home/pi/PiSDR/Software/sdrangel/sdrbase -I/home/pi/PiSDR/Software/sdrangel/exports -I/home/pi/PiSDR/Software/sdrangel/sdrgui -I/home/pi/PiSDR/Software/sdrangel/swagger/sdrangel/code/qt5/client -I/home/pi/PiSDR/Software/sdrangel/devices -isystem /usr/include/aarch64-linux-gnu/qt5 -isystem /usr/include/aarch64-linux-gnu/qt5/QtCore -isystem /usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -isystem /usr/include/aarch64-linux-gnu/qt5/QtWidgets -isystem /usr/include/aarch64-linux-gnu/qt5/QtGui -isystem /usr/include/aarch64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/aarch64-linux-gnu/qt5/QtNetwork -isystem /usr/include/aarch64-linux-gnu/qt5/QtWebSockets -isystem /usr/include/aarch64-linux-gnu/qt5/QtPositioning -isystem /usr/include/aarch64-linux-gnu/qt5/QtOpenGL -O3 -DNDEBUG -flto=auto -fno-fat-lto-objects -fPIC -march=native -Wall -Wextra -Wvla -Woverloaded-virtual -Wno-inconsistent-missing-override -ffast-math -fno-finite-math-only -ftree-vectorize -fPIC -std=c++14 -MD -MT plugins/samplemimo/audiocatsiso/CMakeFiles/mimoaudiocatsiso.dir/audiocatsisohamlib.cpp.o -MF plugins/samplemimo/audiocatsiso/CMakeFiles/mimoaudiocatsiso.dir/audiocatsisohamlib.cpp.o.d -o plugins/samplemimo/audiocatsiso/CMakeFiles/mimoaudiocatsiso.dir/audiocatsisohamlib.cpp.o -c /home/pi/PiSDR/Software/sdrangel/plugins/samplemimo/audiocatsiso/audiocatsisohamlib.cpp
/home/pi/PiSDR/Software/sdrangel/plugins/samplemimo/audiocatsiso/audiocatsisohamlib.cpp: In constructor 'AudioCATSISOHamlib::AudioCATSISOHamlib()':
/home/pi/PiSDR/Software/sdrangel/plugins/samplemimo/audiocatsiso/audiocatsisohamlib.cpp:24:34: error: invalid conversion from 'int (*)(const rig_caps*, void*)' to 'int (*)(rig_caps*, void*)' [-fpermissive]
   24 |     int status = rig_list_foreach(hash_model_list, this);
      |                  ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
      |                                  |
      |                                  int (*)(const rig_caps*, void*)
In file included from /home/pi/PiSDR/Software/sdrangel/plugins/samplemimo/audiocatsiso/audiocatsisohamlib.cpp:18:
/usr/local/include/hamlib/rig.h:3750:18: note:   initializing argument 1 of 'int rig_list_foreach(int (*)(rig_caps*, void*), void*)'
 3750 | rig_list_foreach HAMLIB_PARAMS((int (*cfunc)(struct rig_caps *, rig_ptr_t),
      |                  ^~~~~~~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-inconsistent-missing-override' may have been intended to silence earlier diagnostics

Device Version

         _,met$$$$$gg.           xxx@xxx
      ,g$$$$$$$$$$$$$$$P.        OS: Debian 12 bookworm
    ,g$$P""       """Y$$.".      Kernel: aarch64 Linux 6.1.0-rpi7-rpi-2712
   ,$$P'              `$$$.      Uptime: 1d 10h 35m
  ',$$P       ,ggs.     `$$b:    Packages: 2064
  `d$$'     ,$P"'   .    $$$     Shell: bash 5.2.15
   $$P      d$'     ,    $$P     Resolution: No X Server
   $$:      $$.   -    ,d$$'     DE: LXDE lxpanel 0.10.1
   $$\;      Y$b._   _,d$P'      WM: OpenBox
   Y$$.    `.`"Y$$$$P"'          Disk: 75G / 232G (34%)
   `$$b      "-.__               CPU: ARM Cortex-A76 @ 4x 2.4GHz
    `Y$$                         GPU: 
     `Y$$.                       RAM: 722MiB / 8052MiB
       `$$b.                    
         `Y$$b.                 
            `"Y$b._             
                `""""           

Additional context
Add any other context about the problem here.

@n1ai n1ai added the bug Something isn't working label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant