Hi,

I am trying to run the RFNoC getting started Tutorial without using Pybombs. So I manually clone the four repositories from github and install each of them. I create the test bench as shown in the description. So I create a build folder in the folder of rfnoc-tutorial, jump in and run the following command:

cmake -DUHD_FPGA_DIR=/home/demo/Programmieren/UHD/rfnoc-tutorial/rfno

Terminal Output:

"-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Build type not specified: defaulting to release.
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for module 'cppunit'
-- Found cppunit, version 1.13.2
-- Found CPPUNIT: /usr/lib/x86_64-linux-gnu/libcppunit.so;dl
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.11")
Checking for GNU Radio Module: RUNTIME
-- Checking for module 'gnuradio-runtime'
-- Found gnuradio-runtime, version 3.7.11.1
* INCLUDES=/usr/local/include
* LIBS=/usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so -- Found GNURADIO_RUNTIME: /usr/local/lib/libgnuradio-runtime.so;/usr/local/lib/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE
-- Checking for module 'ettus'
-- No package 'ettus' found
-- Found ETTUS: /usr/local/lib/libgnuradio-ettus.so
* INCLUDES = /usr/local/include
* LIBS = /usr/local/lib/libgnuradio-ettus.so
-- Checking for module 'fpga'
-- No package 'fpga' found
-- Found FPGA: /home/demo/Programmieren/UHD/rfnoc-tutorial/rfnoc/fpga-src
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:86 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.

--
-- Checking for module SWIG
-- Found SWIG version 3.0.8.
-- Found SWIG: /usr/bin/swig3.0
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.12", minimum required is "2") -- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.12", minimum required is "2")
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of size_t
-- Check size of size_t - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE
-- Performing Test HAVE_WNO_UNUSED_BUT_SET_VARIABLE - Success
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 "gnuradio-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):
python/CMakeLists.txt:44 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/Modules/GrTest.cmake:45 (get_target_property):
Policy CMP0045 is not set: Error on non-existent target in
get_target_property. Run "cmake --help-policy CMP0045" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.

get_target_property() called with non-existent target "/usr/bin/python2".
Call Stack (most recent call first):
python/CMakeLists.txt:44 (GR_ADD_TEST)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/Modules/GrTest.cmake:45 (get_target_property):
Policy CMP0045 is not set: Error on non-existent target in get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.

get_target_property() called with non-existent target
"/home/demo/Programmieren/UHD/rfnoc-tutorial/python/qa_gain.py".
Call Stack (most recent call first):
python/CMakeLists.txt:44 (GR_ADD_TEST)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/demo/Programmieren/UHD/rfnoc-tutorial/build"


Is this the correct path or folder?

Or should I change the directory to the repositories (_https://github.com/EttusResearch/fpga_)?

Can I ignore the warnings?


After that I run the “make test_tb“ command. I think the output of the command line looks good:

Built target test_tb


Finally I run this command:

make noc_block_gain_tb

Terminal Output:

/bin/sh: 1: source: not found

CMakeFiles/noc_block_gain_tb.dir/build.make:57: die Regel für Ziel „CMakeFiles/noc_block_gain_tb“ scheiterte

make[3]: *** [CMakeFiles/noc_block_gain_tb] Fehler 127

CMakeFiles/Makefile2:131: die Regel für Ziel „CMakeFiles/noc_block_gain_tb.dir/all“ scheiterte

make[2]: *** [CMakeFiles/noc_block_gain_tb.dir/all] Fehler 2

CMakeFiles/Makefile2:138: die Regel für Ziel „CMakeFiles/noc_block_gain_tb.dir/rule“ scheiterte

make[1]: *** [CMakeFiles/noc_block_gain_tb.dir/rule] Fehler 2

Makefile:199: die Regel für Ziel „noc_block_gain_tb“ scheiterte

make: *** [noc_block_gain_tb] Fehler 2


What is wrong?

Or is that the same problem as described here ?

_http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2017-May/025085.html_
But there is no solution described.

Please, can you help me?


Thank you,

Philipp

_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to