On Sun, Jul 6, 2014 at 11:31 AM, Bill Dailey <docdailey@gmail.com> 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-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28")
-- Build type not specified: defaulting to release.
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- filesystem
-- system-- checking for module 'cppunit'-- Found CPPUNIT: /opt/local/lib/libcppunit.dylib
-- package 'cppunit' not found
-- Found Doxygen: /opt/local/bin/doxygen (found version "1.8.7")
Checking for GNU Radio Module: RUNTIME-- Found GNURADIO_RUNTIME: /opt/local/lib/libgnuradio-runtime.dylib
-- checking for module 'gnuradio-runtime'
-- package 'gnuradio-runtime' not found
* INCLUDES=/opt/local/include
* LIBS=/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
No comments:
Post a Comment