Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/cmake/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Dependencies CMake Debian对Boost正则表达式的依赖性_Dependencies_Cmake_Debian_Boost Regex_Cpack - Fatal编程技术网

Dependencies CMake Debian对Boost正则表达式的依赖性

Dependencies CMake Debian对Boost正则表达式的依赖性,dependencies,cmake,debian,boost-regex,cpack,Dependencies,Cmake,Debian,Boost Regex,Cpack,我目前正试图从我的项目中构建一个debian包,它使用Boost正则表达式。除了通过CPACK\u DEBIAN\u PACKAGE\u dependens定义依赖项之外,一切都正常。我似乎无法找出正确的模块名称放在这里。到目前为止,我尝试了以下方法: SET (CPACK_DEBIAN_PACKAGE_DEPENDS "boost_regex") SET (CPACK_DEBIAN_PACKAGE_DEPENDS "boost-regex") SET (CPACK_DEBIAN_PACKAGE

我目前正试图从我的项目中构建一个debian包,它使用Boost正则表达式。除了通过
CPACK\u DEBIAN\u PACKAGE\u dependens
定义依赖项之外,一切都正常。我似乎无法找出正确的模块名称放在这里。到目前为止,我尝试了以下方法:

SET (CPACK_DEBIAN_PACKAGE_DEPENDS "boost_regex")
SET (CPACK_DEBIAN_PACKAGE_DEPENDS "boost-regex")
SET (CPACK_DEBIAN_PACKAGE_DEPENDS "libboost-regex") 
SET (CPACK_DEBIAN_PACKAGE_DEPENDS "libboost_regex")

但Ubuntu软件中心告诉我,在安装生成的*.deb时,每个版本都无法解决依赖关系。

发现了我的错误。将答案留给可能有相同问题的其他人:我缺少版本号,即
libbost-regex1.46.1