Coder Social home page Coder Social logo

gr-fcdproplus's People

Contributors

777arc avatar dl1ksv avatar michaelld avatar yarda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gr-fcdproplus's Issues

gr-fcdproplus.pc.in has no "Version:" field

I recently hit an issue building a package for Mageia 4 which fails in pkgconfig here:

Processing files: lib64gr-fcdproplus-devel-0-0.20150118git22f51738.1.mga4.x86_64
Finding Provides: /usr/lib/rpm/mageia/filter.sh ' ' ' ' '/home/baz/rpmbuild/BUILDROOT/gr-fcdproplus-0-0.20150118git22f51738.1.mga4.x86_64' /usr/lib/rpm/mageia/find-provides
Package '/gnuradio-fcdproplus' has no Version: field
/usr/bin/pkg-config returned an error
error: /usr/lib/rpm/mageia/pkgconfigdeps.sh failed
error: /usr/lib/rpm/mageia/filter.sh failed: 100
error: Failed to find Provides:
Provides: gr-fcdproplus-devel = 0-0.20150118git22f51738.1.mga4 lib64gr-fcdproplus-devel = 0-0.20150118git22f51738.1.mga4 lib64gr-fcdproplus-devel(x86-64) = 0-0.20150118git22f51738.1.mga4
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1

This does not occur in Mageia 5 (development) which has later versions of most deps.
Patching the .pc.in with "Version: 0" fixes the problem.
Versions of all packages installed in the build chroot are listed here:
https://paste.kde.org/pguaw27yg

ImportError: No module named _fcdproplus_swig

Hi Folks,
please anybody can hwlp me?
when i run the FCDPP Flowgraph i get tis error:

<<< Welcome to GNU Radio Companion 3.7.14.0 >>>

Block paths:
/usr/local/share/gnuradio/grc/blocks

Loading: "/home/lilacsat/Desktop/examples/BY70-2/frontend_by70-2_rx_fcdpp.grc"

Done

Generating: '/home/lilacsat/Desktop/examples/BY70-2/frontend_lilacsat1_rx_rtl.py'

Executing: /usr/bin/python2 -u /home/lilacsat/Desktop/examples/BY70-2/frontend_lilacsat1_rx_rtl.py

Traceback (most recent call last):
File "/home/lilacsat/Desktop/examples/BY70-2/frontend_lilacsat1_rx_rtl.py", line 30, in
import fcdproplus
File "/usr/local/lib/python2.7/dist-packages/fcdproplus/init.py", line 45, in
from fcdproplus_swig import *
File "/usr/local/lib/python2.7/dist-packages/fcdproplus/fcdproplus_swig.py", line 17, in
_fcdproplus_swig = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/fcdproplus/fcdproplus_swig.py", line 16, in swig_import_helper
return importlib.import_module('_fcdproplus_swig')
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
ImportError: No module named _fcdproplus_swig

Done

Any help please?
Thanks
73's de Enzo IK8OZV

Please link gnuradio-pmt in Linux as build fails otherwise

In Mageia linking fails without specifically adding gnuradio-pmt in lib/CMakeFiles.txt.
This patch fixes it:
diff -ur gr-fcdproplus_o/lib/CMakeLists.txt gr-fcdproplus/lib/CMakeLists.txt
--- gr-fcdproplus_o/lib/CMakeLists.txt 2015-01-14 12:40:58.000000000 +0000
+++ gr-fcdproplus/lib/CMakeLists.txt 2015-01-14 16:01:33.683860825 +0000
@@ -70,7 +70,7 @@

target_link_libraries(gnuradio-fcdproplus ${fcdproplus_libs} ${Boost_LIBRARIES}
${GNURADIO_RUNTIME_LIBRARIES} ${GNURADIO_BLOCKS_LIBRARIES}

  • ${GNURADIO_AUDIO_LIBRARIES}
  • ${GNURADIO_AUDIO_LIBRARIES} ${GNURADIO_PMT_LIBRARIES}
    )

if(APPLE)

FunCubeDongle for v3.8

Hello,

I have GNU radio 3.8 and Funcube Dongle.

When I install the plugin, I get the blocks to appear. But when I execute the flowchart I get this message:

Traceback (most recent call last):
File "/home/john/Desktop/none1.py", line 33, in
import fcdproplus
File "/usr/lib/python3/dist-packages/fcdproplus/init.py", line 45, in
from .fcdproplus_swig import *
File "/usr/lib/python3/dist-packages/fcdproplus/fcdproplus_swig.py", line 17, in
_fcdproplus_swig = swig_import_helper()
File "/usr/lib/python3/dist-packages/fcdproplus/fcdproplus_swig.py", line 16, in swig_import_helper
return importlib.import_module('_fcdproplus_swig')
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_fcdproplus_swig'

Please unbundle hidapi

There is bundled hidapi. Please unbundle it as it may be problems for some distros to include packages with bundled libraries. Or at least please make it optional for distro builders to be able to link with the system hidapi.

OSX compilation fails: 'CMake Error: File /Doxyfile.in does not exist.'

Fresh installation on Big Sur.
CMakeError.log
CMakeOutput.log

garethhowell@iMac build % cmake -DCMAKE_INSTALL_PREFIX=/opt/local/bin ../
-- Build type not specified: defaulting to release.
CMake Warning (dev) at /opt/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
  The package name passed to `find_package_handle_standard_args` (PkgConfig)
  does not match the name of the calling package (GMP).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /opt/local/share/cmake-3.19/Modules/FindPkgConfig.cmake:67 (find_package_handle_standard_args)
  /opt/local/share/cmake/gnuradio/FindGMP.cmake:1 (include)
  /opt/local/share/cmake/gnuradio/FindMPLIB.cmake:1 (find_package)
  /opt/local/share/cmake-3.19/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /opt/local/share/cmake/gnuradio/GnuradioConfig.cmake:26 (find_dependency)
  CMakeLists.txt:76 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at /opt/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:426 (message):
  The package name passed to `find_package_handle_standard_args` (PkgConfig)
  does not match the name of the calling package (MPIR).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  /opt/local/share/cmake-3.19/Modules/FindPkgConfig.cmake:67 (find_package_handle_standard_args)
  /opt/local/share/cmake/gnuradio/FindMPIR.cmake:1 (include)
  /opt/local/share/cmake/gnuradio/FindMPLIB.cmake:2 (find_package)
  /opt/local/share/cmake-3.19/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
  /opt/local/share/cmake/gnuradio/GnuradioConfig.cmake:26 (find_dependency)
  CMakeLists.txt:76 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Checking for module 'mpir >= 3.0'
--   No package 'mpir' found
-- User set python executable /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7
-- Found PythonLibs: /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/libpython3.7m.dylib (found suitable exact version "3.7.10") 
-- Extracting version information from git describe...
-- 
-- Checking for module SWIG
-- Disabling SWIG because version check failed.
-- Found PythonLibs: /opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/libpython3.7m.dylib (found version "3.7.10") 
CMake Error: File /Doxyfile.in does not exist.
CMake Error at docs/doxygen/CMakeLists.txt:33 (configure_file):
  configure_file Problem configuring file


-- ================ Build Summary =========================
-- Building gr-fcdproplus  : 3.8.0 for Darwin 
-- Building for gnuradio   : 3.8.2.0
-- Using CMAKE Module path : /Users/garethhowell/local/dev/GNURadio/gr-fcdproplus/cmake/Modules;/opt/local/share/cmake/gnuradio
-- CMake Modules Dir       : lib/cmake
-- fcdproplus INCLUDES     : include/fcdproplus
-- Using install prefix    : /opt/local/bin
-- Installing grc files to : /opt/local/bin/share/gnuradio/grc/blocks
-- Bundled hidapi is used
-- ========================================================
-- Configuring incomplete, errors occurred!
See also "/Users/garethhowell/local/dev/GNURadio/gr-fcdproplus/build/CMakeFiles/CMakeOutput.log".
See also "/Users/garethhowell/local/dev/GNURadio/gr-fcdproplus/build/CMakeFiles/CMakeError.log".

cmake reported gnuradio cmake modules not found on Raspbian

Hi dl1ksv,

I am trying to compile gr-fcdproplus on a Raspbian (Raspberry Pi 3) but cmake failed and reported gnuradio cmake modules not found (line 89).

The gnuradio is installed from deb and the version is 3.7.5.

I read the posts here #14. The gnuradio cmake modules are not found at /usr/lib/cmake/gnuradio but at /usr/lib/arm-linux-gnueabihf. It looks to be a common status for Raspian according to https://cmake.org/Bug/view.php?id=15623. I edited Modules/Platform/UnixPaths.cmake but it doesn't works.

Is there any way to solve this?

TNX & 73!

Error when building

The following error showing when compiling:

/home/upperair/gnuradio-3.7.13.4/gr-fcdproplus/lib/fcdproplus_impl.cc: In constructor ‘gr::fcdproplus::fcdproplus_impl::fcdproplus_impl(std::__cxx11::string, int)’:
/home/upperair/gnuradio-3.7.13.4/gr-fcdproplus/lib/fcdproplus_impl.cc:77:18: error: ‘LOG’ was not declared in this scope
d_logger = LOG;

I have installed all dependencies but I have no idea what's wrong with it.

Occasionally choppy/gapped IQ buffer influenced by computer activity.

On occasion, particularly after CPU intensive events occur the output of the fcdproplus module becomes choppy and stays for an indeterminate amount of time, as if it had lost alignment. While this happens the GRC console outputs "UaUaUa" repeatedly until the choppiness stops. (see picture)
fcdpp-grc-jitterbug

Further CPU intensive events sometimes will knock it back into proper functioning. Sometimes it will just fix itself. Closing and restarting GRC often fixes the issue but not always.

It is not clear if this is truly an issue of this block or deeper in the USB subsystem or even the dongle itself but I thought I'd put this issue out in hopes that others can report on it so we can get a better picture of what is going wrong.

I am particularly curious if the developer of the block can explain the "Ua" in the console.

Specs:
GRC 3.6.1
Block was built from source dated 5/16/2013
Ubuntu 13.04, 13.10 x86-64

Pkgconfig "Requires: gnuradio >= 3.7" breaks rpmbuild generated deps

It seems there is no .pc providing gnuradio in gnuradio-3.7.13.3, just the following deps has been extracted by rpmbuild:

pkgconfig(gnuradio-analog) = 3.7.13.3
pkgconfig(gnuradio-atsc) = 3.7.13.3
pkgconfig(gnuradio-audio) = 3.7.13.3
pkgconfig(gnuradio-blocks) = 3.7.13.3
pkgconfig(gnuradio-channels) = 3.7.13.3
pkgconfig(gnuradio-digital) = 3.7.13.3
pkgconfig(gnuradio-dtv) = 3.7.13.3
pkgconfig(gnuradio-fcd) = 3.7.13.3
pkgconfig(gnuradio-fec) = 3.7.13.3
pkgconfig(gnuradio-fft) = 3.7.13.3
pkgconfig(gnuradio-filter) = 3.7.13.3
pkgconfig(gnuradio-noaa) = 3.7.13.3
pkgconfig(gnuradio-pager) = 3.7.13.3
pkgconfig(gnuradio-qtgui) = 3.7.13.3
pkgconfig(gnuradio-runtime) = 3.7.13.3
pkgconfig(gnuradio-trellis) = 3.7.13.3
pkgconfig(gnuradio-uhd) = 3.7.13.3
pkgconfig(gnuradio-video-sdl) = 3.7.13.3
pkgconfig(gnuradio-vocoder) = 3.7.13.3
pkgconfig(gnuradio-wavelet) = 3.7.13.3
pkgconfig(gr-wxgui) = 3.7.13.3
pkgconfig(volk) = 1.4

I think rpmbuild is right here. The 'Requires: gnuradio >= 3.7' in gnuradio-fcdproplus.pc.in then causes rpmbuild to create requirement:
pkgconfig(gnuradio) >= 3.7 which cannot be satisfied by RPM/DNF which leads later to build failures like: https://kojipkgs.fedoraproject.org//work/tasks/185/27920185/root.log

I could add the dep manually to the RPM package, but I think better solution is to have in the gnuradio-fcdproplus.pc.in e.g.: Requires: gnuradio-runtime >= 3.7.

cmake error

-- Build type not specified: defaulting to release.
-- Checking for module 'gmp'
-- No package 'gmp' found
-- Checking for module 'mpir >= 3.0'
-- No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)
-- Boost version: 1.65.1
-- Found the following Boost libraries:
-- date_time
-- program_options
-- filesystem
-- system
-- regex
-- thread
-- unit_test_framework
-- chrono
-- atomic
-- User set python executable /usr/bin/python3
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found suitable exact version "3.6.9")
-- Found ALSA 1.1.3
-- Found jack: /usr/lib/x86_64-linux-gnu/libjack.so
-- Extracting version information from git describe...

-- Checking for module SWIG
-- Found SWIG version 3.0.12.
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found version "3.6.9")
-- Doxxyfile found in DOXY_FILE_PATH-NOTFOUND
CMake Error: File /home/lyx/Xiaolab/gr-fcdproplus/swig/DOXY_FILE_PATH-NOTFOUND/Doxyfile.swig_doc.in does not exist.
CMake Error at cmake/Modules/GrSwig.cmake:65 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
cmake/Modules/GrSwig.cmake:121 (GR_SWIG_MAKE_DOCS)
swig/CMakeLists.txt:41 (GR_SWIG_MAKE)

I have tried sudo apt-get install libgmp-dev and sudo apt-get install libgmp3-dev. But they did not work.

3.7.2 build fails

Installing /home/baz/rpmbuild/SRPMS/gr-fcdproplus-3.7.2-1.mga6.src.rpm
Executing(%prep): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.KWzy1Z

  • umask 022
  • cd /home/baz/rpmbuild/BUILD
  • '[' 1 -eq 1 ']'
  • '[' 1 -eq 1 ']'
  • '[' 1 -eq 1 ']'
  • cd /home/baz/rpmbuild/BUILD
  • rm -rf gr-fcdproplus-3.7.2
  • /usr/bin/gzip -dc /home/baz/rpmbuild/SOURCES/gr-fcdproplus-3.7.2.tar.gz
  • /usr/bin/tar -xof -
  • STATUS=0
  • '[' 0 -ne 0 ']'
  • cd gr-fcdproplus-3.7.2
  • /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
  • rm -rf lib/hid
  • dos2unix lib/fcdcmd.h
    dos2unix: converting file lib/fcdcmd.h to Unix format...
  • exit 0
    Executing(%build): /bin/sh -e /home/baz/rpmbuild/tmp/rpm-tmp.71BPUa
  • umask 022
  • cd /home/baz/rpmbuild/BUILD
  • cd gr-fcdproplus-3.7.2
  • '[' 1 -eq 1 ']'
  • '[' 1 -eq 1 ']'
  • CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4'
  • export CFLAGS
  • CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4'
  • export CXXFLAGS
  • FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4'
  • export FFLAGS
  • LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags'
  • export LDFLAGS
  • mkdir -p build
  • cd build
  • /usr/bin/cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DENABLE_DOXYGEN=on -DGR_PKG_DOC_DIR=/usr/share/doc/gr-fcdproplus ..
    -- The CXX compiler identification is GNU 5.3.1
    -- The C compiler identification is GNU 5.3.1
    -- 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
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Check for working C compiler: /usr/bin/cc
    -- Check for working C compiler: /usr/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Boost version: 1.60.0
    -- Found the following Boost libraries:
    -- filesystem
    -- system
    -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
    Checking for GNU Radio Module: RUNTIME
    -- Checking for module 'gnuradio-runtime'
    -- Found gnuradio-runtime, version 3.7.9.1
    • INCLUDES=/usr/include

    • LIBS=/lib64/libgnuradio-runtime.so;/lib64/libgnuradio-pmt.so
      -- Found GNURADIO_RUNTIME: /lib64/libgnuradio-runtime.so;/lib64/libgnuradio-pmt.so
      GNURADIO_RUNTIME_FOUND = TRUE
      Checking for GNU Radio Module: AUDIO
      -- Checking for module 'gnuradio-audio'
      -- Found gnuradio-audio, version 3.7.9.1

    • INCLUDES=/usr/include

    • LIBS=/lib64/libgnuradio-audio.so;/lib64/libgnuradio-runtime.so;/lib64/libgnuradio-pmt.so
      -- Found GNURADIO_AUDIO: /lib64/libgnuradio-audio.so;/lib64/libgnuradio-runtime.so;/lib64/libgnuradio-pmt.so
      GNURADIO_AUDIO_FOUND = TRUE
      Checking for GNU Radio Module: BLOCKS
      -- Checking for module 'gnuradio-blocks'
      -- Found gnuradio-blocks, version 3.7.9.1

    • INCLUDES=/usr/include

    • LIBS=/lib64/libgnuradio-blocks.so;/lib64/libgnuradio-runtime.so;/lib64/libgnuradio-pmt.so
      -- Found GNURADIO_BLOCKS: /lib64/libgnuradio-blocks.so;/lib64/libgnuradio-runtime.so;/lib64/libgnuradio-pmt.so
      GNURADIO_BLOCKS_FOUND = TRUE
      Checking for GNU Radio Module: PMT
      -- Checking for module 'gnuradio-runtime'
      -- Found gnuradio-runtime, version 3.7.9.1

    • INCLUDES=/usr/include

    • LIBS=/lib64/libgnuradio-runtime.so;/lib64/libgnuradio-pmt.so
      -- Found GNURADIO_PMT: /lib64/libgnuradio-runtime.so;/lib64/libgnuradio-pmt.so
      GNURADIO_PMT_FOUND = TRUE
      CMake Error at CMakeLists.txt:94 (include):
      include could not find load file:

      GrVersion

CMake Error at CMakeLists.txt:98 (include):
include could not find load file:

GrPlatform

-- Found ALSA: /usr/lib64/libasound.so (found version "1.1.0")
CMake Warning at CMakeLists.txt:115 (find_package):
By not providing "FindUSB.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "USB", but
CMake did not find one.

Could not find a package configuration file provided by "USB" with any of
the following names:

USBConfig.cmake
usb-config.cmake

Add the installation prefix of "USB" to CMAKE_PREFIX_PATH or set "USB_DIR"
to a directory containing one of the above files. If "USB" provides a
separate development package or SDK, be sure it has been installed.

CMake Error at CMakeLists.txt:117 (message):
libusb required to compile fcdproplus

-- Configuring incomplete, errors occurred!
See also "/home/baz/rpmbuild/BUILD/gr-fcdproplus-3.7.2/build/CMakeFiles/CMakeOutput.log".
error: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.71BPUa (%build)

We have the same BuildRequires as for all previous versions:-
BuildRequires: cmake
BuildRequires: pkgconfig(libusb)
BuildRequires: pkgconfig(gnuradio-runtime)
BuildRequires: pkgconfig(gnuradio-audio)
BuildRequires: pkgconfig(gnuradio-blocks)
BuildRequires: gnuradio-pmt-devel
BuildRequires: hidapi-devel
BuildRequires: gnuradio-utils
BuildRequires: boost-devel
BuildRequires: dos2unix
BuildRequires: doxygen
BuildRequires: graphviz
BuildRequires: swig
BuildRequires: alsa-lib-devel

Our gnuradio-utils package provdes:
/usr/lib64/cmake/gnuradio/GrPlatform.cmake
/usr/lib64/cmake/gnuradio/FindUSB.cmake
/usr/lib64/cmake/gnuradio/GrVersion.cmake

Build errors due to change in gnuradio logging scheme.

I want to add gr-fcdproplus to my build of gnuradio from the main branch.

There are currently some issues with building gr-fcdproplus against gnuradio main, largely around what appears to be a change in how logging is used, for example GR_CONFIG_LOGGER and LOG are now undefined.

Is an update of gr-fcdproplus on the way?

If not then I am happy to work on it myself, but I have other fish to fry (and a day job) so can wait for while if I know it's coming.

Cheers

gr-fcdproplus-3.7.2-rc1 compilation fails on i386

Scanning dependencies of target pygen_swig_b19a8
make[2]: Leaving directory '/builddir/build/BUILD/gr-fcdproplus-3.7.2-rc1/build'
make -f swig/CMakeFiles/pygen_swig_b19a8.dir/build.make swig/CMakeFiles/pygen_swig_b19a8.dir/build
make[2]: Entering directory '/builddir/build/BUILD/gr-fcdproplus-3.7.2-rc1/build'
make[2]: Leaving directory '/builddir/build/BUILD/gr-fcdproplus-3.7.2-rc1/build'
make[2]: *** No rule to make target 'swig/fcdproplus_swig.py', needed by 'swig/fcdproplus_swig.pyc'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:268: swig/CMakeFiles/pygen_swig_b19a8.dir/all] Error 2
make: *** [Makefile:133: all] Error 2
make[1]: Leaving directory '/builddir/build/BUILD/gr-fcdproplus-3.7.2-rc1/build'

I tried building with make -j1, it didn't help. This could be problem of the GrSwig macro from gnuradio. I think the explicit dep for fcdproplus_swig.py should be there, otherwise it depends how cmake generates the makefile. If the fcdproplus_swig_swig_tag is before the pygen_ in the makefile then it works, otherwise it doesn't. I am not sure how cmake generates it, but it can have something to do with the architecture and timestamps. E.g. this build for the 3.7.2-rc1 release works on x86_64 but fails on i386, but if I try to build e5ff839 snapshot (from https://github.com/dl1ksv/gr-fcdproplus/archive/e5ff83966eff1675b0fc8334d1035011e0edb03e/gr-fcdproplus-e5ff83966eff1675b0fc8334d1035011e0edb03e.tar.gz) it works in i386, but fails with the same error on the ppc64. It seems to be 100% reproducible. Strange, but unfortunately I hadn't time to debug it.

Failed e5ff839 build (including the build log):
https://koji.fedoraproject.org/koji/taskinfo?taskID=27729589

Failed 3.7.2-rc1 scratch build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=27785943

problem with doc building

If I build recent gr-fcdproplus with docs enabled, I get an error:
...
[ 31%] [ 37%] Generating documentation with doxygen
Generating doxygen xml for fcdproplus_swig_doc docs
Warning: doxygen no longer ships with the FreeSans font.
You may want to clear or change DOT_FONTNAME.
Otherwise you run the risk that the wrong font is being used for dot generated graphs.
/bin/sh: fcdproplus_swig_doc_swig_docs/Doxyfile: Permission denied
make[2]: *** [swig/fcdproplus_swig_doc_swig_docs/xml/index.xml] Error 126
make[1]: *** [swig/CMakeFiles/fcdproplus_swig_swig_doc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

I suspect the same issue that was noticed in some other gnuradio modules. It is caused by an attempt to build documentation before doxygen is found. It can be easily solved by moving the line:
find_package(Doxygen)
from doc/CMakeLists.txt to main CMakeList.txt
See:
http://lists.osmocom.org/pipermail/osmocom-sdr/2013-August/000752.html

Wojciech Kazubski

gr-fcdproplus won't install on High Sierra, "Build files cannot be regenerated correctly", error.

Good Morning All,

I"ve been trying to build GQRX using MacPorts on my iMac which is running High Sierra and the build keeps failing while trying to install gr-fcdproplus. The error log shows the following error, see below.

Might anyone be able to help please?

Thank you in advance for any help.

Sean.

:info:configure -- CMake Modules Dir : lib/cmake
:info:configure -- fcdproplus INCLUDES : include/fcdproplus
:info:configure -- Using install prefix : /opt/local
:info:configure -- Installing grc files to : /opt/local/share/gnuradio/grc/blocks
:info:configure -- System Hidapi Lib /opt/local/lib/libhidapi.dylib is used
:info:configure -- ========================================================
:info:configure -- Configuring done
:info:configure CMake Error in lib/CMakeLists.txt:
:info:configure Found relative path while evaluating include directories of
:info:configure "gnuradio-fcdproplus":
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in lib/CMakeLists.txt:
:info:configure Found relative path while evaluating include directories of
:info:configure "gnuradio-fcdproplus":
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in lib/CMakeLists.txt:
:info:configure Found relative path while evaluating include directories of
:info:configure "gnuradio-fcdproplus":
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in swig/CMakeLists.txt:
:info:configure Target "gnuradio-fcdproplus" contains relative path in its
:info:configure INTERFACE_INCLUDE_DIRECTORIES:
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in swig/CMakeLists.txt:
:info:configure Target "gnuradio-fcdproplus" contains relative path in its
:info:configure INTERFACE_INCLUDE_DIRECTORIES:
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in swig/CMakeLists.txt:
:info:configure Target "gnuradio-fcdproplus" contains relative path in its
:info:configure INTERFACE_INCLUDE_DIRECTORIES:
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in lib/CMakeLists.txt:
:info:configure Found relative path while evaluating include directories of
:info:configure "gnuradio-fcdproplus":
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in lib/CMakeLists.txt:
:info:configure Found relative path while evaluating include directories of
:info:configure "gnuradio-fcdproplus":
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in swig/CMakeLists.txt:
:info:configure Target "gnuradio-fcdproplus" contains relative path in its
:info:configure INTERFACE_INCLUDE_DIRECTORIES:
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure CMake Error in swig/CMakeLists.txt:
:info:configure Target "gnuradio-fcdproplus" contains relative path in its
:info:configure INTERFACE_INCLUDE_DIRECTORIES:
:info:configure "HIDAPI_INCLUDES-NOTFOUND"
:info:configure -- Generating done
:info:configure CMake Generate step failed. Build files cannot be regenerated correctly.
:info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fcdproplus/gr-fcdproplus/work/build" && /opt/local/bin/cmake -G "CodeBlocks - Unix Makefiles" -DCMAKE_BUILD_TYPE=MacPorts -DCMAKE_INSTALL_PREFIX="/opt/local" -DCMAKE_INSTALL_NAME_DIR="/opt/local/lib" -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_C_COMPILER="$CC" -DCMAKE_CXX_COMPILER="$CXX" -DCMAKE_OBJC_COMPILER="$CC" -DCMAKE_OBJCXX_COMPILER="$CXX" -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_POLICY_DEFAULT_CMP0060=NEW -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_MAKE_PROGRAM=/usr/bin/make -DCMAKE_MODULE_PATH="/opt/local/share/cmake/Modules" -DCMAKE_PREFIX_PATH="/opt/local/share/cmake/Modules" -DCMAKE_BUILD_WITH_INSTALL_RPATH:BOOL=ON -DCMAKE_INSTALL_RPATH="/opt/local/lib" -Wno-dev -DPYTHON_EXECUTABLE=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 -DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Headers -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Python -DGR_PYTHON_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages -DENABLE_DOXYGEN=OFF -DCMAKE_CXX_STANDARD=11 -DBOOST_ROOT=/opt/local/libexec/boost/1.71 -DBOOSTROOT=/opt/local/libexec/boost/1.71 -DBOOST_INCLUDEDIR=/opt/local/libexec/boost/1.71/include -DBOOST_LIBRARYDIR=/opt/local/libexec/boost/1.71/lib -DBOOST_INCLUDE_DIR=/opt/local/libexec/boost/1.71/include -DBOOST_LIBRARY_DIR=/opt/local/libexec/boost/1.71/lib -DBOOST_LIB_DIR=/opt/local/libexec/boost/1.71/lib -DBoost_NO_SYSTEM_PATHS=ON -DBoost_INCLUDE_DIR=/opt/local/libexec/boost/1.71/include -DBoost_DIR=/opt/local/libexec/boost/1.71 -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.13" -DCMAKE_OSX_SYSROOT="/" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fcdproplus/gr-fcdproplus/work/gr-fcdproplus-f1154db33e7c22ff6456cf3385586832fff413f0
:info:configure Exit code: 1
:error:configure Failed to configure gr-fcdproplus: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
:debug:configure while executing
:debug:configure "$procedure $targetname"
:error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gr-fcdproplus/gr-fcdproplus/main.log for details.

Unable to Install

When I get to the cmake part of the build I get an error stating that it cannot find the package gnuradio-runtime. I am running version 3.6.5.1. Thank you.

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.