2017-08-16 53 views
1

我已经从github回购中下载kdesvn的源代码,因为我正在考虑研究项目中的其他项目。现在事实证明,我甚至能正常编译下载的源代码:我创建变成一个目录kdesvn-build并推出cmake ../(如在https://github.com/KDE/kdesvn/blob/master/INSTALL-cmake所描述的),做一些东西,但随后停止说:如何从githib回购编译kdesvn

CMake Error: The following variables are used in this project, but 
they are set to NOTFOUND. Please set them or make sure they are set 
and tested correctly in the CMake files: SUBVERSION_INCLUDE_DIR 

现在,我不知道应该设置什么SUBVERSION_INCLUDE_DIR,也不能在网上搜索。任何人?

回答

1

这是一个包含svn_*.h文件的目录。如果你在Linux上,你需要安装类似subversion-dev包。在FreeBSD头文件中安装了主包,目录是/usr/local/include/subversion-1/

+0

我在'Ubuntu'克隆系统上使用'libsvn-dev'。谢谢! – cerr