Hi,

I'm trying to build gr-fcdproplus for GR 3.8

since 'libusb-1.0' was missing, I did:
   "sudo apt-get install libusb-1.0"

to load hidapi, I did 'sudo pip3 install hidapi'

the cmake summary is:
-- ================ Build Summary =========================
-- Building gr-fcdproplus  : .. for Linux
-- Building for gnuradio   : 3.8.0.0
-- Using CMAKE Module path : /home/pi/gr-fcdproplus/cmake/Modules;/usr/local/lib/cmake/gnuradio
-- CMake Modules Dir       : lib/cmake
-- fcdproplus INCLUDES     : include/fcdproplus
-- Using install prefix    : /usr/local
-- Installing grc files to : /usr/local/share/gnuradio/grc/blocks
-- Bundled hidapi is used
-- ========================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/gr-fcdproplus/build

the make produced (second try):
pi@raspberrypi:~/gr-fcdproplus/build $ make -j3
[ 11%] Built target _fcdproplus_swig_doc_tag
[ 23%] Built target pygen_python_34b56
[ 29%] Building CXX object lib/CMakeFiles/gnuradio-fcdproplus.dir/fcdpp_control_impl.cc.o [ 41%] Building CXX object lib/CMakeFiles/gnuradio-fcdproplus.dir/fcd_control_impl.cc.o [ 41%] Building CXX object lib/CMakeFiles/gnuradio-fcdproplus.dir/fcd_impl.cc.o
In file included from /home/pi/gr-fcdproplus/lib/fcd_control_impl.cc:26:
/home/pi/gr-fcdproplus/lib/fcd_control_impl.h:29:10: fatal error: hidapi.h: No such file or directory
 #include "hidapi.h"
          ^~~~~~~~~~
compilation terminated.
make[2]: *** [lib/CMakeFiles/gnuradio-fcdproplus.dir/build.make:89: lib/CMakeFiles/gnuradio-fcdproplus.dir/fcd_control_impl.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/pi/gr-fcdproplus/lib/fcdpp_control_impl.cc:23: /home/pi/gr-fcdproplus/lib/fcdpp_control_impl.h:29:10: fatal error: hidapi.h: No such file or directory
 #include "hidapi.h"
          ^~~~~~~~~~
compilation terminated.
[ 47%] Built target doxygen_target
make[2]: *** [lib/CMakeFiles/gnuradio-fcdproplus.dir/build.make:76: lib/CMakeFiles/gnuradio-fcdproplus.dir/fcdpp_control_impl.cc.o] Error 1
[ 58%] Built target fcdproplus_swig_swig_doc
[ 64%] Built target fcdproplus_swig_swig_compilation
make[1]: *** [CMakeFiles/Makefile2:141: lib/CMakeFiles/gnuradio-fcdproplus.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

What do I need to do to resolve the missing "hidapi.h"? I found a HIDAPI package on Git. Is is better / different?

Thanks for your help.
--
Barry Duggan

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to