discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] importing blocks to GRC


From: Pengyu Zhang
Subject: Re: [Discuss-gnuradio] importing blocks to GRC
Date: Thu, 29 May 2014 08:13:52 -0400

Yeah. I also think some configurations on my machine are not correct. Here are the output of several commands.

$ cmake ..
-- The CXX compiler identification is GNU 4.8.2
-- The C compiler identification is GNU 4.8.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/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Build type not specified: defaulting to release.
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- checking for module 'gnuradio-runtime'
--   found gnuradio-runtime, version 3.7.2.1
-- Found GNURADIO_RUNTIME: /usr/lib/x86_64-linux-gnu/libgnuradio-runtime.so
-- checking for module 'cppunit'
--   found cppunit, version 1.13.1
-- Found CPPUNIT: /usr/lib/x86_64-linux-gnu/libcppunit.so;dl
-- Found SWIG: /usr/bin/swig2.0 (found version "2.0.11")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable version "2.7.6", minimum required is "2")
CMake Warning (dev) at cmake/Modules/GrSwig.cmake:25 (include):
  Syntax Warning in cmake code at

    /home/vijaykp/gr-howto/cmake/Modules/GrPython.cmake:196:44

  Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
  swig/CMakeLists.txt:28 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/Modules/GrSwig.cmake:25 (include):
  Syntax Warning in cmake code at

    /home/vijaykp/gr-howto/cmake/Modules/GrPython.cmake:196:92

  Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
  swig/CMakeLists.txt:28 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/Modules/GrSwig.cmake:25 (include):
  Syntax Warning in cmake code at

    /home/vijaykp/gr-howto/cmake/Modules/GrPython.cmake:196:100

  Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
  swig/CMakeLists.txt:28 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.6", minimum required is "2")
CMake Warning (dev) at swig/CMakeLists.txt:29 (include):
  Syntax Warning in cmake code at

    /home/vijaykp/gr-howto/cmake/Modules/GrPython.cmake:196:44

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at swig/CMakeLists.txt:29 (include):
  Syntax Warning in cmake code at

    /home/vijaykp/gr-howto/cmake/Modules/GrPython.cmake:196:92

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at swig/CMakeLists.txt:29 (include):
  Syntax Warning in cmake code at

    /home/vijaykp/gr-howto/cmake/Modules/GrPython.cmake:196:100

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found Doxygen: /usr/bin/doxygen (found version "1.8.6")
CMake Warning (dev) at cmake/Modules/GrSwig.cmake:182 (include):
  Syntax Warning in cmake code at

    /home/vijaykp/gr-howto/cmake/Modules/GrPython.cmake:196:44

  Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
  swig/CMakeLists.txt:47 (GR_SWIG_INSTALL)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/Modules/GrSwig.cmake:182 (include):
  Syntax Warning in cmake code at

    /home/vijaykp/gr-howto/cmake/Modules/GrPython.cmake:196:92

  Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
  swig/CMakeLists.txt:47 (GR_SWIG_INSTALL)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/Modules/GrSwig.cmake:182 (include):
  Syntax Warning in cmake code at

    /home/vijaykp/gr-howto/cmake/Modules/GrPython.cmake:196:100

  Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
  swig/CMakeLists.txt:47 (GR_SWIG_INSTALL)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at python/CMakeLists.txt:23 (include):
  Syntax Warning in cmake code at

    /home/vijaykp/gr-howto/cmake/Modules/GrPython.cmake:196:44

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at python/CMakeLists.txt:23 (include):
  Syntax Warning in cmake code at

    /home/vijaykp/gr-howto/cmake/Modules/GrPython.cmake:196:92

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at python/CMakeLists.txt:23 (include):
  Syntax Warning in cmake code at

    /home/vijaykp/gr-howto/cmake/Modules/GrPython.cmake:196:100

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at apps/CMakeLists.txt:20 (include):
  Syntax Warning in cmake code at

    /home/vijaykp/gr-howto/cmake/Modules/GrPython.cmake:196:44

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at apps/CMakeLists.txt:20 (include):
  Syntax Warning in cmake code at

    /home/vijaykp/gr-howto/cmake/Modules/GrPython.cmake:196:92

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at apps/CMakeLists.txt:20 (include):
  Syntax Warning in cmake code at

    /home/vijaykp/gr-howto/cmake/Modules/GrPython.cmake:196:100

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/vijaykp/gr-howto/build

$ make
Scanning dependencies of target gnuradio-howto
[  5%] Building CXX object lib/CMakeFiles/gnuradio-howto.dir/square_ff_impl.cc.o
[ 10%] Building CXX object lib/CMakeFiles/gnuradio-howto.dir/square2_ff_impl.cc.o
Linking CXX shared library libgnuradio-howto.so
[ 10%] Built target gnuradio-howto
Scanning dependencies of target test-howto
[ 15%] Building CXX object lib/CMakeFiles/test-howto.dir/test_howto.cc.o
[ 21%] Building CXX object lib/CMakeFiles/test-howto.dir/qa_howto.cc.o
Linking CXX executable test-howto
[ 21%] Built target test-howto
Scanning dependencies of target _howto_swig_doc_tag
[ 26%] Building CXX object swig/CMakeFiles/_howto_swig_doc_tag.dir/_howto_swig_doc_tag.cpp.o
Linking CXX executable _howto_swig_doc_tag
[ 26%] Built target _howto_swig_doc_tag
Scanning dependencies of target _howto_swig_swig_tag
[ 31%] Building CXX object swig/CMakeFiles/_howto_swig_swig_tag.dir/_howto_swig_swig_tag.cpp.o
Linking CXX executable _howto_swig_swig_tag
[ 31%] Built target _howto_swig_swig_tag
[ 36%] Generating doxygen xml for howto_swig_doc docs
Warning: Tag `SYMBOL_CACHE_SIZE' at line 289 of file /home/vijaykp/gr-howto/build/swig/howto_swig_doc_swig_docs/Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: Tag `SHOW_DIRECTORIES' at line 477 of file /home/vijaykp/gr-howto/build/swig/howto_swig_doc_swig_docs/Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: Tag `HTML_ALIGN_MEMBERS' at line 803 of file /home/vijaykp/gr-howto/build/swig/howto_swig_doc_swig_docs/Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: Tag `USE_INLINE_TREES' at line 956 of file /home/vijaykp/gr-howto/build/swig/howto_swig_doc_swig_docs/Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
Warning: doxygen no longer ships with the FreeSans font.
You may want to clear or change DOT_FONTNAME.
Otherwise you run the risk that the wrong font is being used for dot generated graphs.
[ 42%] Generating howto_swig_doc.i
[ 47%] Generating howto_swig.tag
[ 52%] Swig source
Scanning dependencies of target _howto_swig
[ 57%] Building CXX object swig/CMakeFiles/_howto_swig.dir/howto_swigPYTHON_wrap.cxx.o
Linking CXX shared module _howto_swig.so
[ 57%] Built target _howto_swig
Scanning dependencies of target pygen_swig_34533
[ 63%] Generating howto_swig.pyc
[ 68%] Generating howto_swig.pyo
[ 89%] Built target pygen_swig_34533
Scanning dependencies of target pygen_python_62df5
[ 94%] Generating __init__.pyc
[100%] Generating __init__.pyo
[100%] Built target pygen_python_62df5
Scanning dependencies of target pygen_apps_9a6dd
[100%] Built target pygen_apps_9a6dd

$ make test
Running tests...
Test project /home/vijaykp/gr-howto/build
    Start 1: test_howto
1/2 Test #1: test_howto .......................   Passed    0.00 sec
    Start 2: qa_square_ff
2/2 Test #2: qa_square_ff .....................   Passed    0.36 sec

100% tests passed, 0 tests failed out of 2

Total Test time (real) =   0.37 sec

$ sudo make install
[ 10%] Built target gnuradio-howto
[ 21%] Built target test-howto
[ 26%] Built target _howto_swig_doc_tag
[ 31%] Built target _howto_swig_swig_tag
[ 57%] Built target _howto_swig
[ 89%] Built target pygen_swig_34533
[100%] Built target pygen_python_62df5
[100%] Built target pygen_apps_9a6dd
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/local/lib/cmake/howto/howtoConfig.cmake
-- Up-to-date: /usr/local/include/howto/api.h
-- Up-to-date: /usr/local/include/howto/square_ff.h
-- Up-to-date: /usr/local/include/howto/square2_ff.h
-- Installing: /usr/local/lib/libgnuradio-howto.so
-- Installing: /usr/local/lib/python2.7/dist-packages/howto/_howto_swig.so
-- Removed runtime path from "/usr/local/lib/python2.7/dist-packages/howto/_howto_swig.so"
-- Installing: /usr/local/lib/python2.7/dist-packages/howto/howto_swig.py
-- Installing: /usr/local/lib/python2.7/dist-packages/howto/howto_swig.pyc
-- Installing: /usr/local/lib/python2.7/dist-packages/howto/howto_swig.pyo
-- Up-to-date: /usr/local/include/howto/howto/swig/howto_swig.i
-- Installing: /usr/local/include/howto/howto/swig/howto_swig_doc.i
-- Up-to-date: /usr/local/lib/python2.7/dist-packages/howto/__init__.py
-- Installing: /usr/local/lib/python2.7/dist-packages/howto/__init__.pyc
-- Installing: /usr/local/lib/python2.7/dist-packages/howto/__init__.pyo
-- Up-to-date: /usr/local/share/gnuradio/grc/blocks/howto_square_ff.xml
-- Up-to-date: /usr/local/share/gnuradio/grc/blocks/howto_square2_ff.xml

$ sudo ldconfig
$


On Wed, May 28, 2014 at 10:11 PM, Alfredo Muniz <address@hidden> wrote:

On Wed, May 28, 2014 at 6:36 PM, Marcus D. Leech <address@hidden> wrote:
Setting users environment variables is unrelated to building software.

That's right. I more wanted to make sure that the thing installed correctly.

Pengyu,

I downloaded your zip and rebuilt it on my machine with no errors. I can use your square2 ff block just fine in GRC which leads me to believe there is something off with your setup. Not sure of the right question to ask at the moment though...

For fun, can you pastebin the output of
cmake ..
make
make install


reply via email to

[Prev in Thread] Current Thread [Next in Thread]