discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Use of 64-bit libraries


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Use of 64-bit libraries
Date: Tue, 5 Feb 2013 10:22:44 -0500

On Tue, Feb 5, 2013 at 10:12 AM, Graeme Gemmill <address@hidden> wrote:
Just starting to get involved with GNU Radio, on Mandriva 2011_x64
1. How do I tell cmake to use 64 bit libraries?
cmake says:
- checking for module 'orc-0.4 > 0.4.11'
--   package 'orc-0.4 > 0.4.11' not found
-- orc files (missing:  ORC_INCLUDE_DIR)
but:
address@hidden lib64]# ls -l|grep orc
lrwxrwxrwx  1 root       root             20 Aug 27  2011 liborc-0.4.so.0 -> liborc-0.4.so.0.14.0*
-rwxr-xr-x  1 root       root         506192 Jun 16  2011 liborc-0.4.so.0.14.0*
lrwxrwxrwx  1 root       root             25 Aug 27  2011 liborc-test-0.4.so.0 -> liborc-test-0.4.so.0.14.0*
-rwxr-xr-x  1 root       root          31152 Jun 16  2011 liborc-test-0.4.so.0.14.0*

What does 'pkg-config --modversion orc-0.4' return? This is the string that's compared against the version number. It's likely that you have the libraries installed but not the development version (e.g., the headers).
 
2.    How to tell cmake that uhd is installed in /opt:
cmake says:
-- checking for module 'uhd'
--   package 'uhd' not found
-- Could NOT find UHD (missing:  UHD_LIBRARIES UHD_INCLUDE_DIRS)
But
address@hidden lib64]# cd /opt
address@hidden opt]# ls -l|grep uhd
drwxr-xr-x 5 root   root       4096 Feb  4 16:33 uhd/

Thanks
--
Grimble
Registered Linux User #450547
Running KDE 4.6.5 on 2.6.39.4-5.1-desktop kernel.
Mandriva Linux release 2011.0 (Official) for x86_64

Again, we use package config to find the installed versions of things like this. You'll have to make sure 'pkg-config --modversion uhd' returns something valid. Most likely, all you need to do is add 'PKG_CONFIG_PATH=/opt/uhd/lib/pkgconfig' (or where ever the uhd.pc file is located).

Tom


reply via email to

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