Cubic SDR on PI4B For RSP1A

  • This topic has 3 replies, 3 voices, and was last updated by .
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #837
    W9KJO
    Participant

    I am trying to install Cubic SDR on a Pi4B

    In following the instructions given by Cubic SDR I get this when trying to install wxWidgets,

    pi@raspberrypi4b1:~/Dev/wxWidgets-3.1.3 $ ./autogen.sh
    pi@raspberrypi4b1:~/Dev/wxWidgets-3.1.3 $ ./configure –with-opengl –disable-shared –enable-monolithic –with-libjpeg –with-libtiff –with-libpng –with-zlib –disable-sdltest –enable-unicode –enable-display –enable-propgrid –disable-webkit –disable-webview –disable-webviewwebkit –prefix=echo ~/Dev/wxWidgets-staticlib CXXFLAGS=”-std=c++0x”
    checking build system type… armv7l-unknown-linux-gnueabihf
    checking host system type… armv7l-unknown-linux-gnueabihf
    checking for toolkit… gtk
    checking for gcc… gcc
    checking whether the C compiler works… yes
    checking for C compiler default output file name… a.out
    checking for suffix of executables…
    checking whether we are cross compiling… no
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking whether we are using the Intel C compiler… no
    checking how to run the C preprocessor… gcc -E
    checking for grep that handles long lines and -e… /bin/grep
    checking for egrep… /bin/grep -E
    checking whether gcc needs -traditional… no
    checking for g++… g++
    checking whether we are using the GNU C++ compiler… yes
    checking whether g++ accepts -g… yes
    checking whether we are using the Intel C++ compiler… no
    checking whether we are using the Sun C++ compiler… no
    checking for ar… ar
    checking for ANSI C header files… yes
    checking for sys/types.h… yes
    checking for sys/stat.h… yes
    checking for stdlib.h… yes
    checking for string.h… yes
    checking for memory.h… yes
    checking for strings.h… yes
    checking for inttypes.h… yes
    checking for stdint.h… yes
    checking for unistd.h… yes
    checking for langinfo.h… yes
    checking for wchar.h… yes
    checking for sys/select.h… yes
    checking for cxxabi.h… yes
    checking for an ANSI C-conforming const… yes
    checking for inline… inline
    checking size of short… 2
    checking size of void *… 4
    checking size of int… 4
    checking size of long… 4
    checking size of size_t… 4
    checking size of long long… 8
    checking size of wchar_t… 4
    checking for va_copy… yes
    checking whether the compiler supports variadic macros… yes
    checking for _FILE_OFFSET_BITS value needed for large files… 64
    checking if large file support is available… yes
    checking for _LARGEFILE_SOURCE value needed for large files… no
    checking whether byte ordering is bigendian… no
    checking for std::wstring in <string>… yes
    checking for std::istream… yes
    checking for std::ostream… yes
    checking for type_traits… yes
    checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins… yes
    checking for libraries directories… /usr/lib
    checking for cos… no
    checking for floor… no
    checking if floating point functions link without -lm… no
    checking for sin… yes
    checking for ceil… yes
    checking if floating point functions link with -lm… yes
    checking for strtoull… yes
    checking for pkg-config… /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0… yes
    configure: WARNING: Defaulting to the builtin regex library for Unicode build.
    checking for zlib.h >= 1.1.4… yes
    checking for zlib.h… (cached) yes
    checking for deflate in -lz… yes
    checking for png.h > 0.90… yes
    checking for png.h… (cached) yes
    checking for png_sig_cmp in -lpng… yes
    checking for jpeglib.h… yes
    checking for jpeg_read_header in -ljpeg… yes
    checking lzma.h usability… no
    checking lzma.h presence… no
    checking for lzma.h… no
    checking for jbg_dec_init in -ljbpi@raspberrypi4b1:~/Dev/wxWidgets-3.1.3 $ ./autogen.sh
    pi@raspberrypi4b1:~/Dev/wxWidgets-3.1.3 $ ./configure –with-opengl –disable-shared –enable-monolithic –with-libjpeg –with-libtiff –with-libpng –with-zlib –disable-sdltest –enable-unicode –enable-display –enable-propgrid –disable-webkit –disable-webview –disable-webviewwebkit –prefix=echo ~/Dev/wxWidgets-staticlib CXXFLAGS=”-std=c++0x”
    checking build system type… armv7l-unknown-linux-gnueabihf
    checking host system type… armv7l-unknown-linux-gnueabihf
    checking for toolkit… gtk
    checking for gcc… gcc
    checking whether the C compiler works… yes
    checking for C compiler default output file name… a.out
    checking for suffix of executables…
    checking whether we are cross compiling… no
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking whether we are using the Intel C compiler… no
    checking how to run the C preprocessor… gcc -E
    checking for grep that handles long lines and -e… /bin/grep
    checking for egrep… /bin/grep -E
    checking whether gcc needs -traditional… no
    checking for g++… g++
    checking whether we are using the GNU C++ compiler… yes
    checking whether g++ accepts -g… yes
    checking whether we are using the Intel C++ compiler… no
    checking whether we are using the Sun C++ compiler… no
    checking for ar… ar
    checking for ANSI C header files… yes
    checking for sys/types.h… yes
    checking for sys/stat.h… yes
    checking for stdlib.h… yes
    checking for string.h… yes
    checking for memory.h… yes
    checking for strings.h… yes
    checking for inttypes.h… yes
    checking for stdint.h… yes
    checking for unistd.h… yes
    checking for langinfo.h… yes
    checking for wchar.h… yes
    checking for sys/select.h… yes
    checking for cxxabi.h… yes
    checking for an ANSI C-conforming const… yes
    checking for inline… inline
    checking size of short… 2
    checking size of void *… 4
    checking size of int… 4
    checking size of long… 4
    checking size of size_t… 4
    checking size of long long… 8
    checking size of wchar_t… 4
    checking for va_copy… yes
    checking whether the compiler supports variadic macros… yes
    checking for _FILE_OFFSET_BITS value needed for large files… 64
    checking if large file support is available… yes
    checking for _LARGEFILE_SOURCE value needed for large files… no
    checking whether byte ordering is bigendian… no
    checking for std::wstring in <string>… yes
    checking for std::istream… yes
    checking for std::ostream… yes
    checking for type_traits… yes
    checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins… yes
    checking for libraries directories… /usr/lib
    checking for cos… no
    checking for floor… no
    checking if floating point functions link without -lm… no
    checking for sin… yes
    checking for ceil… yes
    checking if floating point functions link with -lm… yes
    checking for strtoull… yes
    checking for pkg-config… /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0… yes
    configure: WARNING: Defaulting to the builtin regex library for Unicode build.
    checking for zlib.h >= 1.1.4… yes
    checking for zlib.h… (cached) yes
    checking for deflate in -lz… yes
    checking for png.h > 0.90… yes
    checking for png.h… (cached) yes
    checking for png_sig_cmp in -lpng… yes
    checking for jpeglib.h… yes
    checking for jpeg_read_header in -ljpeg… yes
    checking lzma.h usability… no
    checking lzma.h presence… no
    checking for lzma.h… no
    checking for jbg_dec_init in -ljbig… no
    checking for LIBTIFF… not found via pkg-config
    checking for tiffio.h… no
    configure: WARNING: system tiff library not found, will use built-in instead
    checking for expat.h… yes
    checking if expat.h is valid C++ header… yes
    checking for XML_ParserCreate in -lexpat… yes
    checking for GTK+ version…
    checking for pkg-config… (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.7… yes
    checking for GTK+ – version >= 2.6.0… Package gtk+-2.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gtk+-2.0.pc’
    to the PKG_CONFIG_PATH environment variable
    No package ‘gtk+-2.0′ found
    no
    *** Could not run GTK+ test program, checking why…
    *** The test program failed to compile or link. See the file config.log for the
    *** exact error that occured. This usually means GTK+ is incorrectly installed.
    checking for pkg-config… /usr/bin/pkg-config
    checking for GTK+ – version >= 3.0.0… Package gtk+-3.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gtk+-3.0.pc’
    to the PKG_CONFIG_PATH environment variable
    No package ‘gtk+-3.0’ found
    no
    *** Could not run GTK+ test program, checking why…
    *** The test program failed to compile or link. See the file config.log for the
    *** exact error that occurred. This usually means GTK+ is incorrectly installed.
    checking for gtk-config… no
    checking for GTK – version >= 1.2.7… no
    *** The gtk-config script installed by GTK could not be found
    *** If GTK was installed in PREFIX, make sure PREFIX/bin is in
    *** your path, or set the GTK_CONFIG environment variable to the
    *** full path to gtk-config.
    checking for gtk-config… (cached) no
    checking for GTK – version >= 1.2.3… no
    *** The gtk-config script installed by GTK could not be found
    *** If GTK was installed in PREFIX, make sure PREFIX/bin is in
    *** your path, or set the GTK_CONFIG environment variable to the
    pi@raspberrypi4b1:~/Dev/wxWidgets-3.1.3 $ ./autogen.sh
    pi@raspberrypi4b1:~/Dev/wxWidgets-3.1.3 $ ./configure –with-opengl –disable-shared –enable-monolithic –with-libjpeg –with-libtiff –with-libpng –with-zlib –disable-sdltest –enable-unicode –enable-display –enable-propgrid –disable-webkit –disable-webview –disable-webviewwebkit –prefix=echo ~/Dev/wxWidgets-staticlib CXXFLAGS=”-std=c++0x”
    checking build system type… armv7l-unknown-linux-gnueabihf
    checking host system type… armv7l-unknown-linux-gnueabihf
    checking for toolkit… gtk
    checking for gcc… gcc
    checking whether the C compiler works… yes
    checking for C compiler default output file name… a.out
    checking for suffix of executables…
    checking whether we are cross compiling… no
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking whether we are using the Intel C compiler… no
    checking how to run the C preprocessor… gcc -E
    checking for grep that handles long lines and -e… /bin/grep
    checking for egrep… /bin/grep -E
    checking whether gcc needs -traditional… no
    checking for g++… g++
    checking whether we are using the GNU C++ compiler… yes
    checking whether g++ accepts -g… yes
    checking whether we are using the Intel C++ compiler… no
    checking whether we are using the Sun C++ compiler… no
    checking for ar… ar
    checking for ANSI C header files… yes
    checking for sys/types.h… yes
    checking for sys/stat.h… yes
    checking for stdlib.h… yes
    checking for string.h… yes
    checking for memory.h… yes
    checking for strings.h… yes
    checking for inttypes.h… yes
    checking for stdint.h… yes
    checking for unistd.h… yes
    checking for langinfo.h… yes
    checking for wchar.h… yes
    checking for sys/select.h… yes
    checking for cxxabi.h… yes
    checking for an ANSI C-conforming const… yes
    checking for inline… inline
    checking size of short… 2
    checking size of void *… 4
    checking size of int… 4
    checking size of long… 4
    checking size of size_t… 4
    checking size of long long… 8
    checking size of wchar_t… 4
    checking for va_copy… yes
    checking whether the compiler supports variadic macros… yes
    checking for _FILE_OFFSET_BITS value needed for large files… 64
    checking if large file support is available… yes
    checking for _LARGEFILE_SOURCE value needed for large files… no
    checking whether byte ordering is bigendian… no
    checking for std::wstring in <string>… yes
    checking for std::istream… yes
    checking for std::ostream… yes
    checking for type_traits… yes
    checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins… yes
    checking for libraries directories… /usr/lib
    checking for cos… no
    checking for floor… no
    checking if floating point functions link without -lm… no
    checking for sin… yes
    checking for ceil… yes
    checking if floating point functions link with -lm… yes
    checking for strtoull… yes
    checking for pkg-config… /usr/bin/pkg-config
    checking pkg-config is at least version 0.9.0… yes
    configure: WARNING: Defaulting to the builtin regex library for Unicode build.
    checking for zlib.h >= 1.1.4… yes
    checking for zlib.h… (cached) yes
    checking for deflate in -lz… yes
    checking for png.h > 0.90… yes
    checking for png.h… (cached) yes
    checking for png_sig_cmp in -lpng… yes
    checking for jpeglib.h… yes
    checking for jpeg_read_header in -ljpeg… yes
    checking lzma.h usability… no
    checking lzma.h presence… no
    checking for lzma.h… no
    checking for jbg_dec_init in -ljbig… no
    checking for LIBTIFF… not found via pkg-config
    checking for tiffio.h… no
    configure: WARNING: system tiff library not found, will use built-in instead
    checking for expat.h… yes
    checking if expat.h is valid C++ header… yes
    checking for XML_ParserCreate in -lexpat… yes
    checking for GTK+ version…
    checking for pkg-config… (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.7… yes
    checking for GTK+ – version >= 2.6.0… Package gtk+-2.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gtk+-2.0.pc’
    to the PKG_CONFIG_PATH environment variable
    No package ‘gtk+-2.0′ found
    no
    *** Could not run GTK+ test program, checking why…
    *** The test program failed to compile or link. See the file config.log for the
    *** exact error that occured. This usually means GTK+ is incorrectly installed.
    checking for pkg-config… /usr/bin/pkg-config
    checking for GTK+ – version >= 3.0.0… Package gtk+-3.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gtk+-3.0.pc’
    to the PKG_CONFIG_PATH environment variable
    No package ‘gtk+-3.0’ found
    no
    *** Could not run GTK+ test program, checking why…
    *** The test program failed to compile or link. See the file config.log for the
    *** exact error that occurred. This usually means GTK+ is incorrectly installed.
    checking for gtk-config… no
    checking for GTK – version >= 1.2.7… no
    *** The gtk-config script installed by GTK could not be found
    *** If GTK was installed in PREFIX, make sure PREFIX/bin is in
    *** your path, or set the GTK_CONFIG environment variable to the
    *** full path to gtk-config.
    checking for gtk-config… (cached) no
    checking for GTK – version >= 1.2.3… no
    *** The gtk-config script installed by GTK could not be found
    *** If GTK was installed in PREFIX, make sure PREFIX/bin is in
    *** your path, or set the GTK_CONFIG environment variable to the
    *** full path to gtk-config.
    configure: error:
    The development files for GTK+ were not found. For GTK+ 2, please
    ensure that pkg-config is in the path and that gtk+-2.0.pc is
    installed. For GTK+ 1.2 please check that gtk-config is in the path,
    and that the version is 1.2.3 or above. Also check that the
    libraries returned by ‘pkg-config gtk+-2.0 –libs’ or ‘gtk-config
    –libs’ are in the LD_LIBRARY_PATH or equivalent.*** full path to gtk-config.
    configure: error:
    The development files for GTK+ were not found. For GTK+ 2, please
    ensure that pkg-config is in the path and that gtk+-2.0.pc is
    installed. For GTK+ 1.2 please check that gtk-config is in the path,
    and that the version is 1.2.3 or above. Also check that the
    libraries returned by ‘pkg-config gtk+-2.0 –libs’ or ‘gtk-config
    –libs’ are in the LD_LIBRARY_PATH or equivalent.ig… no
    checking for LIBTIFF… not found via pkg-config
    checking for tiffio.h… no
    configure: WARNING: system tiff library not found, will use built-in instead
    checking for expat.h… yes
    checking if expat.h is valid C++ header… yes
    checking for XML_ParserCreate in -lexpat… yes
    checking for GTK+ version…
    checking for pkg-config… (cached) /usr/bin/pkg-config
    checking pkg-config is at least version 0.7… yes
    checking for GTK+ – version >= 2.6.0… Package gtk+-2.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gtk+-2.0.pc’
    to the PKG_CONFIG_PATH environment variable
    No package ‘gtk+-2.0′ found
    no
    *** Could not run GTK+ test program, checking why…
    *** The test program failed to compile or link. See the file config.log for the
    *** exact error that occured. This usually means GTK+ is incorrectly installed.
    checking for pkg-config… /usr/bin/pkg-config
    checking for GTK+ – version >= 3.0.0… Package gtk+-3.0 was not found in the pkg-config search path.
    Perhaps you should add the directory containing `gtk+-3.0.pc’
    to the PKG_CONFIG_PATH environment variable
    No package ‘gtk+-3.0’ found
    no
    *** Could not run GTK+ test program, checking why…
    *** The test program failed to compile or link. See the file config.log for the
    *** exact error that occurred. This usually means GTK+ is incorrectly installed.
    checking for gtk-config… no
    checking for GTK – version >= 1.2.7… no
    *** The gtk-config script installed by GTK could not be found
    *** If GTK was installed in PREFIX, make sure PREFIX/bin is in
    *** your path, or set the GTK_CONFIG environment variable to the
    *** full path to gtk-config.
    checking for gtk-config… (cached) no
    checking for GTK – version >= 1.2.3… no
    *** The gtk-config script installed by GTK could not be found
    *** If GTK was installed in PREFIX, make sure PREFIX/bin is in
    *** your path, or set the GTK_CONFIG environment variable to the
    *** full path to gtk-config.
    configure: error:
    The development files for GTK+ were not found. For GTK+ 2, please
    ensure that pkg-config is in the path and that gtk+-2.0.pc is
    installed. For GTK+ 1.2 please check that gtk-config is in the path,
    and that the version is 1.2.3 or above. Also check that the
    libraries returned by ‘pkg-config gtk+-2.0 –libs’ or ‘gtk-config
    –libs’ are in the LD_LIBRARY_PATH or equivalent.

    It seems something, maybe a library, is not installed. However I’m not sure what to do to correct this.

    Does anyone have an idea what I need to do to finish this install.

    BTW I tried to google a forum for CubicSDR and found nothing.

    It was SDRPlay that sent me the video that was supposed to show me how to install CubicSDR for a PI but they said they could not help me to look for a forum. So here I am.

    Thanks for any help

    73, W9KJO

    #849
    Lee
    Participant

    is libgtk-3-dev installed?

    this is the CubicSDR build guide for linux, it should be the same for the Pi.
    https://github.com/cjcliffe/CubicSDR/wiki/Build-Linux

    • This reply was modified 2 years, 8 months ago by .
    • This reply was modified 2 years, 8 months ago by .
    #852
    Lee
    Participant

    also SDRPlay do have their own prebuilt Pi image you can download.
    https://www.sdrplay.com/community/viewtopic.php?f=6&t=4884

    #942
    brianbgarber
    Participant

    Hi all,

    I followed the SDRPlay video (and the CubicSDR github Wiki) and got through without any obvious errors. However, there are issues with the GUI (see attached image). I’m wondering if something went wrong on the wxWidgets part?

    I’m also running this on an RPi4B, and installed the “Raspberry Pi 2/3” API/Driver. Wondering if that’s the problem.

    Thanks!
    Brian

    Attachments:
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.