GNURadio with LimeSDR-USB - Error in build

#1

Hi,

I wanted to try my LimeSDR USB with GNURadio. I followed the intructions at https://wiki.myriadrf.org/Gr-limesdr_Plugin_for_GNURadio

I get an error while building gr-limesdr:[ 4%] Building CXX object lib/CMakeFiles/gnuradio-limesdr.dir/common/device_handler.cc.o
/home/ng/projects/gr-limesdr/lib/common/device_handler.cc: In member function ‘void device_handler::set_tcxo_dac(int, uint16_t)’:
/home/ng/projects/gr-limesdr/lib/common/device_handler.cc:539:70: error: ‘BOARD_PARAM_DAC’ was not declared in this scope
device_handler::getInstance().get_device(device_number), BOARD_PARAM_DAC, dacVal, NULL);
^
lib/CMakeFiles/gnuradio-limesdr.dir/build.make:110: recipe for target ‘lib/CMakeFiles/gnuradio-limesdr.dir/common/device_handler.cc.o’ failed
make[2]: *** [lib/CMakeFiles/gnuradio-limesdr.dir/common/device_handler.cc.o] Error 1
CMakeFiles/Makefile2:135: recipe for target ‘lib/CMakeFiles/gnuradio-limesdr.dir/all’ failed
make[1]: *** [lib/CMakeFiles/gnuradio-limesdr.dir/all] Error 2
Makefile:138: recipe for target ‘all’ failed
make: *** [all] Error 2

Any idea what this might be?

Thanks in advance

#2

I have manually changed BOARD_PARAM_DAC in that file to 0.

I saw it in one of the headers in /usr/lib/lime. compiler somehow couldn’t get it I guess.