我正在尝试制作一个 c++ 应用程序并得到以下错误。
/home/prabhat/miniconda3/share/cmake/ZeroMQ/ZeroMQConfig.cmake:44(包含)的 CMake 错误:包含找不到加载文件:
/home/prabhat/miniconda3/share/cmake/ZeroMQ/ZeroMQTargets.cmake
调用堆栈(最近的调用优先):
/usr/lib/x86_64-linux-gnu/cmake/ignition-cmake0/cmake0/FindZeroMQ.cmake:62 (find_package)
/usr/share/cmake-3.5/Modules/CMakeFindDependencyMacro.cmake:65 (find_package)
/usr/lib/x86_64-linux-gnu/cmake/ignition-transport4/ignition-transport4-config.cmake:107 (find_dependency)
/usr/lib/x86_64-linux-gnu/cmake/gazebo/gazebo-config.cmake:197 (find_package) CMakeLists.txt:3 (find_package)
cmake的第44行是
'''如果(不针对 libzmq 并且不针对 libzmq-static)包含(“${CMAKE_CURRENT_LIST_DIR}/ZeroMQTargets.cmake”)'''
谁能告诉我如何解决这个问题?谢谢