星期二, 2月 14, 2006

ViewML on Debian

只好先從ViewML on Debain 開始。..
fltk使用1.1.0版。從source code build。不使用debain 的deb.
./configure --with-fltk=/home/charles/ref/libfltk1.1.0 --prefix=/home/charles/viewmlap
先作configure --- 這個當然OK囉。

make --- 問題就很多了。
先是config.h 找不到==>作一個假的 :
$ touch src/kdecore/config.h
接著是qstringl.h 的compile error : 這是因為namespace的問題 ==>在qstring.h中加入
using namespace std;
接著是 "沒有transform( )" function。這大概是因為algo.h 太舊,改為
#include <algorithm>
找不到par.h,google了一下。有人也問過這個問題。當然是沒有人回答。--->刪!

cmath : acosf, asinf not declared.-->google一下,發現是compiler 以為要使用C99 的header。

沒有留言:

網誌存檔