Page 1 of 1

GNU Radio with Jack support

Posted: Fri Feb 13, 2015 9:40 am
by veso266
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

Re: GNU Radio with Jack support

Posted: Mon Feb 16, 2015 6:11 am
by veso266
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

Re: GNU Radio with Jack support

Posted: Mon Feb 16, 2015 7:26 am
by veso266
OK so when I do that what is the easiest way to check if gr-audio-jack was installed and if gnuradio support jack?

Re: GNU Radio with Jack support

Posted: Mon Feb 16, 2015 9:52 am
by veso266
What do you think what is better build-gnuradio script or PyBOMBS and why?

Re: GNU Radio with Jack support

Posted: Mon Feb 16, 2015 1:38 pm
by veso266
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".

Re: GNU Radio with Jack support

Posted: Thu Feb 19, 2015 2:04 am
by veso266
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

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

Re: GNU Radio with Jack support

Posted: Thu Feb 19, 2015 2:05 am
by veso266
the only trouble I had is getting RDS aut of flowgraph maybe my jack setting aren't right