Could NOT find ZeroMQ (missing: ZeroMQ_FOUND)
When doing a cmake on a plugin I get the error: Could NOT find ZeroMQ (missing: ZeroMQ_FOUND) I just installed gazebo 9. I had been using gazebo 7.
The detail: iMac:build arnoldbail$ cmake .. CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as
project(ProjectName)
near the top of the file, but after cmakeminimumrequired().
CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/local/Cellar/cmake/3.18.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
The package name passed to find_package_handle_standard_args
(PkgConfig)
does not match the name of the calling package (gazebo). This can lead to
problems in calling code that expects find_package
result variables
(e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.18.1/share/cmake/Modules/FindPkgConfig.cmake:59 (findpackagehandlestandardargs)
/usr/local/lib/cmake/gazebo/gazebo-config.cmake:30 (include)
CMakeLists.txt:4 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found DART: /usr/local/include (Required is at least version "6") found components: dart
-- Found Boost: /usr/local/lib/cmake/Boost-1.73.0/BoostConfig.cmake (found suitable version "1.73.0", minimum required is "1.40.0") found components: thread system filesystem programoptions regex iostreams datetime
-- Found Protobuf: /usr/local/lib/libprotobuf.dylib (found version "3.12.4")
-- Found Boost: /usr/local/lib/cmake/Boost-1.73.0/BoostConfig.cmake (found version "1.73.0")
-- Looking for OGRE...
-- Found Ogre Ghadamon (1.9.0)
-- Found OGRE: optimized;/usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c98/lib/libOgreMain.dylib;debug;/usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c98/lib/libOgreMain.dylib
-- Looking for OGREPaging...
-- Found OGREPaging: optimized;/usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c98/lib/libOgrePaging.dylib;debug;/usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c98/lib/libOgrePaging.dylib
-- Looking for OGRETerrain...
-- Found OGRETerrain: optimized;/usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c98/lib/libOgreTerrain.dylib;debug;/usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c98/lib/libOgreTerrain.dylib
-- Looking for OGREProperty...
-- Found OGREProperty: optimized;/usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c98/lib/libOgreProperty.dylib;debug;/usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c98/lib/libOgreProperty.dylib
-- Looking for OGRERTShaderSystem...
-- Found OGRERTShaderSystem: optimized;/usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c98/lib/libOgreRTShaderSystem.dylib;debug;/usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c98/lib/libOgreRTShaderSystem.dylib
-- Looking for OGREVolume...
-- Found OGREVolume: optimized;/usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c98/lib/libOgreVolume.dylib;debug;/usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c98/lib/libOgreVolume.dylib
-- Looking for OGREOverlay...
-- Found OGREOverlay: optimized;/usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c98/lib/libOgreOverlay.dylib;debug;/usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c98/lib/libOgreOverlay.dylib
-- Found Protobuf: /usr/local/lib/libprotobuf.dylib (found suitable version "3.12.4", minimum required is "2.3.0")
-- Config-file not installed for ZeroMQ -- checking for pkg-config
-- Checking for module 'libzmq >= 4'
-- No package 'libzmq' found
CMake Error at /usr/local/Cellar/cmake/3.18.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
Could NOT find ZeroMQ (missing: ZeroMQFOUND) (Required is at least version
"4")
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.18.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:458 (FPHSAFAILUREMESSAGE)
/usr/local/lib/cmake/ignition-cmake0/cmake0/IgnPkgConfig.cmake:53 (findpackagehandlestandardargs)
/usr/local/lib/cmake/ignition-cmake0/cmake0/FindZeroMQ.cmake:83 (ignpkgcheckmodules)
/usr/local/Cellar/cmake/3.18.1/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (findpackage)
/usr/local/lib/cmake/ignition-transport4/ignition-transport4-config.cmake:97 (finddependency)
/usr/local/lib/cmake/gazebo/gazebo-config.cmake:197 (findpackage)
CMakeLists.txt:4 (find_package)
-- Configuring incomplete, errors occurred! See also "/Users/arnoldbail/automq/build/CMakeFiles/CMakeOutput.log". iMac:build arnoldbail$
Asked by arnoldb on 2020-08-08 11:40:47 UTC
Comments
I had previously installed zeromq with brew. The C+ code is the velodyne example. I get this failure on all my plugins that worked on gazebo 7.
Asked by arnoldb on 2020-08-08 13:47:30 UTC