Giter VIP home page Giter VIP logo

gr-foo's Introduction

                     ____                 \
   ____ ______      / __/___  ____     \   \
  / __ `/ ___/_____/ /_/ __ \/ __ \  \  |   |
 / /_/ / /  /_____/ __/ /_/ / /_/ /  /  |   |
 \__, /_/        /_/  \____/\____/     /   /
/____/                                    /

Hi!

This is a collection of custom blocks that are not directly associated with a project. For sample applications see:

Development

Like GNU Radio, this module uses maint branches for development. These branches are supposed to be used with the corresponding GNU Radio branches. This means: the maint-3.7 branch is compatible with GNU Radio 3.7, maint-3.8 is compatible with GNU Radio 3.8, etc.

Wireshark Connector

This blocks outputs PDUs in the PCAP format which is supported by all common network monitoring applications. Some examples are Wireshark, Tshark, and tcpdump. Currently, it supports WiFi packets with Radiotap header and ZigBee.

For further information about Radiotap, PCAP, and Wireshark see:

Packet Pad

Adds a configurable number of zeros before and after a burst. The burst has to be started with an tx_sob, and ended with a tx_eob tag. From time to time I had issues when I did not pad the sample stream. This block helps to investigate that. It is also handy for loopback testing when there is no continues sample stream. Furthermore, this block can add a tx_time tag to every burst that lies a configurable number of seconds in the future. This is handy to buffer the sample stream for a short time to avoid underruns during the transmission, which lead to corrupted signals. You have to set the sync option to 'PC source' for this feature.

Burst Tagger

Tags a burst / packet / bunch of samples with tx_sob and tx_eob tags. This is useful if the SDR is operating in half-duplex mode. With adding a tx_eob the USRP switches back to receive mode immediately. That way, direct responses like ACKs are not missed.

The block searches for a special tag that indicates the start of a burst. The name of this tag is configurable. The tag should indicate the length of the packet in samples. Also a multiplier can be specified, which multiples the length given in the tag.

Packet Dropper

Drops a configurable percentage of messages. I used it to test protocol logic like ACKs, retransmission and stuff.

Periodic Msg Source

This block sends messages at regular intervals much like the Message Strobe block in mainline GNU Radio. With this block you can also configure the number of packets that are sent. When all normal messages are sent, the blocks sends a final PMT_EOF message to indicate that it is done. I used this block for automated performance tests with no-GUI flow graphs.

Pad Tagged Stream

Pads an incoming tagged stream with 0s to the set buffer size. Padding is applied to the tail of the tagged stream.

This is useful when transmitting packetized data by using a Pluto as SDR. The Pluto does currently not support a partial buffer flush triggered by an incoming tagged stream. Therefore this block pads incoming tagged stream to fill the Pluto buffer to enforce an immediate transmission.

Installation

git clone https://github.com/bastibl/gr-foo.git
cd gr-foo
mkdir build
cd build
cmake ..
make
sudo make install
sudo ldconfig

gr-foo's People

Contributors

aewag avatar bastibl avatar christophl avatar cyancali avatar fierthraix avatar garverp avatar gvanem avatar jkbecker avatar jynik avatar rubund avatar ryanvolz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar

gr-foo's Issues

Some error occur when executing cmake

Hi, after following the tutorial in "https://wiki.gnuradio.org/index.php/InstallingGR#To_install_system_wide", I install the Gnuradio 3.7.2.1 on Ubuntu 14.04. When I executed common "cmake" in the build file in gr-foo, some error occur:
yufu@ubuntu:~/802/gr-foo/build1$ cmake ..
-- Build type not specified: defaulting to release.
-- checking for module 'uhd'
-- package 'uhd' not found
-- Could NOT find UHD (missing: UHD_LIBRARIES UHD_INCLUDE_DIRS)
-- UHD library not found, no support for timed TX.
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- thread
Checking for GNU Radio Module: RUNTIME

  • INCLUDES=/usr/include

  • LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
    GNURADIO_RUNTIME_FOUND = TRUE
    Checking for GNU Radio Module: ANALOG

  • INCLUDES=/usr/include

  • LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-analog.so;/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
    GNURADIO_ANALOG_FOUND = TRUE
    Checking for GNU Radio Module: BLOCKS

  • INCLUDES=/usr/include

  • LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-blocks.so;/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
    GNURADIO_BLOCKS_FOUND = TRUE
    Checking for GNU Radio Module: FILTER

  • INCLUDES=/usr/include

  • LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-filter.so;/usr/lib/x86_64-linux-gnu/libgnuradio-fft.so;/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
    GNURADIO_FILTER_FOUND = TRUE
    Checking for GNU Radio Module: PMT

  • INCLUDES=/usr/include

  • LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
    GNURADIO_PMT_FOUND = TRUE
    CMake Error at lib/CMakeLists.txt:46 (include):
    include could not find load file:

    GnuradioConfigVersion

CMake Error at lib/CMakeLists.txt:48 (if):
if given arguments:

"EQUAL" "8"

Unknown arguments specified

-- Configuring incomplete, errors occurred!
See also "/home/yufu/802/gr-foo/build1/CMakeFiles/CMakeOutput.log".
CMake Error: Unable to open check cache file for write. /home/yufu/802/gr-foo/build1/CMakeFiles/cmake.check_cache

  1. I think this error means that GnuradioConfigVersion is not found. so I execute "find" command,
    In path "/usr/lib/x86_64-linux-gnu/cmake/gnuradio" I find "GnuradioConfigVersion.cmake"
    Is this file that the "cmake" command need ?
    If so, why the file can't be found when executing cmake ?
    If not, how I can solve this problem ?

I am looking forward to your reply as soon as possible !

missing file

Hi, I have this issue.

screenshot from 2018-02-17 18-38-24

In file included from /home/lab/ieee80211/gr-foo/lib/channel_model_impl.cc:18:0:
/home/lab/ieee80211/gr-foo/lib/channel_model_impl.h:27:47: fatal error: gnuradio/filter/mmse_resampler_cc.h: No such file or directory
compilation terminated.

I looked for this file in the gnuradio directory and it is missing. Is it normal?
I have got the stable version of gnuradio (downloaded yesterday)..

cant install it errors

CMake Error at CMakeLists.txt:98 (find_package):
Could not find a configuration file for package "Gnuradio" that is
compatible with requested version "3.8".

The following configuration files were considered but not accepted:

/usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake, version: 3.7.9.1

-- Configuring incomplete, errors occurred!
See also "/home/ubludok/gr-foo/build/CMakeFiles/CMakeOutput.log".

maint-3.9 doesn't seem to build with apt installed GR 3.9

Ubuntu 20.04.4 LTS, GR 3.9.5 installed via APT from ppa:gnuradio/gnuradio-releases-3.9. When running cmake (i.e. from gr-foo, mkdir build, cd build, cmake ../) the cmake step fails:

CMake Error at /usr/lib/cmake/pybind11/pybind11Tools.cmake:131 (add_library):
  Target "foo_python" links to target "sndfile::sndfile" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GrPybind.cmake:241 (pybind11_add_module)
  python/bindings/CMakeLists.txt:46 (GR_PYBIND_MAKE_OOT)


CMake Error at /usr/lib/cmake/pybind11/pybind11Tools.cmake:131 (add_library):
  Target "foo_python" links to target "sndfile::sndfile" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GrPybind.cmake:241 (pybind11_add_module)
  python/bindings/CMakeLists.txt:46 (GR_PYBIND_MAKE_OOT)


CMake Error at lib/CMakeLists.txt:40 (add_library):
  Target "gnuradio-foo" links to target "sndfile::sndfile" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


CMake Error at lib/CMakeLists.txt:40 (add_library):
  Target "gnuradio-foo" links to target "sndfile::sndfile" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.

Seems to build fine using pybombs GR 3.9.

Code doesn't compile with boost 1.67

The release of boost 1.67 fixes an issue where floating point values are automatically converted into integers for the constructors of boost::posix_time::time_duration, and helper functions like boost::posix_time::milliseconds(float). This causes errors when special values (NaN, -∞, etc) are passed to it.

Currently the d_duration value in Periodic Message Source and Random Periodic Message source pass a float to boost::posix_time::milliseconds here and here.

This creates a pretty large compiler error.

header pcap

Hi, how to include the frequency of the signal in the radiotap header, for example you add the coding

cmake error!

CMake Error at CMakeLists.txt:98 (find_package):
  Could not find a configuration file for package "Gnuradio" that is
  compatible with requested version "3.8".

  The following configuration files were considered but not accepted:

    /usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake, version: 3.7.13.5

Though I tried to solve this by directly changing the CMakeLists.txt:98 to "3.7", but then it gives me following error.

CMake Error at /usr/local/lib/cmake/gnuradio/GrMiscUtils.cmake:146 (install):
  install TARGETS given no LIBRARY DESTINATION for shared library target
  "gnuradio-foo".
Call Stack (most recent call first):
  lib/CMakeLists.txt:74 (GR_LIBRARY_FOO)


-- Using install prefix: /usr/local
-- Building for version: d26261fa / 3.8git
-- 
-- Checking for module SWIG
-- Found SWIG version 3.0.12.
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.7m.so (found version "3.7.3") 
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.7m.so (found suitable version "3.7.3", minimum required is "2") 
-- Configuring incomplete, errors occurred!
See also "/home/ualr/workarea-gnuradio/gnuradio/gr-foo/build/CMakeFiles/CMakeOutput.log".

UHD warning on build w/ APT installed GR 3.9.5

Hey, so I installed GR 3.9.5 via APT on Ubutnu 20.04.4 LTS, and then attempted to build gr-foo from the maint-3.9 branch. When attempting to configure via cmake, I get this:

CMake Warning at CMakeLists.txt:73 (find_package):
  By not providing "FindUHD.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "UHD", but
  CMake did not find one.

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

    UHDConfig.cmake
    uhd-config.cmake

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


-- UHD library not found, no support for timed TX.

UHD is installed:

libgnuradio-uhd3.9.5/focal,now 3.9.5.0-0~gnuradio~focal-1 amd64 [installed,automatic]
  gnuradio universal hardware driver functions

Seems like the correct library to use with GR 3.9.5:

❯ apt-cache show libgnuradio-uhd3.9.5
Package: libgnuradio-uhd3.9.5
Source: gnuradio
Priority: optional
Section: libs
Installed-Size: 422
Maintainer: A. Maitland Bottoms <[email protected]>
Architecture: amd64
Version: 3.9.5.0-0~gnuradio~focal-1
Depends: libboost-thread1.71.0, libc6 (>= 2.14), libgcc-s1 (>= 3.0), libgnuradio-pmt3.9.5 (>= 3.9.5.0-0~gnuradio~focal), libgnuradio-runtime3.9.5 (>= 3.9.5.0-0~gnuradio~focal), liblog4cpp5v5, libstdc++6 (>= 9), libuhd3.15.0 (>= 3.15.0.0)
Filename: pool/main/g/gnuradio/libgnuradio-uhd3.9.5_3.9.5.0-0~gnuradio~focal-1_amd64.deb
Size: 140828
MD5sum: 2ddead760686c161688c703fc9703bba
SHA1: ce166f532dd442e036ea9576f6e7b8f75209d17c
SHA256: ef98b6893b8af873ef4cc6b38fc56c434cdd3bf8a955af51db24f90cfc1074b9
Description-en: gnuradio universal hardware driver functions
 The gnuradio interface to the UHD library to connect to and send and
 receive data between to the Ettus Research, LLC product line -
 including the USRP family of software radio peripheral devices.
 Part of the main gnuradio build.
Description-md5: 99e0943e04dc3702c287f7beab797428
Multi-Arch: same

Seems to build fine after this warning. Is this really a problem?

Compilation Error!!

I'm stuck at the following error:-

$ git branch 
* maint-3.7
  maint-3.8

$ cmake ../
-- Build type not specified: defaulting to release.
-- UHD library found.
Checking for GNU Radio Module: RUNTIME
 * INCLUDES=/usr/include
 * LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE
Checking for GNU Radio Module: ANALOG
 * INCLUDES=/usr/include
 * LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-analog.so;/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so;/usr/lib/x86_64-linux-gnu/libvolk.so
GNURADIO_ANALOG_FOUND = TRUE
Checking for GNU Radio Module: BLOCKS
 * INCLUDES=/usr/include
 * LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-blocks.so;/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
GNURADIO_BLOCKS_FOUND = TRUE
Checking for GNU Radio Module: DIGITAL
 * INCLUDES=/usr/include
 * LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-digital.so;/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
GNURADIO_DIGITAL_FOUND = TRUE
Checking for GNU Radio Module: FFT
 * INCLUDES=/usr/include
 * LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-fft.so;/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
GNURADIO_FFT_FOUND = TRUE
Checking for GNU Radio Module: FILTER
 * INCLUDES=/usr/include
 * LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-filter.so;/usr/lib/x86_64-linux-gnu/libgnuradio-fft.so;/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
GNURADIO_FILTER_FOUND = TRUE
Checking for GNU Radio Module: PMT
 * INCLUDES=/usr/include
 * LIBS=/usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so;/usr/lib/x86_64-linux-gnu/libgnuradio-pmt.so
GNURADIO_PMT_FOUND = TRUE
-- Extracting version information from git describe...
CMake Error at /usr/local/lib/cmake/gnuradio/GrMiscUtils.cmake:177 (install):
  install FILES given no DESTINATION!
Call Stack (most recent call first):
  lib/CMakeLists.txt:74 (GR_LIBRARY_FOO)


-- Using install prefix: /usr/local
-- Building for version: d26261fa / 3.8git
-- 
-- Checking for module SWIG
-- Found SWIG version 3.0.8.
-- Found PythonLibs: /usr/local/lib/libpython3.6m.a (found version "3.6.9") 
-- Found PythonLibs: /usr/local/lib/libpython3.6m.a (found suitable version "3.6.9", minimum required is "2") 
-- Configuring incomplete, errors occurred!

What am I missing here?

I've tried compiling for 3.8 branches too I receive the same error.

Regards.

CMake Issues

Hello,

I am trying to install gr-foo and while running CMake using cmake .. on the maint-3.8 branch I run into the following error:

CMake Error at swig/CMakeLists.txt:36 (include):
  include could not find load file:

    GrSwig


CMake Error at swig/CMakeLists.txt:50 (GR_SWIG_MAKE):
  Unknown CMake command "GR_SWIG_MAKE".

A screenshot of the entire output of CMake is shown below:

Screen Shot 2020-12-29 at 5 21 34 PM

I have tried installing Swig on my machine and re-doing the build process, but it doesn't seem to work. Also, I cannot find the GrSwig module inside cmake/Modules for the 3.8 branch, but it does exist in the 3.7 branch. I have tried using all three branches, and even copied the GrSwig file from the 3.7 branch to my local 3.8 copy and that didn't work either. I also tried commenting out the error lines in swig/CMakeLists.txt and running CMake, which worked successfully, however, when I ran make, I immediately got an error.

I am trying to build gr-foo and gr-ieee80211 on a Raspberry Pi running Raspbian.

Any ideas how I can make this work?

issue installing gr-foo

Hello Bastian, i am using installation guide of gr-foo here, when i run ' make ' command i see these errors.
screenshot from 2018-02-16 23-51-02

pybombs install gr-foo fails

Hi,

I am running into a weird bug on install that I don't understand and Google doesn't seem to help. Can you make sense of this?

$ pybombs -p pybombs-snout install --print-tree gr-foo
PyBOMBS.ConfigManager - INFO - Prefix Python version is: 3.6.9
PyBOMBS - INFO - PyBOMBS Version 2.3.3
PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and installing binary packages:
Install tree:
|
\- gr-foo
PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source packages to prefix:
PyBOMBS.install_manager - INFO - Installing package: gr-foo
PyBOMBS.Packager.source - WARNING - Build dir already exists: /home/jkbecker/pybombs-snout/src/gr-foo/build
Configuring: (100%) [================================================================================================]
PyBOMBS.Packager.source - WARNING - Configuration failed. Re-trying with higher verbosity.
-- UHD library found.
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   filesystem
--   system
--   thread
--   chrono
--   date_time
--   atomic
-- 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) 
CMake Error at CMakeLists.txt:102 (message):
  GnuRadio Runtime required to compile foo


-- Configuring incomplete, errors occurred!
See also "/home/jkbecker/pybombs-snout/src/gr-foo/build/CMakeFiles/CMakeOutput.log".
See also "/home/jkbecker/pybombs-snout/src/gr-foo/build/CMakeFiles/CMakeError.log".
PyBOMBS.Packager.source - ERROR - Configuration failed after running at least twice.
PyBOMBS.Packager.source - ERROR - Problem occurred while building package gr-foo:
Configuration failed
PyBOMBS.install_manager - ERROR - Error installing package gr-foo. Aborting.

Compiling gr-foo "next" against gnuradio "next"

I'm experimenting with GNU Radio on Ubuntu 18.04 and building from the git repos. The "next" branch with 3.8 seems like the place to start new projects.

Trying to build gr-foo gives:

[  4%] Building CXX object lib/CMakeFiles/gnuradio-foo.dir/channel_model_impl.cc.o
In file included from /home/ayank/Documents/SDR/gr-foo/lib/channel_model_impl.cc:18:0:
/home/ayank/Documents/SDR/gr-foo/lib/channel_model_impl.h:23:10: fatal error: gnuradio/blocks/add_cc.h: No such file or directory
 #include <gnuradio/blocks/add_cc.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
lib/CMakeFiles/gnuradio-foo.dir/build.make:86: recipe for target 'lib/CMakeFiles/gnuradio-foo.dir/channel_model_impl.cc.o' failed
make[2]: *** [lib/CMakeFiles/gnuradio-foo.dir/channel_model_impl.cc.o] Error 1
CMakeFiles/Makefile2:135: recipe for target 'lib/CMakeFiles/gnuradio-foo.dir/all' failed
make[1]: *** [lib/CMakeFiles/gnuradio-foo.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

Should gr-foo "next" build against gnuradio "next"? If now, how much work am I looking at to make this happen? I also want to be using gr-ieee802-11.

Unknown CMake command "pybind11_add_module"

Hi,
thank you for your amazing software. I am trying to compile gr-foo, on maint-3.9 while having installed gnuradio 3.9.2.
I get the following configuration error:

-- Build type not specified: defaulting to release.
-- UHD library found.
-- Using GMP.
-- User set python executable /usr/bin/python3
-- Extracting version information from git describe...
-- Using install prefix: /usr/local
-- Building for version: cc8bfc6 / 1.1.0git
-- PYTHON and GRC components are enabled
-- Python checking for pygccxml - found
CMake Error at /usr/lib64/cmake/gnuradio/GrPybind.cmake:243 (pybind11_add_module):
Unknown CMake command "pybind11_add_module".
Call Stack (most recent call first):
python/bindings/CMakeLists.txt:46 (GR_PYBIND_MAKE_OOT)

I have pybind11 with version 2.7.1-1 and cmake 3.21.3
What should I change?

Best,
Luca

./build_oai -w USRP --ninja --gNB -C Could not find a package configuration file provided by "UHD" with any of the following names: UHDConfig.cmake uhd-config.cmake

Hello. I am currently attempting to build the OAI with the USRP option by running the command:

git clone https://gitlab.eurecom.fr/oai/openairinterface5g.git ~/openairinterface5g
cd ~/openairinterface5g
git checkout develop

Install OAI dependencies

cd ~/openairinterface5g/cmake_targets
./build_oai -I

Build OAI gNB

cd ~/openairinterface5g
source oaienv
cd cmake_targets
./build_oai -w USRP --ninja --gNB -C

I am encountering several errors during the build process. Below is the detailed output:
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Ccache not found. Consider installing it for faster compilation. Command: sudo apt/dnf install ccache
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Check if /opt/asn1c/bin/asn1c supports -gen-APER
-- Check if /opt/asn1c/bin/asn1c supports -no-gen-UPER
-- Check if /opt/asn1c/bin/asn1c supports -no-gen-JER
-- Check if /opt/asn1c/bin/asn1c supports -no-gen-BER
-- Check if /opt/asn1c/bin/asn1c supports -no-gen-OER
-- CMAKE_BUILD_TYPE is RelWithDebInfo
-- CPU architecture is x86_64
-- AVX512 intrinsics are OFF
-- AVX2 intrinsics are ON
-- Found Git: /usr/bin/git (found version "2.34.1")
-- Selected E2AP_VERSION: E2AP_V2
-- Selected KPM Version: KPM_V2_03
-- Checking for module 'libconfig'
-- Found libconfig, version 1.5
-- Checking for module 'openssl'
-- Found openssl, version 3.0.2
-- Checking for module 'blas'
-- Found blas, version 3.10.3
-- Checking for module 'lapacke'
-- Found lapacke, version 3.10.0
-- Checking for module 'cblas'
-- No package 'cblas' found
-- No Support for Aerial
-- No Doxygen documentation requested
CMake Error at radio/USRP/CMakeLists.txt:2 (find_package):
By not providing "FindUHD.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "UHD", but
CMake did not find one.

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

UHDConfig.cmake
uhd-config.cmake

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

How to solve this? I read that is a branch issue but I don't know how to solve it.

Visual Studio 2019 Compiler-Error

Hi there,
i*m new to compiling in Windows an i've got an Errormessage which i can`t solve...
First i made gr-foo with cmake gui, so there is a gr-foo.sln File.
I use msbuild because there is no makefile produced, so i use the gr-foo.sln.
If i try to compile this in VS2019 CLI with msbuild or Visual Studio 2019 IDE i get this Errormessage:

C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build>msbuild gr-foo.sln
Microsoft (R)-Build-Engine, Version 16.4.0+e901037fe für .NET Framework
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

Die Projekte in dieser Projektmappe werden nacheinander erstellt. Um eine parallele Erstellung zu ermöglichen, müssen Sie den Schalter "-m" hinzufügen.
Der Buildvorgang wurde am 12.02.2020 19:56:21 gestartet.
Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\gr-foo.sln" auf Knoten "1" (Standardziele).
ValidateSolutionConfiguration:
Die Projektmappenkonfiguration "Debug|x64" wird erstellt.
ValidateProjects:
Das Projekt "INSTALL" ist in der Projektmappenkonfiguration "Debug|x64" nicht zum Erstellen ausgewählt.
Das Projekt "RUN_TESTS" ist in der Projektmappenkonfiguration "Debug|x64" nicht zum Erstellen ausgewählt.
Das Projekt "uninstall" ist in der Projektmappenkonfiguration "Debug|x64" nicht zum Erstellen ausgewählt.
Das Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\gr-foo.sln" (1) erstellt "C:\Software_Define
d_Radio\Github-Tools\gr-foo-maint-3.7\Build\ALL_BUILD.vcxproj.metaproj" (2) auf Knoten "1" (Standardziele).
Das Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\ALL_BUILD.vcxproj.metaproj" (2) erstellt "C:
\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\ZERO_CHECK.vcxproj" (3) auf Knoten "1" (Standardziele).
InitializeBuildStatus:
"x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" wird erstellt, da "AlwaysCreate" angegeben wurde.
CustomBuild:
Alle Ausgaben sind aktuell.
FinalizeBuildStatus:
Die Datei "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" wird gelöscht.
Aktualisieren des Timestamps von "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
Die Erstellung von Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\ZERO_CHECK.vcxproj" ist abges
chlossen (Standardziele).

Das Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\ALL_BUILD.vcxproj.metaproj" (2) erstellt "C:
\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig_foo_swig.vcxproj.metaproj" (4) auf Knoten "1" (Standa
rdziele).
Das Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig_foo_swig.vcxproj.metaproj" (4) erstell
t "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\foo_swig_swig_2d0df.vcxproj.metaproj" (5) auf Kno
ten "1" (Standardziele).
Das Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\foo_swig_swig_2d0df.vcxproj.metaproj" (
5) erstellt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig_foo_swig_swig_tag.vcxproj.metaproj" (6
) auf Knoten "1" (Standardziele).
Das Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig_foo_swig_swig_tag.vcxproj.metaproj" (6
) erstellt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\foo_swig_swig_doc.vcxproj.metaproj" (7)
auf Knoten "1" (Standardziele).
Das Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\foo_swig_swig_doc.vcxproj.metaproj" (7)
erstellt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\foo_swig_swig_doc.vcxproj" (8) auf Knoten
"1" (Standardziele).
InitializeBuildStatus:
"x64\Debug\foo_swig_swig_doc\foo_swig.3FA447E3.tlog\unsuccessfulbuild" wird erstellt, da "AlwaysCreate" angegeben wur
de.
FinalizeBuildStatus:
Die Datei "x64\Debug\foo_swig_swig_doc\foo_swig.3FA447E3.tlog\unsuccessfulbuild" wird gelöscht.
Aktualisieren des Timestamps von "x64\Debug\foo_swig_swig_doc\foo_swig.3FA447E3.tlog\foo_swig_swig_doc.lastbuildstate
".
Die Erstellung von Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\foo_swig_swig_doc.vcxpro
j" ist abgeschlossen (Standardziele).

Die Erstellung von Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\foo_swig_swig_doc.vcxpro
j.metaproj" ist abgeschlossen (Standardziele).

Das Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig_foo_swig_swig_tag.vcxproj.metaproj" (6
) erstellt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig_foo_swig_swig_tag.vcxproj" (9) auf Knot
en "1" (Standardziele).
InitializeBuildStatus:
"_foo_swig_swig_tag.dir\Debug_foo_swi.5766AAC9.tlog\unsuccessfulbuild" wird erstellt, da "AlwaysCreate" angegeben wu
rde.
CustomBuild:
Alle Ausgaben sind aktuell.
ClCompile:
Alle Ausgaben sind aktuell.
Link:
Alle Ausgaben sind aktuell.
_foo_swig_swig_tag.vcxproj -> C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\Debug_foo_swig_swig
_tag.exe
FinalizeBuildStatus:
Die Datei "_foo_swig_swig_tag.dir\Debug_foo_swi.5766AAC9.tlog\unsuccessfulbuild" wird gelöscht.
Aktualisieren des Timestamps von "_foo_swig_swig_tag.dir\Debug_foo_swi.5766AAC9.tlog_foo_swig_swig_tag.lastbuildsta
te".
Die Erstellung von Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig_foo_swig_swig_tag.vcxpr
oj" ist abgeschlossen (Standardziele).

Die Erstellung von Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig_foo_swig_swig_tag.vcxpr
oj.metaproj" ist abgeschlossen (Standardziele).

Das Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\foo_swig_swig_2d0df.vcxproj.metaproj" (
5) erstellt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\foo_swig_swig_2d0df.vcxproj" (10) auf K
noten "1" (Standardziele).
InitializeBuildStatus:
"foo_swig_swig_2d0df.dir\Debug\foo_swig.62013DFC.tlog\unsuccessfulbuild" wird erstellt, da "AlwaysCreate" angegeben w
urde.
CustomBuild:
Alle Ausgaben sind aktuell.
ClCompile:
Alle Ausgaben sind aktuell.
Link:
Alle Ausgaben sind aktuell.
foo_swig_swig_2d0df.vcxproj -> C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\Debug\foo_swig_swig
_2d0df.exe
PostBuildEvent:
Swig source
setlocal
"C:\Program Files\cmake-3.16.3-win64-x64\bin\cmake.exe" -E make_directory C:/Software_Defined_Radio/Github-Tools/gr-f
oo-maint-3.7/Build/swig
if %errorlevel% neq 0 goto :cmEnd
C:\soft\swigwin-4.0.1\swig.exe -python -fvirtual -modern -keyword -w511 -w314 -module foo_swig -outdir C:/Software_De
fined_Radio/Github-Tools/gr-foo-maint-3.7/Build/swig -c++ -IC:/Software_Defined_Radio/Github-Tools/gr-foo-maint-3.7/i
nclude -IC:/soft/boost_1_69_0 -IC:/soft/cppunit-1.12.1/include -IC:/Software_Defined_Radio/gnuradio/include -IC:/Soft
ware_Defined_Radio/Github-Tools/gr-foo-maint-3.7/Build/swig -IC:/Software_Defined_Radio/Github-Tools/gr-foo-maint-3.7
/swig -IC:/Software_Defined_Radio/gnuradio/include/gnuradio/swig -IC:/Python27/include -o C:/Software_Defined_Radio/G
ithub-Tools/gr-foo-maint-3.7/Build/swig/foo_swigPYTHON_wrap.cxx C:/Software_Defined_Radio/Github-Tools/gr-foo-maint-3
.7/swig/foo_swig.i
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
:VCEnd
Deprecated command line option: -modern. This option is now always on.
FinalizeBuildStatus:
Die Datei "foo_swig_swig_2d0df.dir\Debug\foo_swig.62013DFC.tlog\unsuccessfulbuild" wird gelöscht.
Aktualisieren des Timestamps von "foo_swig_swig_2d0df.dir\Debug\foo_swig.62013DFC.tlog\foo_swig_swig_2d0df.lastbuilds
tate".
Die Erstellung von Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\foo_swig_swig_2d0df.vcxp
roj" ist abgeschlossen (Standardziele).

Die Erstellung von Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\foo_swig_swig_2d0df.vcxp
roj.metaproj" ist abgeschlossen (Standardziele).

Das Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig_foo_swig.vcxproj.metaproj" (4) erstell
t "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj.metaproj" (11) auf Knoten "1"
(Standardziele).
Das Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj.metaproj" (11) erst
ellt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj" (12) auf Knoten "1" (Stan
dardziele).
InitializeBuildStatus:
Aktualisieren des Timestamps von "gnuradio-foo.dir\Debug\gnuradio-foo.tlog\unsuccessfulbuild".
CustomBuild:
Alle Ausgaben sind aktuell.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\bin\HostX64\x64\CL.exe /c /I"
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\include" /IC:\soft\boost_1_69_0 /I"C:\soft\cppunit-1.12.1\inc
lude" /IC:\Software_Defined_Radio\gnuradio\include /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D WINDOWS /D
FOO_UHD /D GR_FOO_NEW_API /D "CMAKE_INTDIR="Debug"" /D gnuradio_foo_EXPORTS /D WINDLL /D MBCS /Gm- /EHsc /RTC1 /M
Dd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"gnuradio-foo.dir\Debug\" /Fd"gnuradio-foo.dir\Debug\v
c142.pdb" /Gd /TP /errorReport:queue "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\burst_tagger_impl.c
c" "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\packet_pad2.cc" "C:\Software_Defined_Radio\Github-Too
ls\gr-foo-maint-3.7\lib\packet_pad_impl.cc" "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\periodic_msg
source_impl.cc" "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\random_periodic_msg_source_impl.cc" "C:
\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\rtt_measure_impl.cc" "C:\Software_Defined_Radio\Github-Tool
s\gr-foo-maint-3.7\lib\wireshark_connector_impl.cc"
Microsoft (R) C/C++-Optimierungscompiler Version 19.24.28315 für x64
burst_tagger_impl.cc
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
cl /c /I"C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\include" /IC:\soft\boost_1_69_0 /I"C:\soft\cppunit-1
.12.1\include" /IC:\Software_Defined_Radio\gnuradio\include /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D WIN32 /D WI
NDOWS /D FOO_UHD /D GR_FOO_NEW_API /D "CMAKE_INTDIR="Debug"" /D gnuradio_foo_EXPORTS /D WINDLL /D MBCS /Gm- /EHsc
/RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"gnuradio-foo.dir\Debug\" /Fd"gnuradio-foo.di
r\Debug\vc142.pdb" /Gd /TP /errorReport:queue "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\burst_tagg
er_impl.cc" "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\packet_pad2.cc" "C:\Software_Defined_Radio\G
ithub-Tools\gr-foo-maint-3.7\lib\packet_pad_impl.cc" "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\per
iodic_msg_source_impl.cc" "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\random_periodic_msg_source_imp
l.cc" "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\rtt_measure_impl.cc" "C:\Software_Defined_Radio\Gi
thub-Tools\gr-foo-maint-3.7\lib\wireshark_connector_impl.cc"
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\burst_tagger_impl.cc(86,25): error C2589: "(": Ungültiges T
oken auf der rechten Seite von "::" [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcx
proj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\burst_tagger_impl.cc(86,25): error C2062: "unknown-type"-Ty
p unerwartet [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\burst_tagger_impl.cc(86,25): error C2059: Syntaxfehler: ")"
[C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\burst_tagger_impl.cc(94,18): error C2589: "(": Ungültiges T
oken auf der rechten Seite von "::" [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcx
proj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\burst_tagger_impl.cc(94,18): error C2062: "unknown-type"-Ty
p unerwartet [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\burst_tagger_impl.cc(94,18): error C2059: Syntaxfehler: ")"
[C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
packet_pad2.cc
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\packet_pad2.cc(20,10): fatal error C1083: Datei (Include) k
ann nicht geöffnet werden: "sys/time.h": No such file or directory [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint
-3.7\Build\lib\gnuradio-foo.vcxproj]
packet_pad_impl.cc
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\packet_pad_impl.cc(21,10): fatal error C1083: Datei (Includ
e) kann nicht geöffnet werden: "sys/time.h": No such file or directory [C:\Software_Defined_Radio\Github-Tools\gr-foo-m
aint-3.7\Build\lib\gnuradio-foo.vcxproj]
periodic_msg_source_impl.cc
random_periodic_msg_source_impl.cc
C:\soft\boost_1_69_0\boost/pending/integer_log2.hpp(7): message : This header is deprecated. Use <boost/integer/integer
log2.hpp> instead. [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\random_periodic_msg_source_impl.cc(110,14): error C2131: Au
sdruck wurde nicht zu einer Konstanten ausgewertet. [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib
gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\random_periodic_msg_source_impl.cc(110,14): message : Der F
ehler wurde durch einen Lesezugriff auf eine Variable außerhalb ihrer Lebensdauer verursacht. [C:\Software_Defined_Radi
o\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\random_periodic_msg_source_impl.cc(110,14): message : siehe
Verwendung von "this" [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\random_periodic_msg_source_impl.cc(113,25): error C3863: De
r Arraytyp "uint8_t [this->8<L_ALIGN>16]" kann nicht zugewiesen werden. [C:\Software_Defined_Radio\Github-Tools\gr-foo-
maint-3.7\Build\lib\gnuradio-foo.vcxproj]
rtt_measure_impl.cc
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\rtt_measure_impl.cc(77,36): warning C4267: "Initialisierung
": Konvertierung von "size_t" nach "int", Datenverlust möglich [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7
\Build\lib\gnuradio-foo.vcxproj]
wireshark_connector_impl.cc
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\wireshark_connector_impl.h(51,18): error C2065: "packed": n
ichtdeklarierter Bezeichner [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\wireshark_connector_impl.h(58,18): error C2065: "packed": n
ichtdeklarierter Bezeichner [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\wireshark_connector_impl.h(58,3): error C2371: "gr::foo::

attribute
": Neudefinition; unterschiedliche Basistypen [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build
\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\wireshark_connector_impl.h(51): message : Siehe Deklaration
von "gr::foo::attribute" [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\wireshark_connector_impl.h(70,18): error C2065: "packed": n
ichtdeklarierter Bezeichner [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\wireshark_connector_impl.h(70,3): error C2371: "gr::foo::

attribute
": Neudefinition; unterschiedliche Basistypen [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build
\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\wireshark_connector_impl.h(51): message : Siehe Deklaration
von "gr::foo::attribute" [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\wireshark_connector_impl.cc(24,10): fatal error C1083: Date
i (Include) kann nicht geöffnet werden: "sys/time.h": No such file or directory [C:\Software_Defined_Radio\Github-Tools
\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
Code wird generiert...
Die Erstellung des Projekts "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj" is
t abgeschlossen (Standardziele) -- FEHLER.

Die Erstellung des Projekts "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj.met
aproj" ist abgeschlossen (Standardziele) -- FEHLER.

Die Erstellung des Projekts "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig_foo_swig.vcxproj.metap
roj" ist abgeschlossen (Standardziele) -- FEHLER.

Das Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\ALL_BUILD.vcxproj.metaproj" (2) erstellt "C:
\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\python\pygen_python_2e4ef.vcxproj.metaproj" (13) auf Knoten
"1" (Standardziele).
Das Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\python\pygen_python_2e4ef.vcxproj.metaproj"
(13) erstellt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\python\pygen_python_2e4ef.vcxproj" (14) au
f Knoten "1" (Standardziele).
InitializeBuildStatus:
"x64\Debug\pygen_python_2e4ef\pygen_py.633D9DFF.tlog\unsuccessfulbuild" wird erstellt, da "AlwaysCreate" angegeben wu
rde.
FinalizeBuildStatus:
Die Datei "x64\Debug\pygen_python_2e4ef\pygen_py.633D9DFF.tlog\unsuccessfulbuild" wird gelöscht.
Aktualisieren des Timestamps von "x64\Debug\pygen_python_2e4ef\pygen_py.633D9DFF.tlog\pygen_python_2e4ef.lastbuildsta
te".
Die Erstellung von Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\python\pygen_python_2e4ef.vcx
proj" ist abgeschlossen (Standardziele).

Die Erstellung von Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\python\pygen_python_2e4ef.vcx
proj.metaproj" ist abgeschlossen (Standardziele).

Das Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\ALL_BUILD.vcxproj.metaproj" (2) erstellt "C:
\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\pygen_swig_f91f7.vcxproj.metaproj" (15) auf Knoten "1"
(Standardziele).
Das Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\pygen_swig_f91f7.vcxproj.metaproj" (15)
erstellt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\pygen_swig_f91f7.vcxproj" (16) auf Knoten
"1" (Standardziele).
InitializeBuildStatus:
"x64\Debug\pygen_swig_f91f7\pygen_swig_f91f7.tlog\unsuccessfulbuild" wird erstellt, da "AlwaysCreate" angegeben wurde
.
CustomBuild:
"The build of 'C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\CMakeFiles\e9eb4de2d097eca69964cb9eab778
483\pygen_swig_f91f7.rule' depends on 'C:\SOFTWARE_DEFINED_RADIO\GITHUB-TOOLS\GR-FOO-MAINT-3.7\BUILD\SWIG\FOO_SWIG.PY
C' which is produced by the build of 'C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\CMakeFiles\ac6755
42d9a21a4a02d023006d20d45a\foo_swig.pyc.rule'. The items cannot be built in parallel."
Generating foo_swig.pyc
Generating foo_swig.pyo
FinalizeBuildStatus:
Die Datei "x64\Debug\pygen_swig_f91f7\pygen_swig_f91f7.tlog\unsuccessfulbuild" wird gelöscht.
Aktualisieren des Timestamps von "x64\Debug\pygen_swig_f91f7\pygen_swig_f91f7.tlog\pygen_swig_f91f7.lastbuildstate".
Die Erstellung von Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\pygen_swig_f91f7.vcxproj
" ist abgeschlossen (Standardziele).

Die Erstellung von Projekt "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig\pygen_swig_f91f7.vcxproj
.metaproj" ist abgeschlossen (Standardziele).

Die Erstellung des Projekts "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\ALL_BUILD.vcxproj.metaproj"
ist abgeschlossen (Standardziele) -- FEHLER.

Die Erstellung des Projekts "C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\gr-foo.sln" ist abgeschlosse
n (Standardziele) -- FEHLER.

Fehler beim Buildvorgang.

"C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\gr-foo.sln" (Standardziel) (1) ->
"C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\ALL_BUILD.vcxproj.metaproj" (Standardziel) (2) ->
"C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig_foo_swig.vcxproj.metaproj" (Standardziel) (4) ->
"C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj.metaproj" (Standardziel) (11) -

"C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj" (Standardziel) (12) ->
(ClCompile Ziel) ->
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\rtt_measure_impl.cc(77,36): warning C4267: "Initialisieru
ng": Konvertierung von "size_t" nach "int", Datenverlust möglich [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3
.7\Build\lib\gnuradio-foo.vcxproj]

"C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\gr-foo.sln" (Standardziel) (1) ->
"C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\ALL_BUILD.vcxproj.metaproj" (Standardziel) (2) ->
"C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\swig_foo_swig.vcxproj.metaproj" (Standardziel) (4) ->
"C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj.metaproj" (Standardziel) (11) -

"C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj" (Standardziel) (12) ->
(ClCompile Ziel) ->
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\burst_tagger_impl.cc(86,25): error C2589: "(": Ungültiges
Token auf der rechten Seite von "::" [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.v
cxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\burst_tagger_impl.cc(86,25): error C2062: "unknown-type"-
Typ unerwartet [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\burst_tagger_impl.cc(86,25): error C2059: Syntaxfehler: "
)" [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\burst_tagger_impl.cc(94,18): error C2589: "(": Ungültiges
Token auf der rechten Seite von "::" [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.v
cxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\burst_tagger_impl.cc(94,18): error C2062: "unknown-type"-
Typ unerwartet [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\burst_tagger_impl.cc(94,18): error C2059: Syntaxfehler: "
)" [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\packet_pad2.cc(20,10): fatal error C1083: Datei (Include)
kann nicht geöffnet werden: "sys/time.h": No such file or directory [C:\Software_Defined_Radio\Github-Tools\gr-foo-mai
nt-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\packet_pad_impl.cc(21,10): fatal error C1083: Datei (Incl
ude) kann nicht geöffnet werden: "sys/time.h": No such file or directory [C:\Software_Defined_Radio\Github-Tools\gr-foo
-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\random_periodic_msg_source_impl.cc(110,14): error C2131:
Ausdruck wurde nicht zu einer Konstanten ausgewertet. [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\li
b\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\random_periodic_msg_source_impl.cc(113,25): error C3863:
Der Arraytyp "uint8_t [this->8<L_ALIGN>16]" kann nicht zugewiesen werden. [C:\Software_Defined_Radio\Github-Tools\gr-fo
o-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\wireshark_connector_impl.h(51,18): error C2065: "packed":
nichtdeklarierter Bezeichner [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\wireshark_connector_impl.h(58,18): error C2065: "packed":
nichtdeklarierter Bezeichner [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\wireshark_connector_impl.h(58,3): error C2371: "gr::foo::
attribute": Neudefinition; unterschiedliche Basistypen [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Bui
ld\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\wireshark_connector_impl.h(70,18): error C2065: "packed":
nichtdeklarierter Bezeichner [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\wireshark_connector_impl.h(70,3): error C2371: "gr::foo::
attribute": Neudefinition; unterschiedliche Basistypen [C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\Bui
ld\lib\gnuradio-foo.vcxproj]
C:\Software_Defined_Radio\Github-Tools\gr-foo-maint-3.7\lib\wireshark_connector_impl.cc(24,10): fatal error C1083: Da
tei (Include) kann nicht geöffnet werden: "sys/time.h": No such file or directory [C:\Software_Defined_Radio\Github-Too
ls\gr-foo-maint-3.7\Build\lib\gnuradio-foo.vcxproj]

1 Warnung(en)
16 Fehler

Verstrichene Zeit 00:00:18.41

I hope someone can help me to fix this, so i can go on and use gr-ieee802..11

OS X build error

I'm having the same error trying to build the 802.15.4 block, but since that depends on this, figured I'd file here first. GNURadio installed with macports:

gnuradio @3.7.6.1_2+docs+grc+jack+orc+portaudio+python27+qtgui+sdl+swig+uhd+wavelet+wxgui

Please let me what other information you need. I'm a complete novice when it comes to cmake and c++, but I'd really like to get this to work.

jkmp:build jay$ cmake ..; make
-- Build type not specified: defaulting to release.
-- Boost version: 1.57.0
-- Found the following Boost libraries:
--   filesystem
--   system
--   thread
Checking for GNU Radio Module: RUNTIME
 * INCLUDES=/opt/local/include
 * LIBS=/opt/local/lib/libgnuradio-runtime.dylib;/opt/local/lib/libgnuradio-pmt.dylib
GNURADIO_RUNTIME_FOUND = TRUE
Checking for GNU Radio Module: PMT
 * INCLUDES=/opt/local/include
 * LIBS=/opt/local/lib/libgnuradio-runtime.dylib;/opt/local/lib/libgnuradio-pmt.dylib
GNURADIO_PMT_FOUND = TRUE
CMake Warning (dev) at /opt/local/share/cmake/gnuradio/GrTest.cmake:45 (get_target_property):
  Policy CMP0026 is not set: Disallow use of the LOCATION target property.
  Run "cmake --help-policy CMP0026" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.

  The LOCATION property should not be read from target "test-foo".  Use the
  target name directly with add_custom_command, or use the generator
  expression $<TARGET_FILE>, as appropriate.

Call Stack (most recent call first):
  lib/CMakeLists.txt:80 (GR_ADD_TEST)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jay/repos/gr-foo/build
[  5%] Building CXX object lib/CMakeFiles/gnuradio-foo.dir/burst_tagger_impl.cc.o
[ 11%] Building CXX object lib/CMakeFiles/gnuradio-foo.dir/packet_dropper_impl.cc.o
[ 17%] Building CXX object lib/CMakeFiles/gnuradio-foo.dir/packet_pad_impl.cc.o
[ 23%] Building CXX object lib/CMakeFiles/gnuradio-foo.dir/packet_pad2.cc.o
[ 29%] Building CXX object lib/CMakeFiles/gnuradio-foo.dir/periodic_msg_source_impl.cc.o
[ 35%] Building CXX object lib/CMakeFiles/gnuradio-foo.dir/wireshark_connector_impl.cc.o
[ 41%] Building CXX object lib/CMakeFiles/gnuradio-foo.dir/rtt_measure_impl.cc.o
Linking CXX shared library libgnuradio-foo.dylib
Undefined symbols for architecture x86_64:
  "gr::sync_block::general_work(int, std::vector<int, std::allocator<int> >&, std::vector<void const*, std::allocator<void const*> >&, std::vector<void*, std::allocator<void*> >&)", referenced from:
      vtable for gr::foo::burst_tagger in burst_tagger_impl.cc.o
      construction vtable for gr::foo::burst_tagger-in-gr::foo::burst_tagger_impl in burst_tagger_impl.cc.o
      vtable for gr::foo::burst_tagger_impl in burst_tagger_impl.cc.o
  "gr::sync_block::forecast(int, std::vector<int, std::allocator<int> >&)", referenced from:
      vtable for gr::foo::burst_tagger in burst_tagger_impl.cc.o
      construction vtable for gr::foo::burst_tagger-in-gr::foo::burst_tagger_impl in burst_tagger_impl.cc.o
      vtable for gr::foo::burst_tagger_impl in burst_tagger_impl.cc.o
  "gr::sync_block::sync_block(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<gr::io_signature>, boost::shared_ptr<gr::io_signature>)", referenced from:
      gr::foo::burst_tagger_impl::burst_tagger_impl(boost::intrusive_ptr<pmt::pmt_base>, unsigned int) in burst_tagger_impl.cc.o
      gr::foo::burst_tagger::make(boost::intrusive_ptr<pmt::pmt_base>, unsigned int) in burst_tagger_impl.cc.o
  "gr::tagged_stream_block::general_work(int, std::vector<int, std::allocator<int> >&, std::vector<void const*, std::allocator<void const*> >&, std::vector<void*, std::allocator<void*> >&)", referenced from:
      construction vtable for gr::foo::packet_pad2-in-packet_pad2_impl in packet_pad2.cc.o
      vtable for packet_pad2_impl in packet_pad2.cc.o
      vtable for gr::foo::packet_pad2 in packet_pad2.cc.o
  "gr::tagged_stream_block::parse_length_tags(std::vector<std::vector<gr::tag_t, std::allocator<gr::tag_t> >, std::allocator<std::vector<gr::tag_t, std::allocator<gr::tag_t> > > > const&, std::vector<int, std::allocator<int> >&)", referenced from:
      construction vtable for gr::foo::packet_pad2-in-packet_pad2_impl in packet_pad2.cc.o
      vtable for packet_pad2_impl in packet_pad2.cc.o
      vtable for gr::foo::packet_pad2 in packet_pad2.cc.o
  "gr::tagged_stream_block::calculate_output_stream_length(std::vector<int, std::allocator<int> > const&)", referenced from:
      construction vtable for gr::foo::packet_pad2-in-packet_pad2_impl in packet_pad2.cc.o
      vtable for gr::foo::packet_pad2 in packet_pad2.cc.o
  "gr::tagged_stream_block::forecast(int, std::vector<int, std::allocator<int> >&)", referenced from:
      construction vtable for gr::foo::packet_pad2-in-packet_pad2_impl in packet_pad2.cc.o
      vtable for packet_pad2_impl in packet_pad2.cc.o
      vtable for gr::foo::packet_pad2 in packet_pad2.cc.o
  "gr::tagged_stream_block::tagged_stream_block(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<gr::io_signature>, boost::shared_ptr<gr::io_signature>, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      gr::foo::packet_pad2::make(bool, bool, double, unsigned int, unsigned int) in packet_pad2.cc.o
  "gr::block::general_work(int, std::vector<int, std::allocator<int> >&, std::vector<void const*, std::allocator<void const*> >&, std::vector<void*, std::allocator<void*> >&)", referenced from:
      construction vtable for gr::foo::packet_dropper-in-gr::foo::packet_dropper_impl in packet_dropper_impl.cc.o
      vtable for gr::foo::packet_dropper_impl in packet_dropper_impl.cc.o
      vtable for gr::foo::packet_dropper in packet_dropper_impl.cc.o
      vtable for gr::foo::packet_pad in packet_pad_impl.cc.o
      construction vtable for gr::foo::packet_pad-in-gr::foo::packet_pad_impl in packet_pad_impl.cc.o
      vtable for gr::foo::periodic_msg_source in periodic_msg_source_impl.cc.o
      construction vtable for gr::foo::periodic_msg_source-in-gr::foo::periodic_msg_source_impl in periodic_msg_source_impl.cc.o
      ...
  "gr::block::get_tags_in_range(std::vector<gr::tag_t, std::allocator<gr::tag_t> >&, unsigned int, unsigned long long, unsigned long long)", referenced from:
      gr::foo::packet_pad_impl::general_work(int, std::vector<int, std::allocator<int> >&, std::vector<void const*, std::allocator<void const*> >&, std::vector<void*, std::allocator<void*> >&) in packet_pad_impl.cc.o
      packet_pad2_impl::work(int, std::vector<int, std::allocator<int> >&, std::vector<void const*, std::allocator<void const*> >&, std::vector<void*, std::allocator<void*> >&) in packet_pad2.cc.o
  "gr::block::get_tags_in_range(std::vector<gr::tag_t, std::allocator<gr::tag_t> >&, unsigned int, unsigned long long, unsigned long long, boost::intrusive_ptr<pmt::pmt_base> const&)", referenced from:
      gr::foo::burst_tagger_impl::work(int, std::vector<void const*, std::allocator<void const*> >&, std::vector<void*, std::allocator<void*> >&) in burst_tagger_impl.cc.o
  "gr::block::set_processor_affinity(std::vector<int, std::allocator<int> > const&)", referenced from:
      vtable for gr::foo::burst_tagger in burst_tagger_impl.cc.o
      construction vtable for gr::foo::burst_tagger-in-gr::foo::burst_tagger_impl in burst_tagger_impl.cc.o
      vtable for gr::foo::burst_tagger_impl in burst_tagger_impl.cc.o
      construction vtable for gr::foo::packet_dropper-in-gr::foo::packet_dropper_impl in packet_dropper_impl.cc.o
      vtable for gr::foo::packet_dropper_impl in packet_dropper_impl.cc.o
      vtable for gr::foo::packet_dropper in packet_dropper_impl.cc.o
      vtable for gr::foo::packet_pad in packet_pad_impl.cc.o
      ...
  "gr::block::forecast(int, std::vector<int, std::allocator<int> >&)", referenced from:
      construction vtable for gr::foo::packet_dropper-in-gr::foo::packet_dropper_impl in packet_dropper_impl.cc.o
      vtable for gr::foo::packet_dropper_impl in packet_dropper_impl.cc.o
      vtable for gr::foo::packet_dropper in packet_dropper_impl.cc.o
      vtable for gr::foo::packet_pad in packet_pad_impl.cc.o
      construction vtable for gr::foo::packet_pad-in-gr::foo::packet_pad_impl in packet_pad_impl.cc.o
      vtable for gr::foo::periodic_msg_source in periodic_msg_source_impl.cc.o
      construction vtable for gr::foo::periodic_msg_source-in-gr::foo::periodic_msg_source_impl in periodic_msg_source_impl.cc.o
      ...
  "gr::block::block(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<gr::io_signature>, boost::shared_ptr<gr::io_signature>)", referenced from:
      gr::foo::packet_dropper_impl::packet_dropper_impl(double, unsigned long) in packet_dropper_impl.cc.o
      gr::foo::packet_pad_impl::packet_pad_impl(bool, bool, double, unsigned int, unsigned int) in packet_pad_impl.cc.o
      gr::foo::periodic_msg_source_impl::periodic_msg_source_impl(boost::intrusive_ptr<pmt::pmt_base>, float, int, bool, bool) in periodic_msg_source_impl.cc.o
      gr::foo::periodic_msg_source::make(boost::intrusive_ptr<pmt::pmt_base>, float, int, bool, bool) in periodic_msg_source_impl.cc.o
      gr::foo::wireshark_connector_impl::wireshark_connector_impl(gr::foo::LinkType, bool) in wireshark_connector_impl.cc.o
      gr::foo::rtt_measure_impl::rtt_measure_impl(unsigned long) in rtt_measure_impl.cc.o
  "pmt::string_to_symbol(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      gr::foo::burst_tagger_impl::add_sob(unsigned long long) in burst_tagger_impl.cc.o
      gr::foo::burst_tagger_impl::add_eob(unsigned long long) in burst_tagger_impl.cc.o
      gr::foo::packet_dropper_impl::packet_dropper_impl(double, unsigned long) in packet_dropper_impl.cc.o
      gr::foo::packet_dropper_impl::packet_dropper_impl(double, unsigned long) in packet_dropper_impl.cc.o
      gr::foo::packet_dropper_impl::msg_handler(boost::intrusive_ptr<pmt::pmt_base>)         in packet_dropper_impl.cc.o
      pmt::mp(char const*) in packet_pad_impl.cc.o
      gr::foo::packet_pad_impl::add_sob(unsigned long long) in packet_pad_impl.cc.o
      ...
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[2]: *** [lib/libgnuradio-foo.dylib] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-foo.dir/all] Error 2
make: *** [all] Error 2
jkmp:build jay$ 

Compile errror

Hello I have get these error: but gnuradio have not "mmse_resampler_cc.h" in https://github.com/gnuradio/gnuradio/tree/master/gr-filter/include/gnuradio/filter

Could you help me please..

[ 4%] Building CXX object lib/CMakeFiles/gnuradio-foo.dir/channel_model_impl.cc.o
In file included from /home/hp/sdr/gr-foo/lib/channel_model_impl.cc:18:0:
/home/hp/sdr/gr-foo/lib/channel_model_impl.h:27:47: fatal error: gnuradio/filter/mmse_resampler_cc.h: No such file or directory
#include <gnuradio/filter/mmse_resampler_cc.h>
^
compilation terminated.

cmake compile error with GNURadio master

Hi,
I am getting the following compile errors

cmake ..
-- Build type not specified: defaulting to release.
CMake Warning at CMakeLists.txt:84 (find_package):
  By not providing "FindUHD.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "UHD", but
  CMake did not find one.

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

    UHDConfig.cmake
    uhd-config.cmake

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


-- UHD library not found, no support for timed TX.
CMake Error at CMakeLists.txt:98 (find_package):
  Could not find a configuration file for package "Gnuradio" that is
  compatible with requested version "3.8".

  The following configuration files were considered but not accepted:

    /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake, version: 3.7.9.1



-- Configuring incomplete, errors occurred!
See also "/home/rp/gr-foo/build/CMakeFiles/CMakeOutput.log".

I installed GNU Radio from prebuilt ppa: https://wiki.gnuradio.org/index.php/InstallingGR#Linux
and I followed the commands in your readme https://github.com/bastibl/gr-foo#installation

Please advise on what I should do to fix it.
I'm trying to run your code from your other projects: https://github.com/bastibl/gr-ieee802-11

Cmake issue

Hello,

I am trying to install the gr-foo but I encountered the following error.
-- UHD library found.
CMake Error at CMakeLists.txt:88 (find_package):
Could not find a configuration file for package "Gnuradio" that is
compatible with requested version "3.9".

The following configuration files were considered but not accepted:

/usr/local/lib/cmake/gnuradio/GnuradioConfig.cmake, version: 3.8.3.git

-- Configuring incomplete, errors occurred!
See also "/xxx/xxx/workarea/gr-foo/build/CMakeFiles/CMakeOutput.log".

I have installed the GNU Radio 3.8 but I do not understand why the make file keeps looking for the 3.9 one.
Can anyone help me ?

Thank you
Ali

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.