문제

I am currently trying to build a debian package from my project, which uses Boost-Regex. Everything is working fine except defining a dependency throug CPACK_DEBIAN_PACKAGE_DEPENDS. I don't seem to be able to figure out the right module name to put here. So far I tried the following:

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")

But with every version of this the Ubuntu Software Center tells me, that the couldn't resolve the dependency when trying to install the generated *.deb.

도움이 되었습니까?

해결책

Found my error. Leaving the answer here for others who might have the same problem: I was missing the version number, i.e. libbost-regex1.46.1.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top