cropinghigh / sdrpp-vhfvoiceradio

NFM demod with CTCSS/DCS and DSD
GNU General Public License v3.0
14 stars 6 forks source link

Compilation error #4

Closed alphapats closed 1 year ago

alphapats commented 1 year ago

Not able to compile the code. Error in 'make' command

src/dsp/dsd.h:2:10: fatal error: dsp/processor.h: No such file or directory

include <dsp/processor.h>

      ^~~~~~~~~~~~~~~~~

compilation terminated. CMakeFiles/vhfvoiceradio.dir/build.make:75: recipe for target 'CMakeFiles/vhfvoiceradio.dir/src/dsp/dsd_demod.cpp.o' failed make[2]: [CMakeFiles/vhfvoiceradio.dir/src/dsp/dsd_demod.cpp.o] Error 1 CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/vhfvoiceradio.dir/all' failed make[1]: [CMakeFiles/vhfvoiceradio.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2

cropinghigh commented 1 year ago

I guess you have outdated version of SDR++ headers. Try updating them

alphapats commented 1 year ago

I did fresh compilation of latest version of sdrpp code from github

alphapats commented 1 year ago

Any other suggestions to resolve the issue?Not able to resolve the error

alphapats commented 1 year ago

Issue resolved. Forgot to copy core headers cd "SDRPlusPlus/core/src" sudo mkdir -p "/usr/include/sdrpp_core" sudo find . -regex ".*.(h|hpp)" -exec cp --parents {} "/usr/include/sdrpp_core" \;