discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Getting gnuradio to compile with zeromq


From: Brad Hein
Subject: Re: [Discuss-gnuradio] Getting gnuradio to compile with zeromq
Date: Wed, 9 May 2018 14:54:42 -0400

You're a genius!!

address@hidden ~]# find / -name zmq.hpp
<File not present anywhere on filesystem>

address@hidden ~]# yum provides "*/zmq.hpp"

cppzmq-devel-4.1.4-5.el7.x86_64 : Development files for cppzmq
Repo        : epel
Matched from:
Filename    : /usr/include/zmq.hpp

# yum install cppzmq-devel

address@hidden ~]# rpm -ql cppzmq-devel
/usr/include/zmq.hpp
/usr/share/licenses/cppzmq-devel-4.1.4
/usr/share/licenses/cppzmq-devel-4.1.4/LICENSE

<it provides zmq.hpp and a license file>

cmake...
-- ######################################################
-- # Gnuradio disabled components                       
-- ######################################################
--   * sphinx
--   * gr-comedi
--   * gr-video-sdl


<gr-zeromq is off the naughty list>



On Wed, May 9, 2018 at 12:33 PM, Müller, Marcus (CEL) <address@hidden> wrote:
Hi Brad,

changing the pythonpath shouldn't change the path in which CMake looks
for include files and libraries, at all.

Can you check whether your /usr/include has some zmq.hpp ?
Debian just throws that C++ wrapper for C zeromq into the zeromq-devel
package (without any documentation which version they use ... grrrr),
but other distros don't, and you might need to manually add that header
to your system's include path. It's a single, isolated header file, so
you can just download it from github and add it.

Best regards,
Marcus

On Wed, 2018-05-09 at 12:00 -0400, Brad Hein wrote:
>
> I'm unable to get the gnuradio cmake process to recognize that I have zeromq installed. Every time I run cmake it ends up with gr-zeromq disabled. I tried installing zeromq and zeromq-devel version 4 (yum install zeromq zeromq-dev) but that didn't help. I also tried uninstalling the default version 4 and installing the zeromq and zeromq-dev version 3 packages, still cmake wouldn't detect zeromq.
>
> OS: CentOS 7.4 with all updates. X86_64 VM.
>
> gnuradio: latest code, master branch. current comit:
> * 82d0a6b -(4 weeks ago) gr-newmod: Pylint fixes in python scripts . Swapnil Negi (HEAD, origin/master, origin/HEAD, master)
>
>
> One thing I noticed is that gnuradio defaults my install prefix to /usr/local (/usr/local/lib64 for example) which leads to me having to set my pythonpath manually... maybe nothing... but I wonder if the cmake process is looking under /usr/local/lib64 for the zeromq libraries instead of /usr/lib64? not sure.
>
> I've done some googling but I'm coming up empty handed in terms of getting gnuradio to compile with zeromq.
>
> I'm on the gnuradio master branch.
>
> -- Configuring gr-zeromq support...
> --   Dependency Boost_FOUND = 1
> --   Dependency ENABLE_GNURADIO_RUNTIME = ON
> --   Dependency ZEROMQ_FOUND = FALSE
> CMake Error at cmake/Modules/GrComponent.cmake:75 (message):
>   user force-enabled gr-zeromq but configuration checked failed
> Call Stack (most recent call first):
>   gr-zeromq/CMakeLists.txt:32 (GR_REGISTER_COMPONENT)
>
> -- Configuring incomplete, errors occurred!
> See also "/home/brad/gr/gnuradio/build/CMakeFiles/CMakeOutput.log".
> See also "/home/brad/gr/gnuradio/build/CMakeFiles/CMakeError.log".
>
>
> Looking through the cmake error log file mentioned above there are strangely no references to zeromq.
>
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


reply via email to

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