Kscope安裝教學
OS : Ubuntu 10.04 ( lucid )
Prerequisites
-------------
- Qt4 version 4.4.0 and above
- QScintilla2 (http://www.riverbankcomputing.co.uk/software/qscintilla/download)
- Standard build tools
Reference:http://sourceforge.net/apps/mediawiki/kscope/index.php?title=Getting_KScope
首先安裝
$ sudo apt-get install libqscintilla2-dev qt4-dev-tools qt4-designer qt4-doc
下載kscope-1.9.4.tar.gz
http://sourceforge.net/projects/kscope/files/kscope/1.9.4/kscope-1.9.4.tar.gz/download
解壓縮
$ tar zxvf kscope-1.9.4.tar.gz
$ cd kscope-1.9.4
$ qmake
P.S. 如果執行qmake出現Unknown test function: CONFIG,這就必須將移除qt3
$ sudo apt-get remove qt3-dev-tools
qmake完成後
$ makeP.S. 如果出現qsciscintilla.h no such file or directory
就執行下面的指令
$ cd /usr/include/
$ sudo ln -s /usr/include/qt4/Qsci/ Qsci
$ cd $OLDPWD
$ make解決方法的網站在http://hi.baidu.com/serial_story/blog/item/e020421e21e169fe1ad57683.html
make完成後
$ make debug
$ sudo make install
接著設定LD_LIBRARY_PATH
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
也可以將上面的指令寫入至$HOME/.bashrc中
接著可以執行KScope
$ kscopeapp
Prerequisites
-------------
- Qt4 version 4.4.0 and above
- QScintilla2 (http://www.riverbankcomputing.co.uk/software/qscintilla/download)
- Standard build tools
Reference:http://sourceforge.net/apps/mediawiki/kscope/index.php?title=Getting_KScope
首先安裝
$ sudo apt-get install libqscintilla2-dev qt4-dev-tools qt4-designer qt4-doc
下載kscope-1.9.4.tar.gz
http://sourceforge.net/projects/kscope/files/kscope/1.9.4/kscope-1.9.4.tar.gz/download
解壓縮
$ tar zxvf kscope-1.9.4.tar.gz
$ cd kscope-1.9.4
$ qmake
P.S. 如果執行qmake出現Unknown test function: CONFIG,這就必須將移除qt3
$ sudo apt-get remove qt3-dev-tools
qmake完成後
$ makeP.S. 如果出現qsciscintilla.h no such file or directory
就執行下面的指令
$ cd /usr/include/
$ sudo ln -s /usr/include/qt4/Qsci/ Qsci
$ cd $OLDPWD
$ make解決方法的網站在http://hi.baidu.com/serial_story/blog/item/e020421e21e169fe1ad57683.html
make完成後
$ make debug
$ sudo make install
接著設定LD_LIBRARY_PATH
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
也可以將上面的指令寫入至$HOME/.bashrc中
接著可以執行KScope
$ kscopeapp
留言