2017-08-16 55 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