|
发表于 2007-4-28 10:54:15
|
显示全部楼层
你看INSTALL文件了吗?
########################
#### For Linux User ####
########################
First, make sure you have your kernel compiled with framebuffer support
this version can only work with 8bpp, 15bpp, 16bpp, 24bpp, and 32bpp mode
other color depth need libggi supported.
see /usr/src/linux/Documentation/fb/vesafb.txt for more detials on
using framebuffer device.
1) $ ./configure
2) $ make
3) make sure you are root now then type
$ make install
to install zhcon
You can use ./configure --prefix=/usr to install zhcon into /usr/bin
If you want to debug, use ./configure --enable-debug=yes to turn on debug
info.
after install you can type zhcon to use.
enjoy!
###########################
#### For FreeBSD User ####
###########################
First, make sure you have installed gmake, or GNU Make.
The FreeBSD's make/pmake may work, but I don't promise that.
Then:
1) $ ./configue
2) $ gmake
3) su to root
4) # gmake install
]
then type zhcon to enjoy
NOTICE AGAIN: Use gmake, not make!!
You can adjust screen resolution and/or color depth(only for FreeBSD).
Read /etc/zhcon.conf for more details.
不过我也编译失败了。
ear24.o `test -f fblinear24.cpp || echo './'`fblinear24.cpp
fblinear24.cpp: In member function ‘virtual void FBLinear24::RevRect(int, int, int, int)’:
fblinear24.cpp:127: 警告:‘dest32’ 上的运算结果可能是未定义的
fblinear24.cpp:128: 警告:‘dest32’ 上的运算结果可能是未定义的
fblinear24.cpp:129: 警告:‘dest32’ 上的运算结果可能是未定义的
fblinear24.cpp:132: 警告:‘dest32’ 上的运算结果可能是未定义的
fblinear24.cpp:134: 警告:‘dest16’ 上的运算结果可能是未定义的
fblinear24.cpp:139: 警告:‘dest16’ 上的运算结果可能是未定义的
fblinear24.cpp: In member function ‘virtual void FBLinear24:rawChar(int, int, int, int, CharBitMap*)’:
fblinear24.cpp:206: 错误:赋值运算中的左值无效
fblinear24.cpp:210: 错误:赋值运算中的左值无效
make[3]: *** [fblinear24.o] 错误 1
make[3]: Leaving directory `/home/ace/AUR/zhcon/zhcon-0.2.3/src/display'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/ace/AUR/zhcon/zhcon-0.2.3/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/ace/AUR/zhcon/zhcon-0.2.3'
make: *** [all] 错误 2 |
|