Btw. just for the reference there is build error when using libmirisdr-4:
/home/mikos/temp/soapyosmo-git/gr-osmosdr/lib/miri/miri_source_c.cc: In constructor 'miri_source_c::miri_source_c(const string&)':
/home/mikos/temp/soapyosmo-git/gr-osmosdr/lib/miri/miri_source_c.cc:119:40: error: invalid conversion from 'unsigned int' to 'mirisdr_hw_flavour_t' [-fpermissive]
ret = mirisdr_open( &_dev, dev_index );
^
/home/mikos/temp/soapyosmo-git/gr-osmosdr/lib/miri/miri_source_c.cc:119:40: error: too few arguments to function 'int mirisdr_open(mirisdr_dev_t**, mirisdr_hw_flavour_t, uint32_t)'
In file included from /home/mikos/temp/soapyosmo-git/gr-osmosdr/lib/miri/miri_source_c.cc:41:0:
/usr/include/mirisdr.h:59:17: note: declared here
MIRISDR_API int mirisdr_open (mirisdr_dev_t **p, mirisdr_hw_flavour_t hw_flavour, uint32_t index);
^~~~~~~~~~~~
make[2]: *** [CMakeFiles/miriSupport.dir/build.make:63: CMakeFiles/miriSupport.dir/gr-osmosdr/lib/miri/miri_source_c.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:105: CMakeFiles/miriSupport.dir/all] Error 2
make: *** [Makefile:139: all] Error 2