Dear List, I'm looking to write c++ gnuradio blocks using the gr-howto-write-a-block code that comes with gnuradio. Unfortunately, when I do the build with the existing code, the tests fail. Has anyone else seen this? I'm running Ubuntu 12.10.
---------- ttracy@ubuntu:~/Documents/src/gnuradio/gr-howto-write-a-block/build$ sudo cmake ../ -- The CXX compiler identification is GNU 4.7.2 -- The C compiler identification is GNU 4.7.2 -- 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 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Build type not specified: defaulting to release. -- Boost version: 1.49.0 -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") -- checking for module 'gruel' -- found gruel, version 3.6.3git -- Found GRUEL: /usr/local/lib/libgruel.so -- checking for module 'gnuradio-core' -- found gnuradio-core, version 3.6.3git -- Found GNURADIO_CORE: /usr/local/lib/libgnuradio-core.so -- Boost version: 1.49.0 -- Found the following Boost libraries: -- unit_test_framework -- Found SWIG: /usr/bin/swig2.0 (found version "2.0.7") -- Found PythonLibs: /usr/lib/python3.2/config/libpython3.2.so (found version "2.7.3") -- Found PythonInterp: /usr/bin/python (found version "2.7.3") -- Found Doxygen: /usr/bin/doxygen (found version "1.8.1.2") -- Configuring done -- Generating done -- Build files have been written to: /home/ttracy/Documents/src/gnuradio/gr-howto-write-a-block/build ttracy@ubuntu:~/Documents/src/gnuradio/gr-howto-write-a-block/build$ sudo make Scanning dependencies of target gnuradio-howto [ 5%] Building CXX object lib/CMakeFiles/gnuradio-howto.dir/howto_square_ff.cc.o [ 10%] Building CXX object lib/CMakeFiles/gnuradio-howto.dir/howto_square2_ff.cc.o Linking CXX shared library libgnuradio-howto.so [ 10%] Built target gnuradio-howto Scanning dependencies of target qa_howto_square2_ff [ 15%] Building CXX object lib/CMakeFiles/qa_howto_square2_ff.dir/qa_howto_square2_ff.cc.o Linking CXX executable qa_howto_square2_ff [ 15%] Built target qa_howto_square2_ff Scanning dependencies of target qa_howto_square_ff [ 20%] Building CXX object lib/CMakeFiles/qa_howto_square_ff.dir/qa_howto_square_ff.cc.o Linking CXX executable qa_howto_square_ff [ 20%] Built target qa_howto_square_ff Scanning dependencies of target _howto_swig_swig_tag [ 25%] Building CXX object swig/CMakeFiles/_howto_swig_swig_tag.dir/_howto_swig_swig_tag.cpp.o Linking CXX executable _howto_swig_swig_tag [ 25%] Built target _howto_swig_swig_tag Scanning dependencies of target _howto_swig_doc_tag [ 30%] Building CXX object swig/CMakeFiles/_howto_swig_doc_tag.dir/_howto_swig_doc_tag.cpp.o Linking CXX executable _howto_swig_doc_tag [ 30%] Built target _howto_swig_doc_tag [ 35%] Generating doxygen xml for howto_swig_doc docs [ 40%] Generating howto_swig_doc.i [ 45%] Generating howto_swig.tag [ 50%] Swig source Scanning dependencies of target _howto_swig [ 55%] Building CXX object swig/CMakeFiles/_howto_swig.dir/howto_swigPYTHON_wrap.cxx.o Linking CXX shared module _howto_swig.so [ 55%] Built target _howto_swig Scanning dependencies of target pygen_swig_cc723 [ 60%] Generating howto_swig.pyc [ 65%] Generating howto_swig.pyo [ 85%] Built target pygen_swig_cc723 Scanning dependencies of target pygen_python_257bc [ 90%] Generating __init__.pyc [ 95%] Generating __init__.pyo [ 95%] Built target pygen_python_257bc Scanning dependencies of target pygen_apps_58acf [100%] Shebangin howto_square.py [100%] Built target pygen_apps_58acf ttracy@ubuntu:~/Documents/src/gnuradio/gr-howto-write-a-block/build$ sudo make test Running tests... Test project /home/ttracy/Documents/src/gnuradio/gr-howto-write-a-block/build Start 1: qa_howto_square_ff 1/3 Test #1: qa_howto_square_ff ............... Passed 0.01 sec Start 2: qa_howto_square2_ff 2/3 Test #2: qa_howto_square2_ff .............. Passed 0.01 sec Start 3: qa_howto 3/3 Test #3: qa_howto .........................***Failed 0.14 sec 67% tests passed, 1 tests failed out of 3 Total Test time (real) = 0.15 sec The following tests FAILED: 3 - qa_howto (Failed) Errors while running CTest make: *** [test] Error 8 ---------- Sincerely, Tommy James Tracy II PhD Student High Performance Low Power Lab University of Virginia
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio