我正试图在我的Lubuntu15.04上构建整个Kurento (与ubuntu15.04一样,具有不同的UI)。我首先克隆了所有的回复:
mkdir kurento
cd kurento
git clone https://github.com/Kurento/kms-jsonrpc.git
git clone https://github.com/Kurento/kurento-module-creator.git
git clone https://github.com/Kurento/kms-filters.git
git clone https://github.com/Kurento/kms-core.git
git clone https://github.com/Kurento/kms-elements.git
git clone https://github.com/Kurento/adm-scripts.git
git clone https://github.com/Kurento/kms-cmake-utils.git
git clone https://github.com/Kurento/kms-crowddetector.git
git clone https://github.com/Kurento/kms-pointerdetector.git
git clone https://github.com/Kurento/kms-platedetector.git
git clone https://github.com/Kurento/kurento-media-server.git
git clone https://github.com/Kurento/kms-plugin-sample.git
git clone https://github.com/Kurento/kms-opencv-plugin-sample.git
然后安装kms-cmake:
cd kms-cmake-utils
mkdir build
cd build
cmake ..
make install
好的,它在cmake模块目录中安装了一堆文件。然后我试着安装kms-core:
cd kms-core
mkdir build
cd build
cmake ..
但是cmake会出现以下错误
-- checking for module 'KurentoModuleCreator'
-- package 'KurentoModuleCreator' not found
CMake Error at /usr/share/cmake-3.0/Modules/GenericFind.cmake:93 (message):
Library KurentoModuleCreator not found
我试图安装kurento模块创建者:
cd kurento-module-creator
mvn install
它符合并安装在.m2目录中的一些文件。我对maven没有任何经验来知道它是否正确。
但是,它不能用kms-core解决错误。显然,cmake find_package命令无法定位FindKurentoModuleCreator.cmake。我在库伦托的回复里找不到文件。有人能告诉我我是否做错了吗?
发布于 2015-10-29 09:22:05
默认情况下,所有与kms相关的项目都可以作为debian包构建。
与手工使用cmake
和make install
不同,您可以更容易地生成和安装debian包。
要生成的指令非常简单:
export PROJECT_NAME=<project_name>
mkdir build_$PROJECT_NAME
cd build_$PROJECT_NAME
git clone https://github.com/Kurento/$PROJECT_NAME
cd $PROJECT_NAME
debuild -uc -us
一旦卸载成功完成,您将在build_<project_name>
目录中拥有一些debian包,您可以使用以下方法安装它们:
sudo dpkg -i *deb
由于不满足依赖项,因此可能会导致debuild失败,在这种情况下,如果它们是kurento依赖项,您可能必须使用apt安装它们或生成它们。
然而,我们已经提供了所有的kurento包(包括一些在github上也可以使用的自定义依赖项),它们已经编译在kurento存储库中:
deb http://ubuntu.kurento.org trusty kms6
或者在拥有所有主分支构建的dev通道中。
deb http://ubuntu.kurento.org trusty-dev kms6
软件包是用于可靠发布的,因为它们是使用这个由kurento官方支持的版本生成的,但是它们通常也可以安装在15.04上。
https://stackoverflow.com/questions/33403055
复制相似问题