Opendigitalradio / ODR-DabMod

ODR-DabMod is a DAB (Digital Audio Broadcasting) modulator, part of the ODR-mmbTools.
https://www.opendigitalradio.org
Other
49 stars 32 forks source link

remotecontrol requires de-selected zeromq #50

Closed andimik closed 2 years ago

andimik commented 2 years ago

zeromq seemed to be mandatory ...

$ ./configure --disable-output-uhd --disable-zeromq
[...]

***********************************************

  Features
  Enabled:  soapysdr
  Disabled:  prof trace output_uhd zeromq easydabv3 limesdr bladerf

  Options
  Active:  supports_march_native
  Disabled:  enable_fast_math

***********************************************
$ make
make  all-am
make[1]: Verzeichnis „/home/andreas/apps/ODR-DabMod“ wird betreten
[...]
  CXX      src/odr_dabmod-Utils.o
  CXX      lib/odr_dabmod-RemoteControl.o
In file included from lib/RemoteControl.cpp:32:
lib/zmq.hpp:72:10: fatal error: zmq.h: Datei oder Verzeichnis nicht gefunden
   72 | #include <zmq.h>
      |          ^~~~~~~
compilation terminated.
make[1]: *** [Makefile:1472: lib/odr_dabmod-RemoteControl.o] Fehler 1
make[1]: Verzeichnis „/home/andreas/apps/ODR-DabMod“ wird verlassen
make: *** [Makefile:661: all] Fehler 2

This fixes it:

$ diff RemoteControl.cpp RemoteControl.cpp_bak 
32,34c32
< #if defined(HAVE_ZEROMQ)
<     #include "zmq.hpp"
< #endif
---
> #include "zmq.hpp"

see 0f86d6939f022d6fc101fd08f17856d2d7c446cf

andimik commented 2 years ago

Fixed in https://github.com/Opendigitalradio/ODR-DabMod/pull/49