cppzmq: "ZeroMQ version not supported!"
I have been trying to figure this out for some time now, and I can’t for the life of me.
Steps to reproduce: the ones in the README, to the letter.
tar files:
https://github.com/zeromq/libzmq/archive/v4.2.2.tar.gz
https://github.com/zeromq/cppzmq/archive/v4.2.2.tar.gz
libzmq builds and install fine. No matter what I do, cppzmq then doesn’t configure:
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:16 (message):
ZeroMQ version not supported!
Any tips?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (6 by maintainers)
Commits related to this issue
- Use C++ bindings to ZMQ And patched the libzmq cmake file as per https://github.com/zeromq/cppzmq/issues/152#issuecomment-342566790 Otherwise cppzmq's CMakeLists.txt doesn't find it. — committed to sirehna/xdyn by CharlesEdouardCady 7 years ago
- [#152] fixes dependency on libzmq libraries — committed to franzhollerer/cppzmq by franzhollerer 4 years ago
It is pretty obtuse, and I’m afraid I don’t know what else you could try, sorry, maybe someone else can
As a workaround, consider that this repository doesn’t really install much - it’s just 2 headers, so you can just copy them in the include/ directory that you want, if that’s all you need
I have the same problem on Mac, libzmq4.2.2. and cppzmq4.2.2 . using @bluca method workaroud.