Hi, When I follow the instruction from "Getting Started with RFNoC Development" web and youtube video "RFNoC Getting Started Video Tutorial", everything was smooth until making the gain block testbench. Here is the error I got after the step "make noc_block_gain_tb":
"/bin/sh: 1: source: not found CMakeFiles/noc_block_gain_tb.dir/build.make:57: recipe for target 'CMakeFiles/noc_block_gain_tb' failed make[3]: *** [CMakeFiles/noc_block_gain_tb] Error 127 CMakeFiles/Makefile2:131: recipe for target 'CMakeFiles/noc_block_gain_tb.dir/all' failed make[2]: *** [CMakeFiles/noc_block_gain_tb.dir/all] Error 2 CMakeFiles/Makefile2:138: recipe for target 'CMakeFiles/noc_block_gain_tb.dir/rule' failed make[1]: *** [CMakeFiles/noc_block_gain_tb.dir/rule] Error 2 Makefile:201: recipe for target 'noc_block_gain_tb' failed make: *** [noc_block_gain_tb] Error 2" I know I am using bash as my default shell by "echo $0" I have added the block gain. I think there might be something wrong with cmake. I see some warning when I do "cmake ../" in the ~/rfnoc/src/rfnoc-tutorial/build directory. It shows this: "... Checking for GNU Radio Module: RUNTIME -- Checking for module 'gnuradio-runtime' -- Found gnuradio-runtime, version 3.7.12git * INCLUDES=/root/rfnoc/include * LIBS=/root/rfnoc/lib/libgnuradio-runtime.so;/root/rfnoc/lib/libgnuradio-pmt.so;/usr/lib/liblog4cpp.so -- Found GNURADIO_RUNTIME: /root/rfnoc/lib/libgnuradio-runtime.so;/root/rfnoc/lib/libgnuradio-pmt.so;/usr/lib/liblog4cpp.so GNURADIO_RUNTIME_FOUND = TRUE -- Checking for module 'ettus' -- No package 'ettus' found -- Found ETTUS: /root/rfnoc/lib/libgnuradio-ettus.so * INCLUDES = /root/rfnoc/include * LIBS = /root/rfnoc/lib/libgnuradio-ettus.so -- Checking for module 'fpga' -- No package 'fpga' found -- Found FPGA: /root/rfnoc/src/uhd-fpga CMake Warning (dev) at cmake/Modules/GrTest.cmake:45 (get_target_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The LOCATION property should not be read from target "test-tutorial". Use the target name directly with add_custom_command, or use the generator expression $<TARGET_FILE>, as appropriate. Call Stack (most recent call first): lib/CMakeLists.txt:85 (GR_ADD_TEST) This warning is for project developers. Use -Wno-dev to suppress it. ..." I find that there is another uhd-fpga folder in /~/rfnoc/src/rfnoc-tutorial/rfnoc. Is this the actual location I should provide for the fpga repository? Please give me some ideas. Thank you in advance! Chen
_______________________________________________ USRP-users mailing list USRP-users@lists.ettus.com http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com