Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Failure #2

Closed
NewtMan opened this issue Oct 4, 2013 · 5 comments
Closed

Build Failure #2

NewtMan opened this issue Oct 4, 2013 · 5 comments

Comments

@NewtMan
Copy link

NewtMan commented Oct 4, 2013

I, too, am having trouble building. Transcript is similar to other report:

cmake -DCMAKE_INSTALL_PREFIX=/usr/local/ ../
-- Build type not specified: defaulting to release.
-- Boost version: 1.49.0
-- Found the following Boost libraries:
-- filesystem
-- system
Checking for GNU Radio Module: RUNTIME
-- checking for module 'gnuradio-runtime'
-- package 'gnuradio-runtime' not found

  • INCLUDES=GNURADIO_RUNTIME_INCLUDE_DIRS-NOTFOUND
  • LIBS=GNURADIO_RUNTIME_LIBRARIES-NOTFOUND
    -- Could NOT find GNURADIO_RUNTIME (missing: GNURADIO_RUNTIME_LIBRARIES GNURADIO_RUNTIME_INCLUDE_DIRS)
    GNURADIO_RUNTIME_FOUND = FALSE
    CMake Error at cmake/Modules/FindGnuradio.cmake:81 (message):
    Required GNU Radio Component: RUNTIME missing!
    Call Stack (most recent call first):
    cmake/Modules/FindGnuradio.cmake:89 (GR_MODULE)
    CMakeLists.txt:94 (find_package)

I built gnuradio using the build_gnuradio script. This supposedly pulled the latest version from git (3.7.X), built and installed it in /usr/local on my Debian (wheezy) system. All appears to run fine, including GRC. Next, I pulled your 3.7 branch and attempted to build with the result above. I don't know cmake, so trying to puzzle out what's happening is slow going. Looking through FindGnuradio.cmake, it seems to be failing to find gnuradio/top_block.h. Indeed, this file doesn't exist anywhere in /usr/local nor in my gnuradio source tree. So, I'm at a loss. Any ideas? Thanks.

@dl1ksv
Copy link
Owner

dl1ksv commented Oct 4, 2013

First can you please run
gnuradio-config-info -v

gnuradio/top_block.h sholud be part of gnuradio-3.7 ( but not of 3.6) .
I don't know if the build script can install gnuradio without the header files.
I'm curious about FindGnuradio.cmake as it is not part of gr-ax25. FindGnuradioRuntime.cmake should be used , which had a bug if gnuradio was installed in /usr .

@NewtMan
Copy link
Author

NewtMan commented Oct 4, 2013

Interesting. gnuradio-config-info -v returned 3.6.5.1 I had assumed 3.7.x was downloaded, since that's what's claimed build_gnuradio does. Evidently not. Guess I need to install 3.7 and try again.

@NewtMan
Copy link
Author

NewtMan commented Oct 5, 2013

Solved problem. As I guessed, installing 3.7.x resolved things. Turns out if you run the build_gnuradio script with -m option, it pulls gnuradio from the master branch. The gnuradio website claims build_gnuradio without any options does that, but in fact it pulls 3.6.5. Annoying flaw in their documentation. Anyway, I installed the master branch and all is now well - I have funcube dongle pro+ in my "sources" in GRC. Thanks for your help.

@dl1ksv
Copy link
Owner

dl1ksv commented Oct 20, 2013

Thanks for the info. I'll try to make a version check int the cmake files to avoid such problems in the future

@dl1ksv
Copy link
Owner

dl1ksv commented Oct 21, 2013

Now checking if gnuradio version is >= 3.7

@dl1ksv dl1ksv closed this as completed Oct 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants