å¦ä½å¨Ubuntu 11.10 ä¸å®è£ KScope
1.ä¸è½½kscope
ä»sourceforgeä¸è½½kscopeçææ°çæ¬1.9.4
å ·ä½ä¸è½½ç®å½å¨ /pub////å¦ä½å¨Ubuntu . ä¸å®è£ KScope/
2.å¼å§å®è£
è¿å ¥kscope解åç®å½ï¼
$ tar zxvf kscope-1.9.4
$ cd kscope-1.9.4/
ç¼è¯ï¼
$ qmake
$ make
æ§è¡å®è£ ï¼
$ sudo make install
å®è£ å®æ¯åè¿è¡é ç½®ï¼
$ cd /etc/ld.so.conf.d/
$ sudo gedit kscope.conf
$ sudo ldconfig
å¯å¨kscope:
$ kscopeapp
3.å®è£ éå°çé®é¢
(1)æ§è¡qmakeå½ä»¤æ¶ï¼ç»ç«¯æ示以ä¸ä¿¡æ¯ï¼
ç¨åº 'qmake' å·²å å«å¨ä»¥ä¸è½¯ä»¶å ä¸ï¼
* qt3-dev-tools
* qt4-qmake
è¯è¯ï¼sudo apt-get install <éå®ç软件å >
bash: qmakeï¼æ¾ä¸å°å½ä»¤
æ§è¡ä»¥ä¸å®è£ å½ä»¤å³å¯ï¼
$ sudo apt-get install libqt4-dev
(2)æ§è¡makeå½ä»¤è¿è¡ç¼è¯æ¶ï¼ç»ç«¯æ示以ä¸ä¿¡æ¯ï¼
viscintilla.h:: è´å½éè¯¯ï¼ qsciscintilla.hï¼æ²¡æé£ä¸ªæ件æç®å½
æ§è¡ä»¥ä¸å½ä»¤ï¼
$ sudo apt-get install libqscintilla2-dev
$ sudo ln -s /usr/include/qt4/Qsci /usr/include/Qsci
ç¶ååéæ°æ§è¡makeå½ä»¤å³å¯è¿è¡ç¼è¯ã
ç¼è¯æ¶ï¼ä¼åºç°å¦ä¸é误ã
å¯ä»¥ç¡®å®çæ¯/usr/lib/libqscintilla2.so.5 è¿æ件æ¯åå¨ç
/usr/bin/ld: release/editorcontainer.o: undefined reference to symbol 'QsciScintilla::getCursorPosition(int*,码分传奇网站 源码下载 int*) const'
/usr/bin/ld: note: 'QsciScintilla::getCursorPosition(int*, int*) const' is defined in DSO /usr/lib/libqscintilla2.so.5 so try adding it to the linker command line
/usr/lib/libqscintilla2.so.5: could not read symbols: Invalid operation
collect2: ld è¿å 1
make[2]: *** [kscopeapp] é误 1
make[2]:æ£å¨ç¦»å¼ç®å½ `/usr/local/kscope-1.9.4/app'
make[1]: *** [release] é误 2
make[1]:æ£å¨ç¦»å¼ç®å½ `/usr/local/kscope-1.9.4/app'
make: *** [sub-app-make_default] é误 2
解å³åæ³ï¼
å¨APPç®å½ä¸çMakefile.ReleaseçLIBSåéå ä¸-L/usr/lib -lqscintilla2
2024-12-28 18:58
2024-12-28 17:44
2024-12-28 17:28
2024-12-28 16:52
2024-12-28 16:45