GNU Radio with Jack support
-
- Posts: 15
- Joined: Thu Nov 06, 2014 2:15 am
GNU Radio with Jack support
Hi I would like to use this FM IBOC Transmitter https://nuand.com/forums/viewtopic.php?f=8&t=3523 but I can't get GNU Radio to support Jack. I use build-gnuradio install script to install GNU Radio and bladerf on Ubuntu Studio. So anyone know how to install GNU Radio with Jack Support.
Best Regards
Best Regards
-
- Posts: 455
- Joined: Thu Jun 06, 2013 8:15 pm
Re: GNU Radio with Jack support
When you run CMake to configure GNU Radio, what's the output look like for gr-audio. I did not have jack setup, so I saw something like this:
After a quick look at the jack-related packages in my package manager (I still like to use synaptic for this), I see there's a libjack-jackd2-dev package, so I installed that. This appears to have satisifed the CMakeLists.txt for gr-audio:
I didn't test things out, but perhaps this will give you a good start. If none of this was useful to you, could you perhaps elaborate on your situation?
Code: Select all
-- Configuring gr-audio support...
-- Dependency Boost_FOUND = 1
-- Dependency ENABLE_GNURADIO_RUNTIME = ON
-- Enabling gr-audio support.
-- Override with -DENABLE_GR_AUDIO=ON/OFF
-- Found ALSA 1.0.27.2
-- checking for module 'jack'
-- package 'jack' not found
-- checking for module 'portaudio-2.0'
-- package 'portaudio-2.0' not found
-- checking for module 'comedilib'
-- package 'comedilib' not found
Code: Select all
-- Configuring gr-audio support...
-- Dependency Boost_FOUND = 1
-- Dependency ENABLE_GNURADIO_RUNTIME = ON
-- Enabling gr-audio support.
-- Override with -DENABLE_GR_AUDIO=ON/OFF
-- Found ALSA 1.0.27.2
-- checking for module 'jack'
-- found jack, version 1.9.10
-- Found jack: /usr/lib/x86_64-linux-gnu/libjack.so
-- checking for module 'portaudio-2.0'
-- package 'portaudio-2.0' not found
-- checking for module 'comedilib'
-- package 'comedilib' not found
-
- Posts: 15
- Joined: Thu Nov 06, 2014 2:15 am
Re: GNU Radio with Jack support
Thanks
I use this script: http://www.sbrac.org/files/build-gnuradio (I can sit back and relax while script does all the work for me) so I don't know how I can run cmake again? I use Ubuntu Studio which has Jack preinstalled http://ubuntustudio.org/ (So do I still need to install libjack-jackd2-dev?)
PS: Can I run cmake again so that gr-audio will be reinstalled?
Best Regards
I use this script: http://www.sbrac.org/files/build-gnuradio (I can sit back and relax while script does all the work for me) so I don't know how I can run cmake again? I use Ubuntu Studio which has Jack preinstalled http://ubuntustudio.org/ (So do I still need to install libjack-jackd2-dev?)
PS: Can I run cmake again so that gr-audio will be reinstalled?
Best Regards
-
- Posts: 455
- Joined: Thu Jun 06, 2013 8:15 pm
Re: GNU Radio with Jack support
Wherever you ran build-gnuradio, you should be able to track down a gnuradio/gr-analog directory. There may be a build directory within that -- there will be a CMakeCache.txt file in that build directory. From there you should be able to re-run cmake ../ && make && sudo make install.
Generally, the -dev packages install the header files that you'll need when building against libraries. You can take a look at what jack packages are installed, and look for an associated -dev package.
Generally, the -dev packages install the header files that you'll need when building against libraries. You can take a look at what jack packages are installed, and look for an associated -dev package.
-
- Posts: 15
- Joined: Thu Nov 06, 2014 2:15 am
Re: GNU Radio with Jack support
OK so when I do that what is the easiest way to check if gr-audio-jack was installed and if gnuradio support jack?
-
- Posts: 455
- Joined: Thu Jun 06, 2013 8:15 pm
Re: GNU Radio with Jack support
When you run CMake in the gr-audio build directory, you'll see some output like I showed in my earlier post. Note the "found jack..." text -- that's what's going to tell you that it's ready to be re-compiled and re-installed with jack support.
-
- Posts: 15
- Joined: Thu Nov 06, 2014 2:15 am
Re: GNU Radio with Jack support
What do you think what is better build-gnuradio script or PyBOMBS and why?
-
- Posts: 455
- Joined: Thu Jun 06, 2013 8:15 pm
Re: GNU Radio with Jack support
PyBOMBS is the new GR install management system, so if you're not comfortable with build-gnuradio, go with PyBOMBS.
I suspect you might find PyBOMBS a bit easier to navigate and work with.
I suspect you might find PyBOMBS a bit easier to navigate and work with.
-
- Posts: 15
- Joined: Thu Nov 06, 2014 2:15 am
Re: GNU Radio with Jack support
when i go into gnuradio/gr-analog there is no build directory inside so I created it and run cmake ../ but error accour
Code: Select all
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- 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
-- 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
CMake Error at CMakeLists.txt:23 (include):
include could not find load file:
GrBoost
CMake Error at CMakeLists.txt:28 (include):
include could not find load file:
GrComponent
CMake Error at CMakeLists.txt:29 (GR_REGISTER_COMPONENT):
Unknown CMake command "GR_REGISTER_COMPONENT".
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 2.8)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
See also "/home/mitja/SDR/GNU/gnuradio/gr-analog/build/CMakeFiles/CMakeOutput.log".
-
- Posts: 455
- Joined: Thu Jun 06, 2013 8:15 pm
Re: GNU Radio with Jack support
My mistake. The build is done back in the gnuradio/ directory. (Normally, I do it in a build/ directory within it).
For what it's worth, the build directory will contain a CMakeCache.txt as well as a install_manifest.txt (if you did a make install).
For what it's worth, the build directory will contain a CMakeCache.txt as well as a install_manifest.txt (if you did a make install).
-
- Posts: 15
- Joined: Thu Nov 06, 2014 2:15 am
Re: GNU Radio with Jack support
To recall what I did (if some people have trouble)
1. download build-gnuradio script, chmod a+x and run it
2. Wait script that it wil finish its magic
3. go to Synaptic (sudo synaptic) and install libjack-jackd2-dev ) (optionaly I do sudo apt-get install Jack)
4. go to gnuradio directory (script will put the files where it is) and do cmake ../ && make && sudo make install
5. go to /usr/local/etc/gnuradio/conf.d and find gr-audio.conf file it shoud look like this
6. change (from auto to jack) audio_module = jack
7 install gr-drm (I must install libdrm from Synaptic before compiling it)
8. Enyoy (you can download FMDigital Flowgraph mentiond above here: http://sourceforge.net/projects/fmdigital/
PS: the thread about the FMDigital transmitter is here: https://nuand.com/forums/viewtopic.php?f=8&t=3523
1. download build-gnuradio script, chmod a+x and run it
2. Wait script that it wil finish its magic
3. go to Synaptic (sudo synaptic) and install libjack-jackd2-dev ) (optionaly I do sudo apt-get install Jack)
4. go to gnuradio directory (script will put the files where it is) and do cmake ../ && make && sudo make install
5. go to /usr/local/etc/gnuradio/conf.d and find gr-audio.conf file it shoud look like this
Code: Select all
# This file contains system wide configuration data for GNU Radio.
# You may override any setting on a per-user basis by editing
# ~/.gnuradio/config.conf
# specify which audio module to load, or use "auto" to have the system
# select one. Valid choices depend on your OS and which modules
# you've installed, but typically include:
# auto, alsa, oss, portaudio, jack, osx, windows
[audio]
audio_module = auto
7 install gr-drm (I must install libdrm from Synaptic before compiling it)
8. Enyoy (you can download FMDigital Flowgraph mentiond above here: http://sourceforge.net/projects/fmdigital/
PS: the thread about the FMDigital transmitter is here: https://nuand.com/forums/viewtopic.php?f=8&t=3523
Last edited by veso266 on Thu Feb 19, 2015 1:35 pm, edited 2 times in total.
-
- Posts: 15
- Joined: Thu Nov 06, 2014 2:15 am
Re: GNU Radio with Jack support
the only trouble I had is getting RDS aut of flowgraph maybe my jack setting aren't right