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

Does not compile on OSX w. GR 3.7..10.1 #17

Open
fluffviech opened this issue Nov 13, 2016 · 3 comments
Open

Does not compile on OSX w. GR 3.7..10.1 #17

fluffviech opened this issue Nov 13, 2016 · 3 comments

Comments

@fluffviech
Copy link

Hi,

i tried to build the package on an actual osx-system, but it wont compile et al.

gnuradio version 3.7.10.1 is installed, but not found by cmake.

Katzenwarmhalteplatte:gr-mixalot-master fluffviech$ cmake ./
-- Build type not specified: defaulting to release.
-- Boost version: 1.59.0
-- Found the following Boost libraries:
--   filesystem
--   system
CMake Error at CMakeLists.txt:109 (find_package):
  find_package called with invalid argument "„3.7.10.1“"


-- Checking for module 'gruel'
--   No package 'gruel' found
-- Could NOT find GRUEL (missing:  GRUEL_LIBRARIES GRUEL_INCLUDE_DIRS) 
-- Checking for module 'gnuradio-core'
--   No package 'gnuradio-core' found
-- Could NOT find GNURADIO_CORE (missing:  GNURADIO_CORE_LIBRARIES GNURADIO_CORE_INCLUDE_DIRS) 
-- Found ITPP: /opt/local/lib/libitpp.dylib
CMake Error at CMakeLists.txt:120 (message):
  Need either gnuradio-core+gruel (3.6.x) or gnuradio-runtime (3.7.x).


-- Configuring incomplete, errors occurred!
See also "/Users/fluffviech/Desktop/gr-mixalot-master/CMakeFiles/CMakeOutput.log".
See also "/Users/fluffviech/Desktop/gr-mixalot-master/CMakeFiles/CMakeError.log".

@unsynchronized
Copy link
Owner

(sorry it took so long to get back to you; somehow I missed this)

Is this still an issue? How did you install gnuradio?

@fluffviech
Copy link
Author

yep, problem still unsolved.
installed gnuradio via macports (basically apt vor osx)

@unsynchronized
Copy link
Owner

Interesting; I've got macports gnuradio (@3.7.10.1_1+docs+grc+jack+portaudio+qtgui+sdl+swig+uhd+wavelet+wxgui, which I think is the default) installed, and building from scratch works.

Is it possible you've ever installed gnuradio manually (i.e. built it and done a 'make install')? I've had no end of build issues from stale files left over from previous installs (e.g. one in /usr/local, one in /opt/local).

When you run "gnuradio-config-info --prefix", do you get /opt/local?

Do you have pkgconfig installed? That's one thing that the cmake scripts looking for those (FindGnuradioCore.cmake and FindGruel.cmake) are using. You can also try setting $GNURADIO_CORE_DIR to /opt/local before running cmake..

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