discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Build OOT gr-test2


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Build OOT gr-test2
Date: Sun, 6 Jul 2014 11:47:34 -0400

On Sun, Jul 6, 2014 at 11:31 AM, Bill Dailey <address@hidden> wrote:
yes Tom, I did try that from the mac specific stuff.  redone here..

PMT  still seems to be an issue.

bills-MacBook-Pro:gr-test2 willy$ rm -rf build
bills-MacBook-Pro:gr-test2 willy$ mkdir build
bills-MacBook-Pro:gr-test2 willy$ cd build
bills-MacBook-Pro:build willy$ CC=/usr/bin/llvm-gcc CXX=/usr/bin/llvm-g++ cmake -DPYTHON_EXECUTABLE=/opt/local/bin/python2.7 -DPYTHON_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Headers -DPYTHON_LIBRARY=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python -DSPHINX_EXECUTABLE=/opt/local/bin/rst2html-2.7.py  ../
-- The CXX compiler identification is Clang 5.1.0
-- The C compiler identification is Clang 5.1.0
-- Check for working CXX compiler: /usr/bin/llvm-g++
-- Check for working CXX compiler: /usr/bin/llvm-g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/llvm-gcc
-- Check for working C compiler: /usr/bin/llvm-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done

-- Build type not specified: defaulting to release.
-- Boost version: 1.55.0
-- Found the following Boost libraries:
--   filesystem
--   system
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28")
-- checking for module 'cppunit'
--   package 'cppunit' not found
-- Found CPPUNIT: /opt/local/lib/libcppunit.dylib 
-- Found Doxygen: /opt/local/bin/doxygen (found version "1.8.7")
Checking for GNU Radio Module: RUNTIME
-- checking for module 'gnuradio-runtime'
--   package 'gnuradio-runtime' not found
 * INCLUDES=/opt/local/include
 * LIBS=/opt/local/lib/libgnuradio-runtime.dylib
-- Found GNURADIO_RUNTIME: /opt/local/lib/libgnuradio-runtime.dylib 
GNURADIO_RUNTIME_FOUND = TRUE

Looks like there's a problem here. Do you have /opt/local/lib/libgnuradio-pmt.dylib? I'm unsure why this is even passing at this point. This is what I get normally:

Checking for GNU Radio Module: RUNTIME
-- checking for module 'gnuradio-runtime'
--   found gnuradio-runtime, version 3.7.4git
 * INCLUDES=/opt/gr/include
 * LIBS=/opt/gr/lib/libgnuradio-runtime.dylib;/opt/gr/lib/libgnuradio-pmt.dylib
-- Found GNURADIO_RUNTIME: /opt/gr/lib/libgnuradio-runtime.dylib;/opt/gr/lib/libgnuradio-pmt.dylib  
GNURADIO_RUNTIME_FOUND = TRUE


(Note that I've installed my GR into /opt/gr, so the paths will be slightly different).

If I move the pmt libraries to a backup location and rerun cmake, I get this:

Checking for GNU Radio Module: RUNTIME
-- checking for module 'gnuradio-runtime'
--   found gnuradio-runtime, version 3.7.4git
 * INCLUDES=/opt/gr/include
 * LIBS=/opt/gr/lib/libgnuradio-runtime.dylib;GNURADIO_RUNTIME_LIBRARIES_gnuradio-pmt-NOTFOUND
-- Could NOT find GNURADIO_RUNTIME (missing:  GNURADIO_RUNTIME_LIBRARIES) 
GNURADIO_RUNTIME_FOUND = FALSE


So I'm not sure why your setup is a) not finding libgnuradio-pmt.dylib and b) allowing the check to pass.

What version of GNU Radio are you using?

$ gnuradio-config-info --version
v3.7.4git-395-gc98699ee

And when you installed GNU Radio itself, did you do it from port using "port install gnuradio" or "port install gnuradio-devel"?

Tom


reply via email to

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