balint256 / gr-baz

Collection of new blocks for GNU Radio
http://wiki.spench.net/wiki/gr-baz
GNU General Public License v3.0
192 stars 78 forks source link

make error #48

Open RAJensen opened 7 years ago

RAJensen commented 7 years ago

Hello. I'm tried to install gr-baz but i run in to trouble. I've installed gnu-radio and gnuradio-dev with apt-get. Then i've cloned gr-baz and used: sudo cmake -DCMAKE_PREFIX_PATH=/usr/lib/cmake/gnuradio Everything went fine, but when i use: sudo make i'll get this error: [ 2%] Building CXX object lib/CMakeFiles/gnuradio-baz.dir/baz_print_char.cc.o In file included from /usr/include/gnuradio/block.h:29:0, from /usr/include/gnuradio/sync_block.h:27, from /home/pi/gr-baz/lib/baz_print_char.h:31, from /home/pi/gr-baz/lib/baz_print_char.cc:37: /usr/include/gnuradio/logger.h:122:31: fatal error: log4cpp/Category.hh: No such file or directory

include <log4cpp/Category.hh>

compilation terminated. lib/CMakeFiles/gnuradio-baz.dir/build.make:62: recipe for target 'lib/CMakeFiles/gnuradio-baz.dir/baz_print_char.cc.o' failed make[2]: [lib/CMakeFiles/gnuradio-baz.dir/baz_print_char.cc.o] Error 1 CMakeFiles/Makefile2:117: recipe for target 'lib/CMakeFiles/gnuradio-baz.dir/all' failed make[1]: [lib/CMakeFiles/gnuradio-baz.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2

So I would really apreciat a little help. What is it that I missed?

ecapson commented 7 years ago

do cmake -DCMAKE_INSTALL_PREFIX=/usr .. because it's searching for other subdirectories from there. by default it starts from /usr/local/